Bug: Perma browser/components/firefoxview/tests/browser/browser_history_firefoxview_next.js | Total number of cards should be 2 - Got 2, expected 3
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-08-01 01:43:31+00:00
Resolved: 2023-08-07 06:34:13+00:00

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

---
```
[task 2023-08-01T00:06:21.957Z] 00:06:21     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview_next.js | undefined assertion name - 
[task 2023-08-01T00:06:21.958Z] 00:06:21     INFO - Buffered messages finished
[task 2023-08-01T00:06:21.959Z] 00:06:21     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_history_firefoxview_next.js | Total number of cards should be 2 - Got 2, expected 3
[task 2023-08-01T00:06:21.960Z] 00:06:21     INFO - Stack trace:
[task 2023-08-01T00:06:21.961Z] 00:06:21     INFO - chrome://mochikit/content/browser-test.js:test_is:1608
[task 2023-08-01T00:06:21.962Z] 00:06:21     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview_next.js:test_list_ordering/<:119
[task 2023-08-01T00:06:21.963Z] 00:06:21     INFO - resource://testing-common/FirefoxViewTestUtils.sys.mjs:withFirefoxView:92
[task 2023-08-01T00:06:21.964Z] 00:06:21     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_history_firefoxview_next.js:test_list_ordering:100
[task 2023-08-01T00:06:21.966Z] 00:06:21     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-08-01T00:06:21.967Z] 00:06:21     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-08-01T00:06:21.968Z] 00:06:21     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-08-01T00:06:21.969Z] 00:06:21     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-08-01T00:06:21.970Z] 00:06:21     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-08-01T00:06:21.971Z] 00:06:21     INFO - The first card should have a header for 'Today'.
[task 2023-08-01T00:06:22.121Z] 00:06:22     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/vendor/lit.all.mjs" line: 1723 column: 59 source: "
[task 2023-08-01T00:06:22.122Z] 00:06:22     INFO -         :host(:not([open])) {
[task 2023-08-01T00:06:22.124Z] 00:06:22     INFO -          …"}]
[task 2023-08-01T00:06:22.131Z] 00:06:22     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/vendor/lit.all.mjs" line: 1723 column: 59 source: "
[task 2023-08-01T00:06:22.132Z] 00:06:22     INFO -         :host(:not([open])) {
[task 2023-08-01T00:06:22.133Z] 00:06:22     INFO -          …"}]
[task 2023-08-01T00:06:22.137Z] 00:06:22     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel-list.js" line: 53 column: 22 source: "
[task 2023-08-01T00:06:22.138Z] 00:06:22     INFO -         :host(:not([open])) {
[task 2023-08-01T00:06:22.139Z] 00:06:22     INFO -          …"}]
[task 2023-08-01T00:06:22.150Z] 00:06:22     INFO - Total number of cards should be 4
[task 2023-08-01T00:06:22.196Z] 00:06:22     INFO - GECKO(2792) | [Parent 2792, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2023-08-01T00:06:22.199Z] 00:06:22     INFO - GECKO(2792) | [Parent 2792, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2023-08-01T00:06:22.218Z] 00:06:22     INFO - GECKO(2792) | [Parent 2792, Main Thread] WARNING: '!mCancelable', file /builds/worker/checkouts/gecko/image/imgRequestProxy.cpp:476
<...>
[task 2023-08-01T00:06:22.273Z] 00:06:22     INFO - GECKO(2792) | [Parent 2792, Main Thread] WARNING: '!mCancelable', file /builds/worker/checkouts/gecko/image/imgRequestProxy.cpp:476
[task 2023-08-01T00:06:22.289Z] 00:06:22     INFO - GECKO(2792) | [Child 2904: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f5d53913b60) [pid = 2904] [serial = 39] [outer = 0] [url = about:blank]
[task 2023-08-01T00:06:22.302Z] 00:06:22     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/vendor/lit.all.mjs" line: 1723 column: 59 source: "
[task 2023-08-01T00:06:22.302Z] 00:06:22     INFO -         :host(:not([open])) {
[task 2023-08-01T00:06:22.302Z] 00:06:22     INFO -          …"}]
[task 2023-08-01T00:06:22.304Z] 00:06:22     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/vendor/lit.all.mjs" line: 1723 column: 59 source: "
[task 2023-08-01T00:06:22.304Z] 00:06:22     INFO -         :host(:not([open])) {
[task 2023-08-01T00:06:22.304Z] 00:06:22     INFO -          …"}]
[task 2023-08-01T00:06:22.314Z] 00:06:22     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/vendor/lit.all.mjs" line: 1723 column: 59 source: "
[task 2023-08-01T00:06:22.314Z] 00:06:22     INFO -         :host(:not([open])) {
[task 2023-08-01T00:06:22.314Z] 00:06:22     INFO -          …"}]
[task 2023-08-01T00:06:22.315Z] 00:06:22     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/vendor/lit.all.mjs" line: 1723 column: 59 source: "
[task 2023-08-01T00:06:22.317Z] 00:06:22     INFO -         :host(:not([open])) {
[task 2023-08-01T00:06:22.317Z] 00:06:22     INFO -          …"}]
[task 2023-08-01T00:06:22.318Z] 00:06:22     INFO - Console message: 1690848382202	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 4933378, visibility: hidden
[task 2023-08-01T00:06:22.319Z] 00:06:22     INFO - Console message: 1690848382202	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2023-08-01T00:06:22.320Z] 00:06:22     INFO - Console message: 1690848382217	FirefoxView.TabsSetup	DEBUG	updateViewVisibility for instance: 4933378, visibility: unloaded
[task 2023-08-01T00:06:22.321Z] 00:06:22     INFO - Console message: 1690848382217	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2023-08-01T00:06:22.331Z] 00:06:22     INFO - Console message: withFirefoxView: Tab was already closed before removeTab would have been called
[task 2023-08-01T00:06:22.344Z] 00:06:22     INFO - Leaving test bound test_list_ordering
[task 2023-08-01T00:06:22.345Z] 00:06:22     INFO - Entering test bound test_empty_states
[task 2023-08-01T00:06:22.426Z] 00:06:22     INFO - GECKO(2792) | [Parent 2792: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f36880c8000 == 15 [pid = 2792] [id = 87]
[task 2023-08-01T00:06:22.428Z] 00:06:22     INFO - GECKO(2792) | [Parent 2792: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 100 (7f36953d24c0) [pid = 2792] [serial = 238] [outer = 0]
[task 2023-08-01T00:06:22.429Z] 00:06:22     INFO - GECKO(2792) | [Parent 2792: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 101 (7f3689ddc000) [pid = 2792] [serial = 239] [outer = 7f36953d24c0]
[task 2023-08-01T00:06:22.497Z] 00:06:22     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_history_firefoxview_next.js | Firefox View tab exists - [object XULElement] == true - 
```