287
edits
(about url info) |
(Note about mousewheel and touch events) |
||
Line 73: | Line 73: | ||
One caveat is that BrowserTestUtils.synthesizeMouse currently only synthesizes the mouse in the child process; the real control flow would be to process the mouse event in the parent process and retarget to the child as necessary. This can cause some subtle differences if the child isn't focused. Most tests won't be affects by this. Bug 1240052 is about this issue. | One caveat is that BrowserTestUtils.synthesizeMouse currently only synthesizes the mouse in the child process; the real control flow would be to process the mouse event in the parent process and retarget to the child as necessary. This can cause some subtle differences if the child isn't focused. Most tests won't be affects by this. Bug 1240052 is about this issue. | ||
Note that we don't currently have equivalent functions for mousewheel events or touch events. Once these are available, we can convert and fix tests that use these events. | |||
=== Synthesizing key events === | === Synthesizing key events === |
edits