Closed Bug 1237531 Opened 9 years ago Closed 2 years ago

Intermittent browser_rules_add-property-cancel_02.js | Correct element has focus - Got [object HTMLBodyElement], expected [object HTMLSpanElement]

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: nigelb, Unassigned)

References

()

Details

(Keywords: intermittent-failure, Whiteboard: [btpp-backlog])

https://treeherder.mozilla.org/logviewer.html#?job_id=19413877&repo=mozilla-inbound 20:24:29 INFO - 142 INFO TEST-PASS | devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js | Created a property editor. - 20:24:29 INFO - 143 INFO TEST-PASS | devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js | Editing the value span now. - 20:24:29 INFO - 144 INFO Entering a property value 20:24:29 INFO - 145 INFO Escaping out of the field 20:24:29 INFO - 146 INFO Console message: [JavaScript Warning: "Expected color but found ';'. Error in parsing value for 'color'. Declaration dropped." {file: "data:text/html;charset=utf-8,%0A%20%20%3Cstyle%20type%3D'text%2Fcss'%3E%0A%20%20%20%20%23testid%20%7B%0A%20%20%20%20%20%20background-color%3A%20blue%3B%0A%20%20%20%20%7D%0A%20%20%3C%2Fstyle%3E%0A%20%20%3Cdiv%20id%3D'testid'%3EStyled%20Node%3C%2Fdiv%3E%0A" line: 5 column: 13 source: " color: ;"}] 20:24:29 INFO - 147 INFO TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js | Correct element has focus - Got [object HTMLBodyElement], expected [object HTMLSpanElement] 20:24:29 INFO - Stack trace: 20:24:29 INFO - chrome://mochikit/content/browser-test.js:test_is:979 20:24:29 INFO - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js:null:62 20:24:29 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:803:9 20:24:29 INFO - Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:723:7 20:24:29 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:735:59 20:24:29 INFO - Not taking screenshot here: see the one that was previously logged 20:24:29 INFO - 148 INFO TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js | Removed the new text property. - Got 2, expected 1 20:24:29 INFO - Stack trace: 20:24:29 INFO - chrome://mochikit/content/browser-test.js:test_is:979 20:24:29 INFO - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js:null:65 20:24:29 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:803:9 20:24:29 INFO - Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:723:7 20:24:29 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:735:59 20:24:29 INFO - Not taking screenshot here: see the one that was previously logged 20:24:29 INFO - 149 INFO TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js | Removed the property editor. - Got 2, expected 1 20:24:29 INFO - Stack trace: 20:24:29 INFO - chrome://mochikit/content/browser-test.js:test_is:979 20:24:29 INFO - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js:null:67 20:24:29 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:803:9 20:24:29 INFO - Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:723:7 20:24:29 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:735:59 20:24:29 INFO - 150 INFO Leaving test 20:24:29 INFO - 151 INFO Console message: [JavaScript Warning: "Expected color but found ';'. Error in parsing value for 'color'. Declaration dropped." {file: "data:text/html;charset=utf-8,%0A%20%20%3Cstyle%20type%3D'text%2Fcss'%3E%0A%20%20%20%20%23testid%20%7B%0A%20%20%20%20%20%20background-color%3A%20blue%3B%0A%20%20%20%20%7D%0A%20%20%3C%2Fstyle%3E%0A%20%20%3Cdiv%20id%3D'testid'%3EStyled%20Node%3C%2Fdiv%3E%0A" line: 5 column: 13 source: " color: ;"}] 20:24:29 INFO - --DOCSHELL 1CEDF800 == 29 [pid = 2468] [id = 51] 20:24:29 INFO - --DOCSHELL 1CEE0000 == 28 [pid = 2468] [id = 52] 20:24:29 INFO - --DOCSHELL 16EA5000 == 27 [pid = 2468] [id = 50] 20:24:29 INFO - --DOCSHELL 1CEE9000 == 26 [pid = 2468] [id = 53] 20:24:29 INFO - --DOCSHELL 1D243400 == 25 [pid = 2468] [id = 55] 20:24:29 INFO - --DOCSHELL 1B399400 == 24 [pid = 2468] [id = 49] 20:24:29 INFO - console.error: 20:24:29 INFO - Message: Error: Connection closed, pending request to server1.conn2.child1/domstylerule40, type setRuleText failed 20:24:29 INFO - Request stack: 20:24:29 INFO - Front<.request@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:1178:7 20:24:29 INFO - frontProto/</proto[name]@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:1338:14 20:24:29 INFO - StyleRuleFront<.setRuleText<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1827:12 20:24:29 INFO - RuleRewriter.prototype.apply/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/css-parsing-utils.js:950:14 20:24:29 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23 20:24:29 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7 20:24:29 INFO - Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:743:11 20:24:29 INFO - this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:775:7 20:24:29 INFO - Promise.prototype.then@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:450:5 20:24:29 INFO - Rule.prototype.applyProperties@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/rules/rules.js:731:9 20:24:29 INFO - Rule.prototype.removeProperty@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/rules/rules.js:848:5 20:24:29 INFO - TextProperty.prototype.remove@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/rules/rules.js:1234:5 20:24:29 INFO - TextPropertyEditor.prototype.remove@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/rules/rules.js:3732:5 20:24:29 INFO - TextPropertyEditor.prototype._onValueDone/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/rules/rules.js:3783:11 20:24:29 INFO - setTimeout_timer@resource://gre/modules/Timer.jsm:30:5 20:24:29 INFO - Stack: 20:24:29 INFO - Front<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:1125:23 20:24:29 INFO - StyleRuleFront<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1653:5 20:24:30 INFO - Pool<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:820:9 20:24:30 INFO - Front<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:1127:5 20:24:30 INFO - PageStyleFront<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/styles.js:1025:5 20:24:30 INFO - Pool<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:820:9 20:24:30 INFO - Front<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/protocol.js:1127:5 20:24:30 INFO - exports.InspectorFront<.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/inspector.js:3919:5 20:24:30 INFO - Toolbox.prototype.destroyInspector/this._destroyingInspector<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1834:13 20:24:30 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:315:40 20:24:30 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23 20:24:30 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7 20:24:30 INFO - Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:743:11 20:24:30 INFO - this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:775:7 20:24:30 INFO - Promise.prototype.then@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:450:5 20:24:30 INFO - TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:391:7 20:24:30 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:323:13 20:24:30 INFO - TaskImpl@resource://gre/modules/Task.jsm:276:3 20:24:30 INFO - createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14 20:24:30 INFO - Toolbox.prototype.destroyInspector/this._destroyingInspector<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1833:13 20:24:30 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:315:40 20:24:30 INFO - TaskImpl@resource://gre/modules/Task.jsm:276:3 20:24:30 INFO - createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14 20:24:30 INFO - Task_spawn@resource://gre/modules/Task.jsm:164:12 20:24:30 INFO - Toolbox.prototype.destroyInspector@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1818:40 20:24:30 INFO - Toolbox.prototype.destroy@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:1944:22 20:24:30 INFO - DT_closeToolbox@resource://devtools/client/framework/gDevTools.jsm:464:12 20:24:30 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/rules/test/head.js:34:9 20:24:30 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:315:40 20:24:30 INFO - TaskImpl@resource://gre/modules/Task.jsm:276:3 20:24:30 INFO - createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14 20:24:30 INFO - Task_spawn@resource://gre/modules/Task.jsm:164:12 20:24:30 INFO - TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:384:16 20:24:30 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:323:13 20:24:30 INFO - TaskImpl@resource://gre/modules/Task.jsm:276:3 20:24:30 INFO - createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14 20:24:30 INFO - testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1074:11 20:24:30 INFO - testScope/test_executeSoon/<.run@chrome://mochikit/content/browser-test.js:1005:9 20:24:30 INFO - JavaScript error: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/animationinspector/utils.js, line 82: IndexSizeError: Index or size is negative or greater than the allowed amount 20:24:30 INFO - 152 INFO Console message: [JavaScript Error: "IndexSizeError: Index or size is negative or greater than the allowed amount" {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/animationinspector/utils.js" line: 82}] 20:24:30 INFO - --DOCSHELL 12385C00 == 23 [pid = 2468] [id = 27] 20:24:30 INFO - --DOCSHELL 1CF85400 == 22 [pid = 2468] [id = 54] 20:24:30 INFO - --DOCSHELL 12150000 == 21 [pid = 2468] [id = 26] 20:24:30 INFO - --DOCSHELL 12274000 == 20 [pid = 2468] [id = 42] 20:24:30 INFO - --DOCSHELL 16EA6400 == 19 [pid = 2468] [id = 29] 20:24:30 INFO - --DOCSHELL 1765A000 == 18 [pid = 2468] [id = 43] 20:24:30 INFO - --DOCSHELL 16EF5000 == 17 [pid = 2468] [id = 30] 20:24:30 INFO - --DOCSHELL 16EF5800 == 16 [pid = 2468] [id = 31] 20:24:30 INFO - --DOCSHELL 16F6E800 == 15 [pid = 2468] [id = 32] 20:24:30 INFO - --DOCSHELL 16F6F000 == 14 [pid = 2468] [id = 33] 20:24:30 INFO - --DOMWINDOW == 86 (1D678400) [pid = 2468] [serial = 23] [outer = 00000000] [url = chrome://devtools/content/framework/toolbox.xul] 20:24:30 INFO - --DOMWINDOW == 85 (24911C00) [pid = 2468] [serial = 53] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/mdn-docs-frame.xhtml] 20:24:30 INFO - --DOMWINDOW == 84 (2490F400) [pid = 2468] [serial = 52] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/mdn-docs-frame.xhtml] 20:24:30 INFO - --DOMWINDOW == 83 (22837800) [pid = 2468] [serial = 39] [outer = 00000000] [url = chrome://devtools/content/inspector/computed/computed.xhtml] 20:24:30 INFO - --DOMWINDOW == 82 (1F9D0400) [pid = 2468] [serial = 38] [outer = 00000000] [url = chrome://devtools/content/inspector/rules/rules.xhtml] 20:24:30 INFO - --DOMWINDOW == 81 (1DEAE800) [pid = 2468] [serial = 32] [outer = 00000000] [url = about:blank] 20:24:30 INFO - --DOMWINDOW == 80 (1D49F000) [pid = 2468] [serial = 30] [outer = 00000000] [url = about:blank] 20:24:30 INFO - --DOMWINDOW == 79 (12153400) [pid = 2468] [serial = 59] [outer = 00000000] [url = about:blank] 20:24:30 INFO - --DOMWINDOW == 78 (19AAA800) [pid = 2468] [serial = 88] [outer = 00000000] [url = data:text/html,<html></html>] 20:24:30 INFO - --DOMWINDOW == 77 (16F8EC00) [pid = 2468] [serial = 82] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/mdn-docs-frame.xhtml] 20:24:30 INFO - --DOMWINDOW == 76 (191C2400) [pid = 2468] [serial = 79] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/filter-frame.xhtml] 20:24:30 INFO - --DOMWINDOW == 75 (18F3B000) [pid = 2468] [serial = 78] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/cubic-bezier-frame.xhtml] 20:24:30 INFO - --DOMWINDOW == 74 (18F39C00) [pid = 2468] [serial = 77] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/spectrum-frame.xhtml] 20:24:30 INFO - --DOMWINDOW == 73 (16F72C00) [pid = 2468] [serial = 76] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/mdn-docs-frame.xhtml] 20:24:30 INFO - --DOMWINDOW == 72 (16F6EC00) [pid = 2468] [serial = 68] [outer = 00000000] [url = chrome://devtools/content/inspector/layout/layout.xhtml] 20:24:30 INFO - --DOMWINDOW == 71 (16EF5400) [pid = 2468] [serial = 66] [outer = 00000000] [url = chrome://devtools/content/inspector/computed/computed.xhtml] 20:24:30 INFO - --DOMWINDOW == 70 (13D76800) [pid = 2468] [serial = 63] [outer = 00000000] [url = chrome://devtools/content/markupview/markup-view.xhtml] 20:24:30 INFO - --DOMWINDOW == 69 (16F6F400) [pid = 2468] [serial = 69] [outer = 00000000] [url = chrome://devtools/content/animationinspector/animation-inspector.xhtml] 20:24:30 INFO - --DOMWINDOW == 68 (16EF5C00) [pid = 2468] [serial = 67] [outer = 00000000] [url = chrome://devtools/content/inspector/fonts/fonts.xhtml] 20:24:30 INFO - --DOMWINDOW == 67 (16EAAC00) [pid = 2468] [serial = 65] [outer = 00000000] [url = chrome://devtools/content/inspector/rules/rules.xhtml] 20:24:30 INFO - --DOMWINDOW == 66 (1D134400) [pid = 2468] [serial = 112] [outer = 00000000] [url = data:text/html,<html></html>] 20:24:30 INFO - --DOMWINDOW == 65 (18AD4800) [pid = 2468] [serial = 75] [outer = 00000000] [url = data:text/html;charset=utf8,<!DOCTYPE%20html><html%20dir='ltr'>%20%20<head>%20%20%20%20<style>%20%20%20%20%20%20html,%20body%20{%20height:%20100%;%20}%20%20%20%20%20%20body%20{%20margin:%200;%20overflow:%20hidden;%20}%20%20%20%20%20%20.CodeMirror%20{%20width:%20100%;%20height:%20100%%20!important;%20line-height:%201.25%20!important;}%20%20%20%20</style><link%20rel='stylesheet'%20href='chrome://devtools/skin/common.css'><link%20rel='stylesheet'%20href='chrome://devtools/content/sourceeditor/codemirror/lib/codemirror.css'><link%20rel='stylesheet'%20href='chrome://devtools/content/sourceeditor/codemirror/addon/dialog/dialog.css'><link%20rel='stylesheet'%20href='chrome://devtools/content/sourceeditor/codemirror/mozilla.css'>%20%20</head>%20%20<body%20class='theme-body%20devtools-monospace'></body></html>] 20:24:30 INFO - --DOMWINDOW == 64 (16F79400) [pid = 2468] [serial = 70] [outer = 00000000] [url = chrome://devtools/content/inspector/rules/rules.xhtml] 20:24:30 INFO - --DOMWINDOW == 63 (1D134C00) [pid = 2468] [serial = 113] [outer = 00000000] [url = about:blank] 20:24:30 INFO - --DOMWINDOW == 62 (1B3EBC00) [pid = 2468] [serial = 107] [outer = 00000000] [url = data:text/html;charset=utf8,<!DOCTYPE%20html><html%20dir='ltr'>%20%20<head>%20%20%20%20<style>%20%20%20%20%20%20html,%20body%20{%20height:%20100%;%20}%20%20%20%20%20%20body%20{%20margin:%200;%20overflow:%20hidden;%20}%20%20%20%20%20%20.CodeMirror%20{%20width:%20100%;%20height:%20100%%20!important;%20line-height:%201.25%20!important;}%20%20%20%20</style><link%20rel='stylesheet'%20href='chrome://devtools/skin/common.css'><link%20rel='stylesheet'%20href='chrome://devtools/content/sourceeditor/codemirror/lib/codemirror.css'><link%20rel='stylesheet'%20href='chrome://devtools/content/sourceeditor/codemirror/addon/dialog/dialog.css'><link%20rel='stylesheet'%20href='chrome://devtools/content/sourceeditor/codemirror/mozilla.css'>%20%20</head>%20%20<body%20class='theme-body%20devtools-monospace'></body></html>] 20:24:30 INFO - --DOMWINDOW == 61 (1D244000) [pid = 2468] [serial = 114] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/mdn-docs-frame.xhtml] 20:24:31 INFO - --DOMWINDOW == 60 (1CEEEC00) [pid = 2468] [serial = 111] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/filter-frame.xhtml] 20:24:31 INFO - --DOMWINDOW == 59 (1CEDFC00) [pid = 2468] [serial = 109] [outer = 00000000] [url = chrome://devtools/content/shared/widgets/spectrum-frame.xhtml] 20:24:31 INFO - --DOMWINDOW == 58 (177DF800) [pid = 2468] [serial = 98] [outer = 00000000] [url = chrome://devtools/content/inspector/computed/computed.xhtml] 20:24:31 INFO - --DOMWINDOW == 57 (177E0C00) [pid = 2468] [serial = 99] [outer = 00000000] [url = chrome://devtools/content/inspector/fonts/fonts.xhtml] 20:24:31 INFO - --DOMWINDOW == 56 (17859C00) [pid = 2468] [serial = 100] [outer = 00000000] [url = chrome://devtools/content/inspector/layout/layout.xhtml] 20:24:31 INFO - --DOMWINDOW == 55 (12152C00) [pid = 2468] [serial = 58] [outer = 00000000] [url = chrome://devtools/content/framework/toolbox.xul] 20:24:31 INFO - --DOMWINDOW == 54 (1291AC00) [pid = 2468] [serial = 61] [outer = 00000000] [url = chrome://devtools/content/inspector/inspector.xul] 20:24:31 INFO - 153 INFO Console message: [JavaScript Error: "A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'? 20:24:31 INFO - See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise 20:24:31 INFO - Date: Wed Jan 06 2016 20:24:20 GMT-0800 (Pacific Standard Time) 20:24:31 INFO - Full Message: TypeError: dummyElement is null 20:24:31 INFO - Full Stack: TextProperty.prototype.updateComputed@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/inspector/rules/rules.js:1147:9
Note that this is bug 1209295 with a renamed test. I think this try run was done before the fix for that bug landed.
Triaging (filter on CLIMBING SHOES).
Priority: -- → P3
Whiteboard: [btpp-backlog]
Product: Firefox → DevTools
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.