DevTools/Features/Debugger: Difference between revisions

Jump to navigation Jump to search
Line 583: Line 583:


== Event Handling ==
== Event Handling ==
* While stopped at the debugger spinning an event loop, we want to prevent event handlers from being processed by content.  
* While stopped at the debugger spinning an event loop, we want to prevent event handlers from being processed by content.
* Right now that's done by firebug using nsDOMWindowUtils.suppressEventHandling().
* Right now that's done by firebug using nsDOMWindowUtils.suppressEventHandling().
* Prevents any interaction with the page at all:  no selecting, scrolling, etc.
* Prevents any interaction with the page at all:  no selecting, scrolling, etc.
* Not sure how it interacts with XHR?  XHR should be queued somehow.
* Would be nice to be able to select/scroll/etc on a stopped page, without allowing content handlers to run.
* Would be nice to be able to select/scroll/etc on a stopped page, without allowing content handlers to run.
* Summary events would need to be sent for scrolling/etc, similar to the focus events currently sent by UnsupressEventHandling().
* Summary events would need to be sent for scrolling/etc, similar to the focus events currently sent by UnsupressEventHandling().
Confirmed users
673

edits

Navigation menu