Closed
Bug 1100662
Opened 10 years ago
Closed 9 years ago
Fix browser_notification_tab_switching.js to work in e10s mode
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 45
People
(Reporter: Gijs, Assigned: jaws)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
7.69 KB,
patch
|
jaws
:
review+
ritu
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This test requires focus to work and does a bunch of direct access to the content window which fails: 765 INFO Console message: [JavaScript Error: "[object CPOW [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/RemoteAddonsChild.jsm :: EventTargetChild.prototype.handleEvent :: line 389" data: no]]" {file: "resource://gre/modules/RemoteAddonsParent.jsm" line: 488}] and causes the test to time out.
Flags: qe-verify-
Flags: in-testsuite+
Flags: firefox-backlog+
Comment 2•9 years ago
|
||
This test has some custom waitForFocus type function, unclear if it is needed or if it can just be changed to use waitForFocus.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
I removed the portion of the test that opened a new window and the associating interaction with file_dom_notifications.html that changed focus to the new window. The test still checks that event.defaultPrevented is true as well as that the tabs are not switched, which should be sufficient.
Attachment #8685130 -
Flags: review?(MattN+bmo)
Assignee | ||
Comment 4•9 years ago
|
||
The head.js changes weren't needed.
Attachment #8685130 -
Attachment is obsolete: true
Attachment #8685130 -
Flags: review?(MattN+bmo)
Attachment #8685134 -
Flags: review?(MattN+bmo)
Assignee | ||
Updated•9 years ago
|
Attachment #8685134 -
Flags: review?(MattN+bmo) → review?(gijskruitbosch+bugs)
Reporter | ||
Comment 5•9 years ago
|
||
Comment on attachment 8685134 [details] [diff] [review] Patch v1.1 Review of attachment 8685134 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8685134 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Backed out for breaking the test: https://treeherder.mozilla.org/logviewer.html#?job_id=5676917&repo=fx-team https://hg.mozilla.org/integration/fx-team/rev/628b7b9e2c69
Flags: needinfo?(jaws)
Assignee | ||
Comment 8•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7ccb6fcc11d2
Assignee | ||
Comment 9•9 years ago
|
||
Although the try run looks pretty noisy, there are no failures for leaving the window around anymore with this tweaked patch.
Attachment #8685134 -
Attachment is obsolete: true
Flags: needinfo?(jaws)
Attachment #8691423 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 10•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0403cb97fb51eb7a05ae2f8091fe031d79ae6ae1 Bug 1100662 - Fix browser_notification_tab_switching.js to work in e10s mode. r=MattN
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 11•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0403cb97fb51
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8691423 [details] [diff] [review] Patch v2 Approval Request Comment [Feature/regressing bug #]: more test coverage for new feature work around push notifications releasing in 44 [User impact if declined]: less test coverage [Describe test coverage new/current, TreeHerder]: this is updating an automated test [Risks and why]: none [String/UUID change made/needed]: none
Attachment #8691423 -
Flags: approval-mozilla-aurora?
Comment on attachment 8691423 [details] [diff] [review] Patch v2 test only change. Aurora44+
Attachment #8691423 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
status-firefox44:
--- → affected
Comment 14•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/cfcf9ab4f705
Comment 15•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/cfcf9ab4f705
status-b2g-v2.5:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•