Closed
Bug 991075
Opened 11 years ago
Closed 10 years ago
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/framework/test/browser_keybindings.js | A promise chain failed to handle a rejection at resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/framework
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 33
People
(Reporter: Yoric, Assigned: jsantell)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
jsantell
:
review+
|
Details | Diff | Splinter Review |
Once bug 991040 lands, the following error will cause will cause oranges:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/framework/test/browser_keybindings.js | A promise chain failed to handle a rejection at resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/framework/toolbox.js:872 - TypeError: this.doc is undefined
1:14.26 Stack trace:
1:14.26 Toolbox.prototype.focusTool@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/framework/toolbox.js:872:1
1:14.26 Toolbox.prototype.selectTool/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/framework/toolbox.js:858:7
1:14.26 Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:821:11
1:14.26 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:700:7
I suggest applying the patch of bug 991040 to reproduce.
Reporter | ||
Comment 1•11 years ago
|
||
I have no clear understanding of what is going on.
Paul, could you assign this to someone?
Flags: needinfo?(paul)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jsantell
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8439594 -
Flags: review?(jryans)
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(paul)
Comment on attachment 8439594 [details] [diff] [review]
991075-framework-promises.patch
Review of attachment 8439594 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/framework/test/browser_keybindings.js
@@ +73,5 @@
> keysetMap.inspector.synthesizeKey();
>
> aToolbox.once("picker-stopped", () => {
> ok(true, "picker-stopped event received, highlighter stopped");
> + gDevTools.once("select-tool-command", () => {
Do you need |gDevTools.once| here *and* inside |webconsoleShouldBeSelected|? Seems like one or other would suffice... This applies to the debugger and netmonitor cases too.
Attachment #8439594 -
Flags: review?(jryans) → review+
Assignee | ||
Comment 4•10 years ago
|
||
It's for the cascading tools -- inspectorShouldBeOpenAndHighlighting has the |gDevTools.once| for the selection of webconsole, and webconsoleShouldBe... has |gDevTools.once| for the debugger, etc.
(In reply to Jordan Santell [:jsantell] [@jsantell] from comment #4)
> It's for the cascading tools -- inspectorShouldBeOpenAndHighlighting has the
> |gDevTools.once| for the selection of webconsole, and webconsoleShouldBe...
> has |gDevTools.once| for the debugger, etc.
Ah okay, makes sense.
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8439594 -
Attachment is obsolete: true
Attachment #8439621 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•10 years ago
|
||
Comment 10•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 11•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•