Closed
Bug 1347238
Opened 7 years ago
Closed 7 years ago
Add a check for rootNode in getAllGrids
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
console.error: Message: TypeError: rootNode is null Stack: getAllGrids@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/layout.js:129:7 onNavigate@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/layout.js:141:17 emitOnObject@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:89:38 _navigate@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/tab.js:1323:5 DebuggerProgressListener.prototype.onStateChange<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/tab.js:1667:9 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8848499 -
Flags: review?(jdescottes) → review?(pbrosset)
Assignee | ||
Comment 2•7 years ago
|
||
Forwarding this to you Patrick since jdescottes is on PTO
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8848499 [details] Bug 1347238 - Add a check for rootNode in getAllGrids. https://reviewboard.mozilla.org/r/121426/#review123960 Do we have tests for these actors? We do have actor tests in \devtools\server\tests\mochitest\. Not sure if this is still the best place for them these days, but I would like to see some tests added to cover these methods. The great thing is we can add tests for edge cases like the one here and make sure these still work in the future. Feel free to add this in another patch.
Attachment #8848499 -
Flags: review?(pbrosset) → review+
Pushed by gabriel.luong@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e7684ec77d04 Add a check for rootNode in getAllGrids. r=pbro
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e7684ec77d04
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•