Intermittent browser_webconsole_context_menu_open_in_var_view.js | Uncaught exception - at chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:287 - TypeError: button is null

RESOLVED INVALID

Status

()

Firefox
Developer Tools: Console
P3
normal
RESOLVED INVALID
2 years ago
11 days ago

People

(Reporter: RyanVM, Unassigned)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [btpp-backlog])

(Reporter)

Description

2 years ago
https://treeherder.mozilla.org/logviewer.html#?job_id=7956343&repo=fx-team

22:06:12     INFO -  295 INFO TEST-START | devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js
22:06:13     INFO -  *************************
22:06:13     INFO -  A coding exception was thrown and uncaught in a Task.
22:06:13     INFO -  Full message: TypeError: button is null
22:06:13     INFO -  Full stack: waitForContextMenu@chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:287:1
22:06:13     INFO -  @chrome://mochitests/content/browser/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js:39:9
22:06:13     INFO -  Tester_execTest@chrome://mochikit/content/browser-test.js:789:9
22:06:13     INFO -  Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:709:7
22:06:13     INFO -  SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:740:59
22:06:13     INFO -  *************************
22:06:13     INFO -  TEST-INFO | started process screenshot
22:06:13     INFO -  TEST-INFO | screenshot: exit 0
22:06:13     INFO -  296 INFO checking window state
22:06:13     INFO -  297 INFO Console message: [JavaScript Error: "TelemetryStopwatch: requesting elapsed time for nonexisting stopwatch. Histogram: "FX_PAGE_LOAD_MS", key: "null"" {file: "resource://gre/modules/TelemetryStopwatch.jsm" line: 297}]
22:06:13     INFO -  this.TelemetryStopwatchImpl.timeElapsed@resource://gre/modules/TelemetryStopwatch.jsm:297:7
22:06:13     INFO -  this.TelemetryStopwatchImpl.finish@resource://gre/modules/TelemetryStopwatch.jsm:315:17
22:06:13     INFO -  this.TelemetryStopwatch.finish@resource://gre/modules/TelemetryStopwatch.jsm:192:12
22:06:13     INFO -  TabsProgressListener.onStateChange@chrome://browser/content/browser.js:4645:11
22:06:13     INFO -  callListeners@chrome://browser/content/tabbrowser.xml:501:24
22:06:13     INFO -  _callProgressListeners@chrome://browser/content/tabbrowser.xml:522:13
22:06:13     INFO -  mTabProgressListener/<._callProgressListeners@chrome://browser/content/tabbrowser.xml:571:22
22:06:13     INFO -  mTabProgressListener/<.onStateChange@chrome://browser/content/tabbrowser.xml:731:15
22:06:13     INFO -  stop@chrome://global/content/bindings/browser.xml:100:13
22:06:13     INFO -  stop@chrome://browser/content/tabbrowser.xml:3818:20
22:06:13     INFO -  Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:306:7
22:06:13     INFO -  Tester.prototype.nextTest<@chrome://mochikit/content/browser-test.js:594:5
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:319:40
22:06:13     INFO -  promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:395:7
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:400:7
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
22:06:13     INFO -  this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
22:06:13     INFO -  Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:747:11
22:06:13     INFO -  this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:779:7
22:06:13     INFO -  this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:714:7
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:324:13
22:06:13     INFO -  Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
22:06:13     INFO -  this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
22:06:13     INFO -  Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:747:11
22:06:13     INFO -  this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:779:7
22:06:13     INFO -  this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:714:7
22:06:13     INFO -  EventHandlerNonNull*removeItem/module.exports</<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:111:9
22:06:13     INFO -  withStore@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:58:7
22:06:13     INFO -  removeItem/module.exports<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:110:7
22:06:13     INFO -  Promise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:388:5
22:06:13     INFO -  removeItem@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:109:12
22:06:13     INFO -  @chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:372:9
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:319:40
22:06:13     INFO -  TaskImpl@resource://gre/modules/Task.jsm:280:3
22:06:13     INFO -  createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14
22:06:13     INFO -  Task_spawn@resource://gre/modules/Task.jsm:168:12
22:06:13     INFO -  TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:388:16
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
22:06:13     INFO -  298 INFO Entering test bound
22:06:13     INFO -  299 INFO Console message: [JavaScript Error: "TelemetryStopwatch: key "FX_TAB_SWITCH_TOTAL_MS" was already initialized" {file: "resource://gre/modules/TelemetryStopwatch.jsm" line: 282}]
22:06:13     INFO -  this.TelemetryStopwatchImpl.start@resource://gre/modules/TelemetryStopwatch.jsm:282:7
22:06:13     INFO -  this.TelemetryStopwatch.start@resource://gre/modules/TelemetryStopwatch.jsm:136:12
22:06:13     INFO -  updateCurrentBrowser@chrome://browser/content/tabbrowser.xml:1036:17
22:06:13     INFO -  onselect@chrome://browser/content/browser.xul:1:44
22:06:13     INFO -  set_selectedIndex@chrome://global/content/bindings/tabbox.xml:656:13
22:06:13     INFO -  set_selectedPanel@chrome://global/content/bindings/tabbox.xml:675:13
22:06:13     INFO -  set_selectedIndex@chrome://global/content/bindings/tabbox.xml:403:15
22:06:13     INFO -  set_selectedItem@chrome://global/content/bindings/tabbox.xml:435:34
22:06:13     INFO -  set_selectedTab@chrome://global/content/bindings/tabbox.xml:114:15
22:06:13     INFO -  set_selectedTab@chrome://browser/content/tabbrowser.xml:2828:11
22:06:13     INFO -  loadTab@chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:49:36
22:06:13     INFO -  @chrome://mochitests/content/browser/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js:17:9
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:319:40
22:06:13     INFO -  TaskImpl@resource://gre/modules/Task.jsm:280:3
22:06:13     INFO -  createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14
22:06:13     INFO -  Task_spawn@resource://gre/modules/Task.jsm:168:12
22:06:13     INFO -  TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:388:16
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  TaskImpl@resource://gre/modules/Task.jsm:280:3
22:06:13     INFO -  createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14
22:06:13     INFO -  Task_spawn@resource://gre/modules/Task.jsm:168:12
22:06:13     INFO -  Tester_execTest@chrome://mochikit/content/browser-test.js:789:9
22:06:13     INFO -  Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:709:7
22:06:13     INFO -  SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:740:59
22:06:13     INFO -  300 INFO Console message: [JavaScript Error: "TelemetryStopwatch: requesting elapsed time for nonexisting stopwatch. Histogram: "FX_TAB_SWITCH_TOTAL_MS", key: "null"" {file: "resource://gre/modules/TelemetryStopwatch.jsm" line: 297}]
22:06:13     INFO -  this.TelemetryStopwatchImpl.timeElapsed@resource://gre/modules/TelemetryStopwatch.jsm:297:7
22:06:13     INFO -  this.TelemetryStopwatchImpl.finish@resource://gre/modules/TelemetryStopwatch.jsm:315:17
22:06:13     INFO -  this.TelemetryStopwatch.finish@resource://gre/modules/TelemetryStopwatch.jsm:192:12
22:06:13     INFO -  onMozAfterPaint@chrome://browser/content/tabbrowser.xml:1038:19
22:06:13     INFO -  EventListener.handleEvent*updateCurrentBrowser@chrome://browser/content/tabbrowser.xml:1037:17
22:06:13     INFO -  onselect@chrome://browser/content/browser.xul:1:44
22:06:13     INFO -  set_selectedIndex@chrome://global/content/bindings/tabbox.xml:656:13
22:06:13     INFO -  set_selectedPanel@chrome://global/content/bindings/tabbox.xml:675:13
22:06:13     INFO -  set_selectedIndex@chrome://global/content/bindings/tabbox.xml:403:15
22:06:13     INFO -  set_selectedItem@chrome://global/content/bindings/tabbox.xml:435:34
22:06:13     INFO -  set_selectedTab@chrome://global/content/bindings/tabbox.xml:114:15
22:06:13     INFO -  set_selectedTab@chrome://browser/content/tabbrowser.xml:2828:11
22:06:13     INFO -  _blurTab@chrome://browser/content/tabbrowser.xml:2479:13
22:06:13     INFO -  _endRemoveTab@chrome://browser/content/tabbrowser.xml:2353:13
22:06:13     INFO -  removeTab@chrome://browser/content/tabbrowser.xml:2195:15
22:06:13     INFO -  Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:305:7
22:06:13     INFO -  Tester.prototype.nextTest<@chrome://mochikit/content/browser-test.js:594:5
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:319:40
22:06:13     INFO -  promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:395:7
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:400:7
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
22:06:13     INFO -  this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
22:06:13     INFO -  Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:747:11
22:06:13     INFO -  this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:779:7
22:06:13     INFO -  this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:714:7
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:324:13
22:06:13     INFO -  Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
22:06:13     INFO -  this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7
22:06:13     INFO -  Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:747:11
22:06:13     INFO -  this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:779:7
22:06:13     INFO -  this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:714:7
22:06:13     INFO -  EventHandlerNonNull*removeItem/module.exports</<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:111:9
22:06:13     INFO -  withStore@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:58:7
22:06:13     INFO -  removeItem/module.exports<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:110:7
22:06:13     INFO -  Promise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:388:5
22:06:13     INFO -  removeItem@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/async-storage.js:109:12
22:06:13     INFO -  @chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:372:9
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:319:40
22:06:13     INFO -  TaskImpl@resource://gre/modules/Task.jsm:280:3
22:06:13     INFO -  createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14
22:06:13     INFO -  Task_spawn@resource://gre/modules/Task.jsm:168:12
22:06:13     INFO -  TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:388:16
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23
22:06:13     INFO -  301 INFO Console message: [JavaScript Error: "TelemetryStopwatch: requesting elapsed time for nonexisting stopwatch. Histogram: "FX_TAB_SWITCH_TOTAL_MS", key: "null"" {file: "resource://gre/modules/TelemetryStopwatch.jsm" line: 297}]
22:06:13     INFO -  this.TelemetryStopwatchImpl.timeElapsed@resource://gre/modules/TelemetryStopwatch.jsm:297:7
22:06:13     INFO -  this.TelemetryStopwatchImpl.finish@resource://gre/modules/TelemetryStopwatch.jsm:315:17
22:06:13     INFO -  this.TelemetryStopwatch.finish@resource://gre/modules/TelemetryStopwatch.jsm:192:12
22:06:13     INFO -  onMozAfterPaint@chrome://browser/content/tabbrowser.xml:1038:19
22:06:13     INFO -  EventListener.handleEvent*updateCurrentBrowser@chrome://browser/content/tabbrowser.xml:1037:17
22:06:13     INFO -  onselect@chrome://browser/content/browser.xul:1:44
22:06:13     INFO -  set_selectedIndex@chrome://global/content/bindings/tabbox.xml:656:13
22:06:13     INFO -  set_selectedPanel@chrome://global/content/bindings/tabbox.xml:675:13
22:06:13     INFO -  set_selectedIndex@chrome://global/content/bindings/tabbox.xml:403:15
22:06:13     INFO -  set_selectedItem@chrome://global/content/bindings/tabbox.xml:435:34
22:06:13     INFO -  set_selectedTab@chrome://global/content/bindings/tabbox.xml:114:15
22:06:13     INFO -  set_selectedTab@chrome://browser/content/tabbrowser.xml:2828:11
22:06:13     INFO -  loadTab@chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:49:36
22:06:13     INFO -  @chrome://mochitests/content/browser/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js:17:9
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:319:40
22:06:13     INFO -  TaskImpl@resource://gre/modules/Task.jsm:280:3
22:06:13     INFO -  createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14
22:06:13     INFO -  Task_spawn@resource://gre/modules/Task.jsm:168:12
22:06:13     INFO -  TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:388:16
22:06:13     INFO -  TaskImpl_run@resource://gre/modules/Task.jsm:327:13
22:06:13     INFO -  TaskImpl@resource://gre/modules/Task.jsm:280:3
22:06:13     INFO -  createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14
22:06:13     INFO -  Task_spawn@resource://gre/modules/Task.jsm:168:12
22:06:13     INFO -  Tester_execTest@chrome://mochikit/content/browser-test.js:789:9
22:06:13     INFO -  Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:709:7
22:06:13     INFO -  SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:740:59
22:06:13     INFO -  302 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: "data:text/html,<script>%20%20console.log("foo");%20%20console.log("foo",%20window);</script>" line: 0}]
22:06:13     INFO -  303 INFO Waiting for messages...
22:06:13     INFO -  304 INFO TEST-PASS | devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js | matched rule: /foo/ -
22:06:13     INFO -  305 INFO TEST-PASS | devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js | Two messages should have appeared -
22:06:13     INFO -  306 INFO wait for the context menu to open
22:06:13     INFO -  307 INFO TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js | Uncaught exception - at chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:287 - TypeError: button is null
22:06:13     INFO -  Stack trace:
22:06:13     INFO -      waitForContextMenu@chrome://mochitests/content/browser/devtools/client/webconsole/test/head.js:287:1
22:06:13     INFO -      @chrome://mochitests/content/browser/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js:39:9
22:06:13     INFO -      Tester_execTest@chrome://mochikit/content/browser-test.js:789:9
22:06:13     INFO -      Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:709:7
22:06:13     INFO -      SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:740:59
22:06:13     INFO -      Tester_execTest@chrome://mochikit/content/browser-test.js:789:9
22:06:13     INFO -      Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:709:7
22:06:13     INFO -      SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:740:59
22:06:13     INFO -  308 INFO Leaving test bound
22:06:13     INFO -  MEMORY STAT | vsize 626MB | vsizeMaxContiguous 174MB | residentFast 336MB | heapAllocated 117MB
22:06:13     INFO -  309 INFO TEST-OK | devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js | took 541ms

Updated

2 years ago
Priority: -- → P3
Whiteboard: [btpp-backlog]

Comment 1

8 months ago
1 failures in 939 pushes (0.001 failures/push) were associated with this bug in the last 7 days.   

Repository breakdown:
* mozilla-esr52: 1

Platform breakdown:
* windowsxp: 1

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1256017&startday=2017-08-28&endday=2017-09-03&tree=all
Test was moved to devtools/client/webconsole/old folder, and will be deleted in Bug 381834
Depends on: 381834
Wrong blocker id
No longer depends on: 381834
Test removed in Bug 1381834
Status: NEW → RESOLVED
Last Resolved: 11 days ago
Depends on: 1381834
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.