An invaluable addition to @ChromeDevTools would be an ability to pause at the code which attempts to navigate or reload (most important via `location.href` which cannot, to my knowledge, be captured by monkey-patching). Currently it only can pause on an unload event *handler*.
-
-
Addy suggested an Object.observe() polyfill, using ES6 proxies. I'm going to explore that route. --- kaycehttps://gist.github.com/ebidel/1b553d571f924da2da06 …
-
Well, I tinkered around and couldn't get anything working. So I think you're right, there's no way to monkey patch this... forwarding feedback to the team... --- kayce
-
Actually, @somplylasar, what about just searching for location.href in the global Search tab, and then manually adding a breakpoint on each call?pic.twitter.com/AzXc9EnX7R
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.