Open
Bug 1192866
Opened 10 years ago
Updated 3 years ago
Throw an exception when a non-top-level window is passed to synthesizeKey
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
NEW
People
(Reporter: enndeakin, Unassigned, Mentored)
Details
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.
| Reporter | ||
Comment 1•9 years ago
|
||
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.
Mentor: enndeakin
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•