Intermittent browser_ruleview_add-rule_02.js | Test timed out

RESOLVED FIXED in Firefox 33

Status

DevTools
Inspector
RESOLVED FIXED
4 years ago
a month ago

People

(Reporter: Tomcat, Assigned: gl)

Tracking

({intermittent-failure})

unspecified
Firefox 33
x86
Windows 7
intermittent-failure

Firefox Tracking Flags

(firefox31 unaffected, firefox32 unaffected, firefox33 fixed, firefox-esr24 unaffected)

Details

(URL)

(Reporter)

Description

4 years ago
Windows 7 32-bit fx-team opt test mochitest-devtools-chrome on 2014-07-03 01:59:47 PDT for push dac746a07728

slave: t-w732-ix-075

https://tbpl.mozilla.org/php/getParsedLog.php?id=43017524&tree=Fx-Team



TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_add-rule_02.js | Test timed out
(Reporter)

Comment 1

4 years ago
this seems to be related to bug  Bug 966895 - Heather, Gabriel could you take a look here, thanks!
Flags: needinfo?(gabriel.luong)
Flags: needinfo?(fayearthur)
Here is the relevant error message:
    "filename": "resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/styles.js",
    "name": "StyleRuleActor<.modifySelector<",
    "lineNumber": 845,

From this part of the logs:

02:20:31     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/styleinspector/test/browser_ruleview_add-rule_02.js | Entering the commit key
02:20:31     INFO -  console.error:
02:20:31     INFO -  DOMException
02:20:31     INFO -    - prototype DOMExceptionPrototype
02:20:31     INFO -      - ABORT_ERR = 20
02:20:31     INFO -      - DATA_CLONE_ERR = 25
02:20:31     INFO -      - DOMSTRING_SIZE_ERR = 2
02:20:31     INFO -      - HIERARCHY_REQUEST_ERR = 3
02:20:31     INFO -      - INDEX_SIZE_ERR = 1
02:20:31     INFO -      - INUSE_ATTRIBUTE_ERR = 10
02:20:31     INFO -      - INVALID_ACCESS_ERR = 15
02:20:31     INFO -      - INVALID_CHARACTER_ERR = 5
02:20:31     INFO -      - INVALID_MODIFICATION_ERR = 13
02:20:31     INFO -      - INVALID_NODE_TYPE_ERR = 24
02:20:31     INFO -      - INVALID_STATE_ERR = 11
02:20:31     INFO -      - NAMESPACE_ERR = 14
02:20:31     INFO -      - NETWORK_ERR = 19
02:20:31     INFO -      - NOT_FOUND_ERR = 8
02:20:31     INFO -      - NOT_SUPPORTED_ERR = 9
02:20:31     INFO -      - NO_DATA_ALLOWED_ERR = 6
02:20:31     INFO -      - NO_MODIFICATION_ALLOWED_ERR = 7
02:20:31     INFO -      - QUOTA_EXCEEDED_ERR = 22
02:20:31     INFO -      - SECURITY_ERR = 18
02:20:31     INFO -      - SYNTAX_ERR = 12
02:20:31     INFO -      - TIMEOUT_ERR = 23
02:20:31     INFO -      - TYPE_MISMATCH_ERR = 17
02:20:31     INFO -      - URL_MISMATCH_ERR = 21
02:20:31     INFO -      - VALIDATION_ERR = 16
02:20:31     INFO -      - WRONG_DOCUMENT_ERR = 4
02:20:31     INFO -      - code = 12
02:20:31     INFO -      - columnNumber = 0
02:20:31     INFO -      - data = null
02:20:31     INFO -      - filename = resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/styles.js
02:20:31     INFO -      - inner = null
02:20:31     INFO -      - lineNumber = 845
02:20:31     INFO -      - location = {"language":2,"languageName":"JavaScript","filename":"resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/styles.js","name":"StyleRuleActor<.modifySelector<","lineNumber":845,"sourceLine":"","caller":{"language":2,"languageName":"JavaScript","filename":"resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/protocol.js","name":"actorProto/</handler","lineNumber":943,"sourceLine":"","caller":{"language":2,"languageName":"JavaScript","filename":"resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/main.js","name":"DSC_onPacket","lineNumber":1154,"sourceLine":"","caller":{"language":2,"languageName":"JavaScript","filename":"resource://gre/modules/devtools/dbg-client.jsm -> resource://gre/modules/devtools/transport/transport.js","name":"LocalDebuggerTransport.prototype.send/<","lineNumber":544,"sourceLine":"","caller":{"language":2,"languageName":"JavaScript","filename":"resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js","name":"makeInfallible/<","lineNumber":83,"sourceLine":"","caller":{"language":2,"languageName":"JavaScript","filename":"resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js","name":"makeInfallible/<","lineNumber":83,"sourceLine":"","caller":{"language":0,"languageName":"C++","filename":null,"name":null,"lineNumber":0,"sourceLine":"","caller":null}}}}}}}
02:20:31     INFO -      - message = An invalid or illegal string was specified
02:20:31     INFO -      - name = SyntaxError
02:20:31     INFO -      - result = 2152923148
02:20:31     INFO -    - prototype Error
02:20:31     INFO -    - prototype Object
(Reporter)

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(gabriel.luong)
Flags: needinfo?(fayearthur)
Resolution: --- → FIXED
So the error occurs in the StyleRuleActor (in styles.js) in the modifySelector actor method.
Doing 'parentStyleSheet.insertRule(value + " " + ruleText, i);' triggeres a syntax error : "An invalid or illegal string was specified".
Assignee: nobody → gabriel.luong
Blocks: 966895
status-firefox31: --- → unaffected
status-firefox32: --- → unaffected
status-firefox33: --- → fixed
status-firefox-esr24: --- → unaffected
Target Milestone: --- → Firefox 33
Comment hidden (Treeherder Robot)

Updated

a month ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.