Bug: Intermittent TV browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | Tab list has items with URLs in the expected order - ["about:blank","data:,Tab1"] deepEqual ["data:,Tab3","data:,Tab2","data:,Tab1"]
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-10-11 00:56:42+00:00
Resolved: 2023-10-16 06:46:08+00:00

**Filed by:** ncsoregi [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=432041350&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BTRVpgfQRz-zFEo8yg0N7Q/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BTRVpgfQRz-zFEo8yg0N7Q/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-10-10T23:58:43.673Z] 23:58:43     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | Found the tab list element - [object HTMLElement] == true - 
[task 2023-10-10T23:58:43.674Z] 23:58:43     INFO - Buffered messages finished
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | Tab list has items with URLs in the expected order - ["about:blank","data:,Tab1"] deepEqual ["data:,Tab3","data:,Tab2","data:,Tab1"] - {"filename":"chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js","name":"checkTabList","sourceId":615,"lineNumber":150,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js","name":"test_windows_activation","sourceId":615,"lineNumber":255,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":560,"lineNumber":1134,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":560,"lineNumber":1206,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":560,"lineNumber":1348,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":560,"lineNumber":1117,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":586,"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:1117:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1117:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1117:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1117:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*test_windows_activation@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js:255:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1117:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"checkTabList@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js:150:10\nasync*test_windows_activation@chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js:255:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1117:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - Stack trace:
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js:checkTabList:150
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js:test_windows_activation:255
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - chrome://mochikit/content/browser-test.js:handleTask:1134
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1348
[task 2023-10-10T23:58:43.678Z] 23:58:43     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1117
[task 2023-10-10T23:58:43.681Z] 23:58:43     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-10-10T23:58:43.681Z] 23:58:43     INFO - switch to win2 and confirm its selected tab becomes most recent
[task 2023-10-10T23:58:43.681Z] 23:58:43     INFO - GECKO(5096) | must wait for focus
[task 2023-10-10T23:58:43.682Z] 23:58:43     INFO - GECKO(5096) | [Child 8056, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4206
[task 2023-10-10T23:58:43.682Z] 23:58:43     INFO - GECKO(5096) | [Child 8056, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4206
[task 2023-10-10T23:58:43.682Z] 23:58:43     INFO - GECKO(5096) | [Child 8056, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4206
[task 2023-10-10T23:58:43.683Z] 23:58:43     INFO - GECKO(5096) | [Child 8056, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4206
[task 2023-10-10T23:58:43.683Z] 23:58:43     INFO - GECKO(5096) | [Child 7328, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4206
[task 2023-10-10T23:58:43.683Z] 23:58:43     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/firefoxview-next/browser_opentabs_recency_next.js | Found the tab list element - [object HTMLElement] == true - 
```