Closed Bug 1086909 Opened 10 years ago Closed 9 years ago

Intermittent browser_ruleview_original-source-link.js | A promise chain failed to handle a rejection: - at resource://app/modules/devtools/SplitView.jsm:208 - TypeError: this._root.ownerDocument.defaultView is null

Categories

(DevTools :: Inspector, defect)

x86
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: intermittent-failure)

https://treeherder.mozilla.org/ui/logviewer.html#?job_id=3175099&repo=mozilla-inbound

builder 	WINNT 6.2 mozilla-inbound opt test mochitest-devtools-chrome
buildid 	20141021084213
builduid 	2e183a068b4b4d07999d9dd5aa584e50
results 	warnings (1)
revision 	317187728774
slave 		t-w864-ix-050
starttime 	Tue Oct 21 2014 13:39:58 GMT-0400 (Eastern Standard Time)

11:02:34 INFO - 8188 INFO TEST-START | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js
11:02:35 INFO - *************************
11:02:35 INFO - A coding exception was thrown in a Promise resolution callback.
11:02:35 INFO - See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise
11:02:35 INFO - Full message: TypeError: this._root.ownerDocument.defaultView is null
11:02:35 INFO - Full stack: ASV_appendItem@resource://app/modules/devtools/SplitView.jsm:208:7
11:02:35 INFO - ASV_appendTemplatedItem@resource://app/modules/devtools/SplitView.jsm:244:5
11:02:35 INFO - StyleEditorUI.prototype._sourceLoaded@resource://app/modules/devtools/StyleEditorUI.jsm:438:1
11:02:35 INFO - StyleSheetEditor.prototype.fetchSource/</<@resource:///modules/devtools/StyleSheetEditor.jsm:251:11
11:02:35 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23
11:02:35 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
11:02:35 INFO - *************************
11:02:35 INFO - 8189 INFO checking window state
11:02:35 INFO - 8190 INFO Setting the devtools.styleeditor.source-maps-enabled pref to true
11:02:35 INFO - 8191 INFO Opening the test page and opening the inspector
11:02:35 INFO - 8192 INFO Adding a new tab with URL: 'http://example.com/browser/browser/devtools/styleinspector/test/doc_sourcemaps.html'
11:02:35 INFO - 8193 INFO Loading the helper frame script chrome://mochitests/content/browser/browser/devtools/styleinspector/test/doc_frame_script.js
11:02:35 INFO - 8194 INFO Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/browser/devtools/styleinspector/test/doc_sourcemaps.html" line: 0}]
11:02:35 INFO - 8195 INFO URL 'http://example.com/browser/browser/devtools/styleinspector/test/doc_sourcemaps.html' loading complete
11:02:35 INFO - 8196 INFO Opening the inspector
11:02:35 INFO - 8197 INFO Opening the toolbox
11:02:35 INFO - 8198 INFO Console message: [JavaScript Warning: "XUL box for hbox element contained an inline span child, forcing all its children to be wrapped in a block." {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/highlighter.js" line: 629}]
11:02:35 INFO - 8199 INFO Making sure that the toolbox's frame is focused
11:02:35 INFO - 8200 INFO Waiting for the inspector to update
11:02:35 INFO - 8201 INFO Selecting the ruleview sidebar
11:02:35 INFO - 8202 INFO Selecting the test node
11:02:35 INFO - 8203 INFO Selecting the node for 'div'
11:02:35 INFO - 8204 INFO Verifying that the rule-view stylesheet link is doc_sourcemaps.scss:4
11:02:35 INFO - 8205 INFO TEST-PASS | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js | Validator function Link text changed to display correct location: doc_sourcemaps.scss:4 returned true
11:02:35 INFO - 8206 INFO Setting the devtools.styleeditor.source-maps-enabled pref to false
11:02:35 INFO - 8207 INFO Verifying that the rule-view stylesheet link is doc_sourcemaps.css:1
11:02:35 INFO - 8208 INFO TEST-PASS | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js | Validator function Link text changed to display correct location: doc_sourcemaps.css:1 returned true
11:02:35 INFO - 8209 INFO Setting the devtools.styleeditor.source-maps-enabled pref to true again
11:02:35 INFO - 8210 INFO Listening for switch to the style editor
11:02:35 INFO - 8211 INFO Finding the stylesheet link and clicking it
11:02:35 INFO - 8212 INFO Console message: [JavaScript Warning: "XUL box for h3 element contained an inline #text child, forcing all its children to be wrapped in a block." {file: "chrome://browser/content/devtools/styleeditor.xul" line: 0}]
11:02:35 INFO - 8213 INFO Original source editor selected
11:02:35 INFO - 8214 INFO TEST-PASS | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js | selected stylesheet is correct one
11:02:35 INFO - 8215 INFO TEST-PASS | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js | cursor is at correct line number in original source
11:02:35 INFO - 8216 INFO Clearing the devtools.styleeditor.source-maps-enabled pref
11:02:35 INFO - 8217 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js | A promise chain failed to handle a rejection: - at resource://app/modules/devtools/SplitView.jsm:208 - TypeError: this._root.ownerDocument.defaultView is null
11:02:35 INFO - Stack trace:
11:02:35 INFO - ASV_appendItem@resource://app/modules/devtools/SplitView.jsm:208:7
11:02:35 INFO - ASV_appendTemplatedItem@resource://app/modules/devtools/SplitView.jsm:244:5
11:02:35 INFO - StyleEditorUI.prototype._sourceLoaded@resource://app/modules/devtools/StyleEditorUI.jsm:438:1
11:02:35 INFO - StyleSheetEditor.prototype.fetchSource/</<@resource:///modules/devtools/StyleSheetEditor.jsm:251:11
11:02:35 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23
11:02:35 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
11:02:35 INFO - testScope/test_finish/<@chrome://mochikit/content/browser-test.js:957:11
11:02:35 INFO - testScope/test_executeSoon/<.run@chrome://mochikit/content/browser-test.js:859:9
11:02:35 INFO - 8218 INFO TEST-OK | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_original-source-link.js | took 1511ms
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.