Closed
Bug 2092058
Opened 13 days ago
Closed 13 days ago
browser_987177_destroyWidget_xul.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_987177_destroyWidget_xul.js ends with its test-XUL-wrapper-destroyWidget toolbarbutton still in gNavToolbox.palette. When the test runs again in the same browser (the upcoming mochitest-repeat jobs), the 2nd run's btn.remove() takes out only the new button, so after CustomizableUI.destroyWidget the old and new wrappers still find the leftover node: "No node should be there on old wrapper." and "No node should be there on new wrapper." fail.
The fix removes the button and destroys the widget at the end of the test.
| Assignee | ||
Comment 1•13 days ago
|
||
The button left in the palette by a first run made the old and new wrappers find a node in a second run.
Pushed by fqueze@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5de4cb60b303
https://hg.mozilla.org/integration/autoland/rev/dca824c24cff
Remove the XUL button and destroy its widget at the end of browser_987177_destroyWidget_xul.js, r=firefox-desktop-core-reviewers ,mossop.
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•