Closed
Bug 1489934
Opened 7 years ago
Closed 7 years ago
accessible/tests/browser/events/browser_test_docload.js calls waitForEvents incorrectly
Categories
(Core :: Disability Access APIs, enhancement, P3)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: Jamie, Assigned: MarcoZ)
Details
Attachments
(1 file)
Bug 1378257 changed waitForEvents (in accessible/tests/browser/events.js) so that instead of taking a separate argument for unexpected events:
-function waitForEvents(events, unexpected = [], ordered = false) {
it now takes both lists of events as a single argument:
+function waitForEvents(events, ordered = false) {
+ let expected = events.expected || events;
+ let unexpected = events.unexpected || [];
It looks like an existing test at that time wasn't updated:
https://searchfox.org/mozilla-central/source/accessible/tests/browser/events/browser_test_docload.js#38
It still calls waitForEvents with two lists:
let onLoadEvents = waitForEvents([
[EVENT_REORDER, getAccessible(browser)],
...
], [ // unexpected
[EVENT_DOCUMENT_LOAD_COMPLETE, inIframeChecker("iframe1")],
...
| Reporter | ||
Updated•7 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
Comment on attachment 9007704 [details]
Bug 1489934 - accessible/tests/browser/events/browser_test_docload.js calls waitForEvents incorrectly, r=jamie
James Teh [:Jamie] has approved the revision.
Attachment #9007704 -
Flags: review+
Pushed by mzehe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/83022b462d0b
accessible/tests/browser/events/browser_test_docload.js calls waitForEvents incorrectly, r=Jamie
Comment 4•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•7 years ago
|
Assignee: nobody → mzehe
You need to log in
before you can comment on or make changes to this bug.
Description
•