Bug: Intermittent browser/components/firefoxview/tests/browser/firefoxview-next/browser_firefoxview_next_general_telemetry.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-11-23 01:14:56+00:00
Resolved: 2024-02-12 12:01:36+00:00

**Filed by:** csabou [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=437364836&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FAOvoefdSJeLg12bD1sBfg/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-11-23T00:51:25.806Z] 00:51:25     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_firefoxview_next_general_telemetry.js | extra[page] must match in event firefoxview_next#browser_context_menu#tabs. - "recentbrowsing" matches "recentbrowsing" - 
[task 2023-11-23T00:51:25.807Z] 00:51:25     INFO - Buffered messages logged at 00:51:25
[task 2023-11-23T00:51:25.807Z] 00:51:25     INFO - Console message: [JavaScript Warning: "Loading failed for the module with source �chrome://global/content/elements/moz-button-group.mjs�." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2023-11-23T00:51:25.808Z] 00:51:25     INFO - Console message: [JavaScript Warning: "Loading failed for the module with source �chrome://global/content/elements/moz-toggle.mjs�." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2023-11-23T00:51:25.809Z] 00:51:25     INFO - Buffered messages finished
[task 2023-11-23T00:51:25.811Z] 00:51:25     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/firefoxview-next/browser_firefoxview_next_general_telemetry.js | uncaught exception - TypeError: can't access property "isFinalized", this[#historyObserverTask] is null at close@resource://gre/modules/PlacesQuery.sys.mjs:312:9
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - viewTabHiddenCallback@chrome://browser/content/firefoxview/history.mjs:142:22
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - handleEvent@chrome://browser/content/firefoxview/viewpage.mjs:48:16
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - EventListener.handleEvent*connectedCallback@chrome://browser/content/firefoxview/viewpage.mjs:34:24
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - connectedCallback@chrome://browser/content/firefoxview/history.mjs:62:11
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - @chrome://browser/content/firefoxview/history.mjs:640:16
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - 
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - Stack trace:
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2044
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:2019
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - chrome://mochikit/content/browser-test.js:Tester:177
[task 2023-11-23T00:51:25.812Z] 00:51:25     INFO - chrome://mochikit/content/browser-harness.xhtml:createTester/</<:261
[task 2023-11-23T00:51:25.813Z] 00:51:25     INFO - GECKO(2572) | JavaScript error: resource://gre/modules/PlacesQuery.sys.mjs, line 312: TypeError: can't access property "isFinalized", this[#historyObserverTask] is null
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - Console message: [JavaScript Error: "TypeError: can't access property "isFinalized", this[#historyObserverTask] is null" {file: "resource://gre/modules/PlacesQuery.sys.mjs" line: 312}]
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - close@resource://gre/modules/PlacesQuery.sys.mjs:312:9
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - viewTabHiddenCallback@chrome://browser/content/firefoxview/history.mjs:142:22
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - handleEvent@chrome://browser/content/firefoxview/viewpage.mjs:48:16
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - EventListener.handleEvent*connectedCallback@chrome://browser/content/firefoxview/viewpage.mjs:34:24
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - connectedCallback@chrome://browser/content/firefoxview/history.mjs:62:11
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - @chrome://browser/content/firefoxview/history.mjs:640:16
[task 2023-11-23T00:51:25.814Z] 00:51:25     INFO - 
[task 2023-11-23T00:51:25.815Z] 00:51:25     INFO - GECKO(2572) | JavaScript error: resource://gre/modules/PlacesQuery.sys.mjs, line 312: TypeError: can't access property "isFinalized", this[#historyObserverTask] is null
[task 2023-11-23T00:51:25.816Z] 00:51:25     INFO - GECKO(2572) | JavaScript error: resource://gre/modules/PlacesQuery.sys.mjs, line 312: TypeError: can't access property "isFinalized", this[#historyObserverTask] is null
[task 2023-11-23T00:51:25.817Z] 00:51:25     INFO - Console message: [JavaScript Error: "TypeError: can't access property "isFinalized", this[#historyObserverTask] is null" {file: "resource://gre/modules/PlacesQuery.sys.mjs" line: 312}]
[task 2023-11-23T00:51:25.817Z] 00:51:25     INFO - close@resource://gre/modules/PlacesQuery.sys.mjs:312:9
[task 2023-11-23T00:51:25.817Z] 00:51:25     INFO - viewTabHiddenCallback@chrome://browser/content/firefoxview/history.mjs:142:22
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - handleEvent@chrome://browser/content/firefoxview/viewpage.mjs:48:16
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - _endRemoveTab@chrome://browser/content/tabbrowser.js:4365:15
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - removeTab@chrome://browser/content/tabbrowser.js:4012:14
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - removeTab@resource://testing-common/BrowserTestUtils.sys.mjs:1902:30
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - withFirefoxView@resource://testing-common/FirefoxViewTestUtils.sys.mjs:142:22
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - async*test_browser_context_menu_telemetry@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_firefoxview_next_general_telemetry.js:254:9
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-11-23T00:51:25.818Z] 00:51:25     INFO - 
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - Console message: [JavaScript Error: "TypeError: can't access property "isFinalized", this[#historyObserverTask] is null" {file: "resource://gre/modules/PlacesQuery.sys.mjs" line: 312}]
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - close@resource://gre/modules/PlacesQuery.sys.mjs:312:9
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - disconnectedCallback@chrome://browser/content/firefoxview/history.mjs:100:22
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - @chrome://browser/content/firefoxview/firefoxview-next.mjs:109:5
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - _endRemoveTab@chrome://browser/content/tabbrowser.js:4365:15
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - removeTab@chrome://browser/content/tabbrowser.js:4012:14
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - removeTab@resource://testing-common/BrowserTestUtils.sys.mjs:1902:30
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - withFirefoxView@resource://testing-common/FirefoxViewTestUtils.sys.mjs:142:22
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - async*test_browser_context_menu_telemetry@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_firefoxview_next_general_telemetry.js:254:9
[task 2023-11-23T00:51:25.821Z] 00:51:25     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2023-11-23T00:51:25.822Z] 00:51:25     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2023-11-23T00:51:25.822Z] 00:51:25     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2023-11-23T00:51:25.822Z] 00:51:25     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2023-11-23T00:51:25.822Z] 00:51:25     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-11-23T00:51:25.822Z] 00:51:25     INFO - 
[task 2023-11-23T00:51:25.822Z] 00:51:25     INFO - Leaving test bound test_browser_context_menu_telemetry
[task 2023-11-23T00:51:25.982Z] 00:51:25     INFO - GECKO(2572) | MEMORY STAT | vsize 2104570MB | vsizeMaxContiguous 65662146MB | residentFast 423MB | heapAllocated 181MB
[task 2023-11-23T00:51:25.984Z] 00:51:25     INFO - TEST-OK | browser/components/firefoxview/tests/browser/firefoxview-next/browser_firefoxview_next_general_telemetry.js | took 6003ms
```