Closed
Bug 1060837
Opened 10 years ago
Closed 10 years ago
browser_canvas-frontend-stepping.js leaks 2 windows until shutdown when run in a standalone directory
Categories
(DevTools Graveyard :: Canvas Debugger, defect)
DevTools Graveyard
Canvas Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 obsolete file)
In bug 992911 we are working towards running the browser-chrome tests as single directories instead of larger chunks, this results in some failures. https://tbpl.mozilla.org/?tree=Try&rev=67533dfe9869 TEST-UNEXPECTED-FAIL | browser/devtools/canvasdebugger/test/browser_canvas-frontend-stepping.js | leaked 1 window(s) until shutdown [url = about:blank] TEST-UNEXPECTED-FAIL | browser/devtools/canvasdebugger/test/browser_canvas-frontend-stepping.js | leaked 1 window(s) until shutdown [url = chrome://browser/content/devtools/framework/toolbox.xul]
Assignee | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Comment on attachment 8481829 [details] [diff] [review] 0001-Bug-1060837-Properly-destroy-toolbox-when-removing-t.patch Review of attachment 8481829 [details] [diff] [review]: ----------------------------------------------------------------- If I'm reading the patch correctly, we need to wait for the toolbox to finish closing before the test finishes. There's no guarantee there's an actual toolbox available when removeTab is called (there are tests with multiple tabs, and furthermore, this exact same logic for removeTab is used in almost all devtools head.js files, not just for the canvasdebugger, so the problem seems to be a bit more generic and should affect other tools as well), please make the `teardown` function handle this better, instead of removeTab. Currently, it only waits for the active tool to be closed, not the whole toolbox.
Attachment #8481829 -
Flags: review?(vporof) → review-
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8481829 [details] [diff] [review] 0001-Bug-1060837-Properly-destroy-toolbox-when-removing-t.patch Let's fix that in bug 1060840.
Attachment #8481829 -
Attachment is obsolete: true
Assignee | ||
Comment 4•10 years ago
|
||
Fixed by bug 1060840.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•