Closed
Bug 985425
Opened 11 years ago
Closed 11 years ago
browser_webconsole_bug_601667_filter_buttons.js | A promise chain failed to handle a rejection - TypeError: this.webConsoleClient is null
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 31
People
(Reporter: Yoric, Assigned: msucan)
References
Details
Attachments
(1 file)
7.22 KB,
patch
|
bbenvie
:
review+
|
Details | Diff | Splinter Review |
Once we land bug 976205, the following errors will cause oranges.
04:57:22 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js | A promise chain failed to handle a rejection at resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/webconsole/webconsole.js:411 - TypeError: this.webConsoleClient is null
04:57:22 INFO - Stack trace:
04:57:22 INFO - WCF_setSaveRequestAndResponseBodies@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/webconsole/webconsole.js:411:5
04:57:22 INFO - WCF__initUI/reverseSaveBodiesPref/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/webconsole/webconsole.js:533:46
04:57:22 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:809:11
04:57:22 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:7
For testing, you may wish to import the patch of bug 976205.
Assignee | ||
Comment 1•11 years ago
|
||
Changes:
- the filter buttons test was clicking the 'log network request and response bodies' menu item for no reason. On test end the function responsible for that menuitem command was throwing, due to early disconnect.
- changed the menuitem command handler to not fail in other similar situations.
- the highlighter_console_helper test was failing locally, depending on window size. h1.scrollIntoView() fixed the problem.
Thanks!
Comment 2•11 years ago
|
||
Comment on attachment 8397378 [details] [diff] [review]
bug985425-1.diff
Review of attachment 8397378 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM! Ship it!
Attachment #8397378 -
Flags: review?(bbenvie) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 31
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•