Closed Bug 1420319 Opened 7 years ago Closed 7 years ago

Wait for the next event tick in browser/components/extensions/test/browser/browser_ext_optionsPage_modals.js

Categories

(Firefox :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 59
Tracking Status
firefox59 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

browser/components/extensions/test/browser/browser_ext_optionsPage_modals.js > FAIL | browser/components/extensions/test/browser/browser_ext_optionsPage_modals.js | Expect a tab modal opened for the about addons tab - 0 == 1 The testcase should wait for the next event tick before resolving promise for DOMWillOpenModalDialog event.
the test should wait for the next event tick before resolving the promise inside DOMWillOpenModalDialog event handler, to avoid the remaining part of the testcase runs before the dialog gets opened, after the change in bug 1193394.
Attachment #8933508 - Flags: review?(jaws)
Attachment #8933508 - Flags: review?(jaws) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/0f60eb7eeb88b271a33af7caee4647a92c479aef Bug 1420319 - Wait for the next event tick before resolving promise in browser_ext_optionsPage_modals.js. r=jaws
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: