Bug: Intermittent browser/components/firefoxview/tests/browser/browser_recentlyclosed_firefoxview_next.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-11 11:56:45+00:00
Resolved: 2024-02-14 12:03:05+00:00

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

---
```
[task 2023-07-11T09:49:44.160Z] 09:49:44     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_recentlyclosed_firefoxview_next.js | One tab is shown in the list. - 
[task 2023-07-11T09:49:44.160Z] 09:49:44     INFO - Console message: withFirefoxView: Tab was already closed before removeTab would have been called
[task 2023-07-11T09:49:44.160Z] 09:49:44     INFO - Buffered messages finished
[task 2023-07-11T09:49:44.169Z] 09:49:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_recentlyclosed_firefoxview_next.js | A promise chain failed to handle a rejection: null has no properties - stack: getHistory@resource://gre/modules/PlacesQuery.sys.mjs:71:19
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - @resource://gre/modules/PlacesQuery.sys.mjs:176:38
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - callback@resource://gre/modules/Timer.sys.mjs:126:16
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - ChromeUtils::IdleDispatch handler*requestIdleCallback@resource://gre/modules/Timer.sys.mjs:130:15
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - @resource://gre/modules/PlacesQuery.sys.mjs:175:14
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - async*#initHistoryListener@resource://gre/modules/PlacesQuery.sys.mjs:181:21
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - getHistory@resource://gre/modules/PlacesQuery.sys.mjs:113:32
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - async*updateHistoryData@chrome://browser/content/firefoxview/history.mjs:64:53
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - connectedCallback@chrome://browser/content/firefoxview/history.mjs:33:10
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - @chrome://browser/content/firefoxview/history.mjs:416:16
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - Rejection date: Tue Jul 11 2023 09:49:42 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":578,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":538,"lineNumber":1159,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":538,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":538,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":538,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":569,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1159:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1159:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - Stack trace:
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - chrome://mochikit/content/browser-test.js:handleTask:1159
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-11T09:49:44.170Z] 09:49:44     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-11T09:49:44.171Z] 09:49:44     INFO - Leaving test bound test_list_updates
[task 2023-07-11T09:49:44.171Z] 09:49:44     INFO - Entering test bound test_dismiss_tab
[task 2023-07-11T09:49:44.172Z] 09:49:44     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_recentlyclosed_firefoxview_next.js | Closed tab count after purging session history - 
```