Bug: Intermittent browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-01 04:52:51+00:00
Resolved: 2024-11-18 12:02:32+00:00

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

---
```
TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | extra[search_start] must match in event firefoxview_next#sort_history#tabs. - "false" matches "false" - 
[task 2024-05-01T04:39:40.213Z] 04:39:40     INFO - Console message: [JavaScript Error: "TypeError: can't access property "includes", historyItem.l10nId is null" {file: "chrome://browser/content/firefoxview/history.mjs" line: 311}]
[task 2024-05-01T04:39:40.213Z] 04:39:40     INFO - __enqueueUpdate@chrome://global/content/vendor/lit.all.mjs:752:21
[task 2024-05-01T04:39:40.213Z] 04:39:40     INFO - async*requestUpdate@chrome://global/content/vendor/lit.all.mjs:731:41
[task 2024-05-01T04:39:40.214Z] 04:39:40     INFO - updateCache@resource:///modules/HistoryController.sys.mjs:140:15
[task 2024-05-01T04:39:40.214Z] 04:39:40     INFO - async*onChangeSortOption@resource:///modules/HistoryController.sys.mjs:98:10
[task 2024-05-01T04:39:40.215Z] 04:39:40     INFO - onChangeSortOption@chrome://browser/content/firefoxview/history.mjs:174:21
[task 2024-05-01T04:39:40.215Z] 04:39:40     INFO - handleEvent@chrome://global/content/vendor/lit.all.mjs:2031:35
[task 2024-05-01T04:39:40.215Z] 04:39:40     INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:831:13
[task 2024-05-01T04:39:40.216Z] 04:39:40     INFO - synthesizeMouse@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:566:10
[task 2024-05-01T04:39:40.216Z] 04:39:40     INFO - synthesizeMouseAtCenter@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:1011:10
[task 2024-05-01T04:39:40.217Z] 04:39:40     INFO - test_list_ordering/<@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview.js:261:22
[task 2024-05-01T04:39:40.217Z] 04:39:40     INFO - async*withFirefoxView@resource://testing-common/FirefoxViewTestUtils.sys.mjs:157:22
[task 2024-05-01T04:39:40.217Z] 04:39:40     INFO - async*test_list_ordering@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview.js:182:9
[task 2024-05-01T04:39:40.218Z] 04:39:40     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-05-01T04:39:40.218Z] 04:39:40     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-05-01T04:39:40.219Z] 04:39:40     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-05-01T04:39:40.219Z] 04:39:40     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-05-01T04:39:40.219Z] 04:39:40     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-05-01T04:39:40.220Z] 04:39:40     INFO - 
[task 2024-05-01T04:39:40.220Z] 04:39:40     INFO - Console message: withFirefoxView: Tab was already closed before removeTab would have been called
[task 2024-05-01T04:39:40.221Z] 04:39:40     INFO - Buffered messages finished
[task 2024-05-01T04:39:40.221Z] 04:39:40     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_history_firefoxview.js | A promise chain failed to handle a rejection: can't access property "includes", historyItem.l10nId is null - stack: #historyCardsTemplate/cardsTemplate<@chrome://browser/content/firefoxview/history.mjs:311:32
[task 2024-05-01T04:39:40.222Z] 04:39:40     INFO - #historyCardsTemplate@chrome://browser/content/firefoxview/history.mjs:300:55
[task 2024-05-01T04:39:40.222Z] 04:39:40     INFO - get cardsTemplate@chrome://browser/content/firefoxview/history.mjs:291:40
[task 2024-05-01T04:39:40.223Z] 04:39:40     INFO - render@chrome://browser/content/firefoxview/history.mjs:520:11
[task 2024-05-01T04:39:40.223Z] 04:39:40     INFO - update@chrome://global/content/vendor/lit.all.mjs:2192:28
[task 2024-05-01T04:39:40.223Z] 04:39:40     INFO - update@chrome://global/content/lit-utils.mjs line 829 > importedModule:133:11
[task 2024-05-01T04:39:40.224Z] 04:39:40     INFO - performUpdate@chrome://global/content/vendor/lit.all.mjs:825:22
INFO - scheduleUpdate@chrome://global/content/vendor/lit.all.mjs:781:21
[task 2024-05-01T04:39:40.225Z] 04:39:40     INFO - __enqueueUpdate@chrome://global/content/vendor/lit.all.mjs:754:29
[task 2024-05-01T04:39:40.225Z] 04:39:40     INFO - async*requestUpdate@chrome://global/content/vendor/lit.all.mjs:731:41
[task 2024-05-01T04:39:40.225Z] 04:39:40     INFO - updateCache@resource:///modules/HistoryController.sys.mjs:140:15
[task 2024-05-01T04:39:40.226Z] 04:39:40     INFO - async*onChangeSortOption@resource:///modules/HistoryController.sys.mjs:98:10
[task 2024-05-01T04:39:40.226Z] 04:39:40     INFO - onChangeSortOption@chrome://browser/content/firefoxview/history.mjs:174:21
[task 2024-05-01T04:39:40.227Z] 04:39:40     INFO - handleEvent@chrome://global/content/vendor/lit.all.mjs:2031:35
[task 2024-05-01T04:39:40.227Z] 04:39:40     INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:831:13
[task 2024-05-01T04:39:40.227Z] 04:39:40     INFO - synthesizeMouse@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:566:10
[task 2024-05-01T04:39:40.228Z] 04:39:40     INFO - synthesizeMouseAtCenter@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:1011:10
[task 2024-05-01T04:39:40.228Z] 04:39:40     INFO - test_list_ordering/<@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview.js:233:22
[task 2024-05-01T04:39:40.229Z] 04:39:40     INFO - async*withFirefoxView@resource://testing-common/FirefoxViewTestUtils.sys.mjs:157:22
[task 2024-05-01T04:39:40.229Z] 04:39:40     INFO - async*test_list_ordering@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview.js:182:9
[task 2024-05-01T04:39:40.230Z] 04:39:40     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-05-01T04:39:40.230Z] 04:39:40     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-05-01T04:39:40.231Z] 04:39:40     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-05-01T04:39:40.231Z] 04:39:40     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-05-01T04:39:40.231Z] 04:39:40     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-05-01T04:39:40.232Z] 04:39:40     INFO - Rejection date: Wed May 01 2024 04:39:38 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":603,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":567,"lineNumber":1167,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":567,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":567,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":567,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":594,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-05-01T04:39:40.232Z] 04:39:40     INFO - Stack trace:
[task 2024-05-01T04:39:40.233Z] 04:39:40     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-05-01T04:39:40.233Z] 04:39:40     INFO - chrome://mochikit/content/browser-test.js:handleTask:1167
<...>
```