Closed Bug 849015 Opened 8 years ago Closed 3 years ago
UI .dismiss is async and should return a promise
The css transition trigged by the presence/absence of the visible attribute on the #tray element causes dimiss to be async - the element is not its final height and reflow doesn't happen until later. If it returned a promise, tests (and possibly other code) could more reliably wait for the right time to run.
Summary: ContextUI.dimiss is async and should return a promise → ContextUI.dismiss is async and should return a promise
Put this together in case it's needed. Now that we have yield hideContextUI() it may not be necessary.
OS: Windows 8 Metro → Windows 8.1
Mass close of bugs in obsolete product https://bugzilla.mozilla.org/show_bug.cgi?id=1350354
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.