Closed
Bug 1383709
Opened 7 years ago
Closed 7 years ago
Perma failure when 56 merges to beta in browser_notification_open_settings.js | Test timed out -
Categories
(Firefox :: Settings UI, defect)
Firefox
Settings UI
Tracking
()
RESOLVED
FIXED
Firefox 56
People
(Reporter: cbook, Assigned: jaws)
References
()
Details
Attachments
(1 file)
[Tracking Requested - why for this release]:
found via uplift simulations: -> https://treeherder.mozilla.org/logviewer.html#?job_id=116862210&repo=try
TEST-UNEXPECTED-FAIL | browser/base/content/test/alerts/browser_notification_open_settings.js | Test timed out -
this is a very frequent failure in the uplift simulations so need to be fixed before 56 merges to beta next week.
Maybe from Bug 1381944 ?
Reporter | ||
Comment 1•7 years ago
|
||
Mike, Jared: could you take a look ? Thanks!
Flags: needinfo?(mconley)
Flags: needinfo?(jaws)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Flags: needinfo?(mconley)
Flags: needinfo?(jaws)
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
Track 56+ as this may affect 56 merging to beta.
status-firefox56:
--- → affected
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8889664 [details]
Bug 1383709 - Don't wait for the sync-pane-loaded notification in old prefs since it won't be fired when only viewing the Content pane.
https://reviewboard.mozilla.org/r/160728/#review166780
::: browser/base/content/test/alerts/browser_notification_open_settings.js:20
(Diff revision 1)
> - // Ensure preferences is loaded before removing the tab.
> - let syncPaneLoadedPromise = TestUtils.topicObserved("sync-pane-loaded", () => true);
> + // Ensure preferences is loaded before removing the tab. In the "new prefs", all categories
> + // get initialized on page load since we need to be able to search them. Sync is *very*
> + // slow to load and therefore we need to wait for it to load when testing the "new prefs".
> + // For "old prefs" we only load the actual visited categories so we don't have this problem,
> + // as well, the "sync-pane-loaded" notification is not sent on "old prefs".
> + let syncPaneLoadedPromise = useOldPrefs || TestUtils.topicObserved("sync-pane-loaded", () => true);
TIL you can `await` a non-Promise and it'll be automatically coerced into a resolved Promise. Neat!
Attachment #8889664 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 5•7 years ago
|
||
Indeed!
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/35b75b53f9d3
Don't wait for the sync-pane-loaded notification in old prefs since it won't be fired when only viewing the Content pane. r=mconley
Comment 7•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•