Closed
Bug 1377358
Opened 9 years ago
Closed 9 years ago
browser/components/extensions/test/browser/browser_ext_tabs_onUpdated.js fails when Activity Stream is enabled
Categories
(Firefox Graveyard :: Activity Streams: General, enhancement)
Firefox Graveyard
Activity Streams: General
Tracking
(firefox56 fixed)
RESOLVED
FIXED
Firefox 56
| Tracking | Status | |
|---|---|---|
| firefox56 | --- | fixed |
People
(Reporter: ursula, Assigned: ursula)
Details
Attachments
(2 files)
We're now loading about:newtab in the content process when activity stream is enabled, and this causes some raciness to happen in this test. We'll check if the url is about:newtab and return early out of the callback to fix this.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → usarracini
| Comment hidden (mozreview-request) |
Comment 2•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8882462 [details]
Bug 1377358 - browser/components/extensions/test/browser/browser_ext_tabs_onUpdated.js fails when Activity Stream is enabled
https://reviewboard.mozilla.org/r/153590/#review159034
::: browser/components/extensions/test/browser/browser_ext_tabs_onUpdated.js:162
(Diff revision 1)
> - browser.test.log("onUpdate: " + JSON.stringify(changeInfo));
> if ("url" in changeInfo) {
> + // When activity stream is enabled, about:newtab runs in the content process
> + // which causes some timing issues for onUpdated. So if we encounter
> + // about:newtab, we return early out of the callback.
> + if ("about:newtab" === changeInfo.url) {
We should still get the correct onUpdated event for about:blank after this, so we just need to return early from the listener, but not remove the listener or end the test.
Attachment #8882462 -
Flags: review?(kmaglione+bmo)
| Comment hidden (mozreview-request) |
Comment 4•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8882844 [details]
Bug 1377358 - browser/components/extensions/test/browser/browser_ext_tabs_onUpdated.js fails when Activity Stream is enabled.
https://reviewboard.mozilla.org/r/153908/#review159036
Attachment #8882844 -
Flags: review?(kmaglione+bmo) → review+
Pushed by edilee@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/39754f1db01c
browser/components/extensions/test/browser/browser_ext_tabs_onUpdated.js fails when Activity Stream is enabled. r=kmag
Pushed by philringnalda@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8ecee4458990
followup, pacify eslint
Comment 7•9 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/39754f1db01c
https://hg.mozilla.org/mozilla-central/rev/8ecee4458990
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Updated•2 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•