Closed
Bug 1382661
Opened 7 years ago
Closed 7 years ago
Stop adding "DeveloperToolbar" to top level window object
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, enhancement, P3)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(firefox56 fixed)
RESOLVED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
a DeveloperToolbar attribute is being set on all browser.xul window object. It appears to be an issue as these are reported as leaks during mochitest if we load devtools more lazily, like in bug 1359855. Instead we should retrieve this "per window singleton" via some API on some devtools module.
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Assignee: nobody → poirot.alex
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8888302 [details] Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. https://reviewboard.mozilla.org/r/159254/#review164888 Looks good, r+ with a green try
Attachment #8888302 -
Flags: review?(jdescottes) → review+
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8888302 [details] Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. https://reviewboard.mozilla.org/r/159254/#review165036 ::: devtools/client/shared/test/browser_toolbar_webconsole_errors_count.js:32 (Diff revision 1) > }); > > ignoreAllUncaughtExceptions(); > addTab(TEST_URI).then(openToolbar); > > + let toolbar = gDevToolsBrowser.getDeveloperToolbar(window); Looks like this test is failing locally and on try. > 21 INFO TEST-UNEXPECTED-FAIL | devtools/client/shared/test/browser_toolbar_webconsole_errors_count.js | > This test contains no passes, no fails and no todos. Maybe it threw a silent exception? > Make sure you use waitForExplicitFinish() if you need it. -
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•7 years ago
|
||
Test fixed: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c811f18f417a
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac0b38e56614 Stop injecting DeveloperToolbar on top level windows. r=jdescottes
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ac0b38e56614
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•