Give browser_bug1058164.js a copy of BrowserTestUtils.addContentEventListener()
Categories
(Core :: DOM: Content Processes, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(3 files)
Bug 1586393 will change BrowserTestUtils.addContentEventListener() to not use the message manager to listen for events, but browser_bug1058164.js is specifically interested in testing if frame scripts get certain messages. Thus to ensure that the test still does what it does, I'll first give the test its own copy of the message manager based addContentEventListener().
Assignee | ||
Comment 1•6 years ago
|
||
browser_bug1058164 wants to test the behavior of event handling for
frame scripts using BrowserTestUtils.addContentEventListener(). In bug
1586393, I'm changing addContentEventListener() to not use frame
scripts, so this test will no longer be testing that. To work around
that, I'm making a copy of that method specific to the test.
Assignee | ||
Comment 2•6 years ago
|
||
browser_bug1058164.js doesn't need the full generality, so trim it
down a bit.
Assignee | ||
Comment 3•6 years ago
|
||
Eslint complains about this, so fix it.
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/49160d42e538
https://hg.mozilla.org/mozilla-central/rev/95c627a860ac
https://hg.mozilla.org/mozilla-central/rev/ee8f4b063c89
Description
•