Closed Bug 812362 Opened 8 years ago Closed 8 years ago

Intermittent browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | correct line is selected - Got 6, expected 7, | correct line is selected - Got 7, expected 6

Categories

(DevTools :: Console, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 19

People

(Reporter: philor, Assigned: msucan)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #808264 +++

Three or four pushes after the landing for bug 808264...

https://tbpl.mozilla.org/php/getParsedLog.php?id=17081333&tree=Mozilla-Inbound
Rev4 MacOSX Snow Leopard 10.6 mozilla-inbound debug test mochitest-browser-chrome on 2012-11-15 14:01:40 PST for push 17bf1764ed30
slave: talos-r4-snow-026

TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | editor for stylesheet
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | Console message: OpenGL LayerManager Initialized Succesfully.
Version: 2.1 NVIDIA-1.6.36
Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce 320M OpenGL Engine
FBO Texture Target: TEXTURE_2D
++DOCSHELL 0x150fe2c70 == 22 [id = 3780]
++DOMWINDOW == 79 (0x1538aeb90) [serial = 9639] [outer = 0x0]
++DOMWINDOW == 80 (0x150f70d10) [serial = 9640] [outer = 0x1538aeb10]
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | Console message: [JavaScript Warning: "XUL box for a element contained an inline #text child, forcing all its children to be wrapped in a block." {file: "chrome://browser/content/styleeditor.xul" line: 0}]
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | 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/styleeditor.xul" line: 0}]
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | 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/styleeditor.xul" line: 0}]
++DOCSHELL 0x14f33edd0 == 23 [id = 3781]
++DOMWINDOW == 81 (0x14c6214b0) [serial = 9641] [outer = 0x0]
TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | Console message: [JavaScript Warning: "Use of Mutation Events is deprecated. Use MutationObserver instead." {file: "chrome://browser/content/orion.js" line: 3408}]
++DOMWINDOW == 82 (0x14f3c89e0) [serial = 9642] [outer = 0x14c621430]
++DOMWINDOW == 83 (0x15a07e9a0) [serial = 9643] [outer = 0x14c621430]
WARNING: NS_ENSURE_SUCCESS(result, result) failed with result 0x80004005: file ../../../../editor/libeditor/base/nsEditor.cpp, line 3918
WARNING: NS_ENSURE_SUCCESS(res, res) failed with result 0x80004005: file ../../../../editor/libeditor/html/nsHTMLEditRules.cpp, line 304
WARNING: NS_ENSURE_SUCCESS(result, result) failed with result 0x80004005: file ../../../../editor/libeditor/base/nsEditor.cpp, line 3918
WARNING: NS_ENSURE_SUCCESS(res, res) failed with result 0x80004005: file ../../../../editor/libeditor/html/nsHTMLEditRules.cpp, line 7960
JavaScript strict warning: chrome://browser/content/orion.js, line 8219: reference to undefined property h.capture
JavaScript strict warning: chrome://browser/content/orion.js, line 6954: reference to undefined property this._leftDiv
JavaScript strict warning: chrome://browser/content/orion.js, line 6849: reference to undefined property range.ignoreChars
JavaScript strict warning: chrome://browser/content/orion.js, line 6933: reference to undefined property style.tagName
JavaScript strict warning: chrome://browser/content/orion.js, line 9307: reference to undefined property this._checkMaxLineIndex
TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | source editor load
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | correct line is selected - Got 6, expected 7
Stack trace:
    JS frame :: chrome://mochikit/content/browser-test.js :: test_is :: line 474
    JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js :: performLineCheck.successFn :: line 108
    JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/head.js :: wait :: line 301
    JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/head.js :: <TOP_LEVEL> :: line 304
    native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0

...
WARNING: NS_ENSURE_SUCCESS(res, res) failed with result 0x80004005: file ../../../../editor/libeditor/html/nsHTMLEditRules.cpp, line 304
WARNING: NS_ENSURE_SUCCESS(result, result) failed with result 0x80004005: file ../../../../editor/libeditor/base/nsEditor.cpp, line 3918
WARNING: NS_ENSURE_SUCCESS(res, res) failed with result 0x80004005: file ../../../../editor/libeditor/html/nsHTMLEditRules.cpp, line 7960
WARNING: NS_ENSURE_TRUE(selCon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 602
WARNING: NS_ENSURE_TRUE(selcon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 624
WARNING: NS_ENSURE_SUCCESS(res, nullptr) failed with result 0xC1F30001: file ../../../../editor/libeditor/base/nsEditor.cpp, line 633
WARNING: NS_ENSURE_TRUE(selection) failed: file ../../../../editor/libeditor/html/nsHTMLEditor.cpp, line 3348
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file ../../../../editor/libeditor/base/nsEditorCommands.cpp, line 53
WARNING: NS_ENSURE_TRUE(selCon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 602
WARNING: NS_ENSURE_TRUE(selcon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 624
WARNING: NS_ENSURE_SUCCESS(res, nullptr) failed with result 0xC1F30001: file ../../../../editor/libeditor/base/nsEditor.cpp, line 633
WARNING: NS_ENSURE_TRUE(selection) failed: file ../../../../editor/libeditor/html/nsHTMLEditor.cpp, line 3348
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file ../../../../editor/libeditor/base/nsEditorCommands.cpp, line 102
WARNING: NS_ENSURE_TRUE(selCon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 602
WARNING: NS_ENSURE_TRUE(selcon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 624
WARNING: NS_ENSURE_SUCCESS(res, nullptr) failed with result 0xC1F30001: file ../../../../editor/libeditor/base/nsEditor.cpp, line 633
WARNING: NS_ENSURE_TRUE(selection) failed: file ../../../../editor/libeditor/html/nsHTMLEditor.cpp, line 3348
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file ../../../../editor/libeditor/base/nsEditorCommands.cpp, line 199
WARNING: NS_ENSURE_TRUE(selCon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 602
WARNING: NS_ENSURE_TRUE(selcon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 624
WARNING: NS_ENSURE_TRUE(selCon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 602
WARNING: NS_ENSURE_TRUE(selcon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 624
WARNING: NS_ENSURE_SUCCESS(res, nullptr) failed with result 0xC1F30001: file ../../../../editor/libeditor/base/nsEditor.cpp, line 633
WARNING: NS_ENSURE_TRUE(selection) failed: file ../../../../editor/libeditor/html/nsHTMLEditor.cpp, line 3348
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file ../../../../editor/libeditor/base/nsEditorCommands.cpp, line 394
WARNING: NS_ENSURE_TRUE(selCon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 602
WARNING: NS_ENSURE_TRUE(selcon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 624
WARNING: NS_ENSURE_SUCCESS(res, nullptr) failed with result 0xC1F30001: file ../../../../editor/libeditor/base/nsEditor.cpp, line 633
WARNING: NS_ENSURE_TRUE(selection) failed: file ../../../../editor/libeditor/html/nsHTMLEditor.cpp, line 3348
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file ../../../../editor/libeditor/base/nsEditorCommands.cpp, line 555
WARNING: NS_ENSURE_TRUE(selCon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 602
WARNING: NS_ENSURE_TRUE(selcon) failed: file ../../../../editor/libeditor/base/nsEditor.cpp, line 624
WARNING: NS_ENSURE_SUCCESS(res, nullptr) failed with result 0xC1F30001: file ../../../../editor/libeditor/base/nsEditor.cpp, line 633
WARNING: NS_ENSURE_TRUE(selection) failed: file ../../../../editor/libeditor/html/nsHTMLEditor.cpp, line 3348
JavaScript strict warning: chrome://browser/content/orion.js, line 8219: reference to undefined property h.capture
JavaScript strict warning: chrome://browser/content/orion.js, line 6954: reference to undefined property this._leftDiv
JavaScript strict warning: chrome://browser/content/orion.js, line 6849: reference to undefined property range.ignoreChars
JavaScript strict warning: chrome://browser/content/orion.js, line 6933: reference to undefined property style.tagName
JavaScript strict warning: chrome://browser/content/orion.js, line 9307: reference to undefined property this._checkMaxLineIndex
TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | source editor load
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | correct line is selected - Got 7, expected 6
Stack trace:
    JS frame :: chrome://mochikit/content/browser-test.js :: test_is :: line 474
    JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js :: performLineCheck.successFn :: line 108
    JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/head.js :: wait :: line 301
    JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/head.js :: <TOP_LEVEL> :: line 304
    native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0

TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | correct stylesheet is selected in the editor
I missed one possible failure case. Will provide a patch.
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
Attached patch proposed fixSplinter Review
Yesterday I forgot to make sure that error line numbers need to be taken from the error message.
Attachment #682483 - Flags: review?(rcampbell)
Comment on attachment 682483 [details] [diff] [review]
proposed fix

oof. Ok.
Attachment #682483 - Flags: review?(rcampbell) → review+
https://hg.mozilla.org/mozilla-central/rev/443d0b028e97
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Whiteboard: [orange]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.