Closed
Bug 1421116
Opened 7 years ago
Closed 7 years ago
Wait for the next event tick before resolving promise in browser_translation_exceptions.js.
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b5800bb624450f22893e4918d653b3dbe231c4ac&selectedJob=147752981 > FAIL | browser/components/translation/test/browser_translation_exceptions.js | The language exceptions list has 2 items > Got 0, expected 2 Stack trace: chrome://mochikit/content/browser-test.js:test_is:1269 chrome://mochitests/content/browser/browser/components/translation/test/browser_translation_exceptions.js:checkLanguageExceptions:230 after fixing bug 1193394, the test needs to wait for the next event tick before resolving promise in popupshown and load events, to make sure everything gets ready.
Assignee | ||
Comment 1•7 years ago
|
||
openPopup and waitForWindowLoad should wait for the next event tick before resolving the promise inside popupshwon/load event handler, to avoid the remaining part of the testcase runs unexpectedly earlier, after the change in bug 1193394.
Attachment #8932839 -
Flags: review?(dtownsend)
Updated•7 years ago
|
Attachment #8932839 -
Flags: review?(dtownsend) → review+
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e1dde9d5f00d Wait for the next event tick before resolving promise in browser_translation_exceptions.js. r=Mossop
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e1dde9d5f00d8de64a5fadb1bee0ccb97e0140c8 Bug 1421116 - Wait for the next event tick before resolving promise in browser_translation_exceptions.js. r=Mossop
Backout by dluca@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e23e0f1c6cb4 Backed out changeset e1dde9d5f00d for failing browser-chrome's browser/base/content/test/permissions/browser_temporary_permissions_expiry.js on Windows 7 debug without e10s r=backout on a CLOSED TREE
Comment 5•7 years ago
|
||
Backed out changeset 56343b0de5c2 (bug 1424083) for failing browser-chrome's browser/base/content/test/permissions/browser_temporary_permissions_expiry.js on Windows 7 debug without e10s r=backout on a CLOSED TREE Failure push: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=1c819b56fe973b077d64737db186b066850e1197 Failure log: https://hg.mozilla.org/integration/mozilla-inbound/rev/a73f5a62f971efb9afa3b2e70b5d01b447ba3ed3 Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/a73f5a62f971efb9afa3b2e70b5d01b447ba3ed3
Flags: needinfo?(arai.unmht)
Comment 6•7 years ago
|
||
Sorry, for the above comment, the right backout is: https://hg.mozilla.org/integration/mozilla-inbound/rev/e23e0f1c6cb4407c7e9209325908bec834b24f96
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(arai.unmht)
Assignee | ||
Comment 7•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/dc9d268b900e697bb079eef61ad373342ed55ff4 Bug 1421116 - Wait for the next event tick before resolving promise in browser_translation_exceptions.js. r=Mossop
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dc9d268b900e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
You need to log in
before you can comment on or make changes to this bug.
Description
•