Closed
Bug 2092060
Opened 15 days ago
Closed 14 days ago
browser_993322_widget_notoolbar.js fails when run twice in the same browser
Categories
(Firefox :: Toolbars and Customization, task)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
162 Branch
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
Details
Attachments
(1 external file)
browser/components/customizableui/test/browser_993322_widget_notoolbar.js creates and destroys an API widget. CustomizableUI keeps destroyed widget ids in gSeenWidgets and treats them as no longer existing, so on a second run in the same browser addWidgetToArea doesn't place the widget and the test throws can't access property "area" on the result of getPlacementOfWidget.
This shows up in the upcoming mochitest-repeat jobs on all desktop platforms. The fix removes the widget id from gSeenWidgets at the end of the test.
| Assignee | ||
Comment 1•15 days ago
|
||
Pushed by fqueze@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/007460942bee
https://hg.mozilla.org/integration/autoland/rev/25e1c349c842
Forget the test widget's seen state in browser_993322_widget_notoolbar.js, so it passes when run twice, r=firefox-desktop-core-reviewers ,mossop.
Status: ASSIGNED → RESOLVED
Closed: 14 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Updated•6 hours ago
|
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in
before you can comment on or make changes to this bug.
Description
•