Open Bug 1192866 Opened 4 years ago Updated 4 years ago
Throw an exception when a non-top-level window is passed to synthesize
The aWindow argument to synthesizeKey should only be supplied with top-level windows. The argument should only be supplied when a test uses multiple windows. Update the documentation to clarify this and throw an exception if a child window is supplied. Some tests currently pass child windows and fail in e10s because this won't work. These tests should instead not pass anything.
Ran a build that throws an exception when a non-top-level window is passed to synthesizeKey. https://treeherder.mozilla.org/#/jobs?repo=try&revision=25b48276baa4 It shows the tests that need to be fixed up.
You need to log in before you can comment on or make changes to this bug.