Closed Bug 820818 Opened 12 years ago Closed 12 years ago

Intermittent styleinspector/test/browser_ruleview_focus.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIPrefBranch.setCharPref] at InspectorPanel.jsm:163

Categories

(DevTools :: Inspector, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: intermittent-failure)

Rev5 MacOSX Mountain Lion 10.8 mozilla-inbound opt test mochitest-browser-chrome on 2012-12-11 15:40:09 PST for push 9602f98a6a70

slave: talos-mtnlion-r5-058

https://tbpl.mozilla.org/php/getParsedLog.php?id=17840876&tree=Mozilla-Inbound

{
TEST-START | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_focus.js
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_focus.js | 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: "data:text/html,<h1>Some%20header%20text</h1>" line: 0}]
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_focus.js | 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/devtools/Highlighter.jsm" line: 433}]
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_focus.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIPrefBranch.setCharPref] at resource://gre/modules/devtools/InspectorPanel.jsm:163
Stack trace:
    JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1065
    native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
}
Summary: Intermittent → Intermittent styleinspector/test/browser_ruleview_focus.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIPrefBranch.setCharPref] at InspectorPanel.jsm:163
Blocks: 820315
https://tbpl.mozilla.org/php/getParsedLog.php?id=17850816&tree=Mozilla-Inbound
This exception is thrown by the line:
Services.prefs.setCharPref("devtools.inspector.activeSidebar", toolId);

But firefox.js contains:
pref("devtools.inspector.activeSidebar", "ruleview");

So the only thing that makes sense is that toolId is sometimes undefined. I suspect that this is fixed by recent sidebar initialization fixes.
Comment 9 is a timeout, the others are an actual failure
Otherwise no failures in 3 months, with a possible explanation of a fix in comment 8
So I'm calling this fixed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.