Bug: Intermittent browser/components/newtab/test/browser/browser_newtab_towindow.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-05-22 19:49:30+00:00
Resolved: 2023-12-04 12:03:24+00:00

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

---
```
[task 2023-05-22T18:20:34.301Z] 18:20:34     INFO - TEST-START | browser/components/newtab/test/browser/browser_newtab_towindow.js
[task 2023-05-22T18:20:34.316Z] 18:20:34     INFO - GECKO(4888) | console.error: "Failed to fetch https://spocs.getpocket.com/user: Not one of allowed prefixes (data:)"
[task 2023-05-22T18:20:34.876Z] 18:20:34     INFO - GECKO(4888) | JavaScript error: chrome://browser/content/parent/ext-tabs.js, line 468: TypeError: can't access property "favIconUrl", tab is undefined
[task 2023-05-22T18:20:34.897Z] 18:20:34     INFO - GECKO(4888) | 1684779634899	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-05-22T18:21:19.307Z] 18:21:19     INFO - TEST-INFO | started process screenshot
[task 2023-05-22T18:21:19.370Z] 18:21:19     INFO - TEST-INFO | screenshot: exit 0
[task 2023-05-22T18:21:19.384Z] 18:21:19     INFO - Buffered messages logged at 18:20:34
[task 2023-05-22T18:21:19.384Z] 18:21:19     INFO - Entering test bound test_newtab_to_window
[task 2023-05-22T18:21:19.385Z] 18:21:19     INFO - Console message: [JavaScript Error: "TypeError: can't access property "favIconUrl", tab is undefined" {file: "chrome://browser/content/parent/ext-tabs.js" line: 468}]
[task 2023-05-22T18:21:19.385Z] 18:21:19     INFO - listener@chrome://browser/content/parent/ext-tabs.js:468:11
[task 2023-05-22T18:21:19.385Z] 18:21:19     INFO - _tabAttrModified@chrome://browser/content/tabbrowser.js:1587:12
[task 2023-05-22T18:21:19.385Z] 18:21:19     INFO - setIcon@chrome://browser/content/tabbrowser.js:1043:14
[task 2023-05-22T18:21:19.385Z] 18:21:19     INFO - swapBrowsersAndCloseOther@chrome://browser/content/tabbrowser.js:4590:16
[task 2023-05-22T18:21:19.385Z] 18:21:19     INFO - swapBrowsers@chrome://browser/content/browser.js:1721:20
[task 2023-05-22T18:21:19.386Z] 18:21:19     INFO - EventListener.handleEvent*onLoad@chrome://browser/content/browser.js:1733:25
[task 2023-05-22T18:21:19.386Z] 18:21:19     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:118:39
[task 2023-05-22T18:21:19.386Z] 18:21:19     INFO - 
[task 2023-05-22T18:21:19.386Z] 18:21:19     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_newtab_towindow.js | about:newtab moved to window - 
[task 2023-05-22T18:21:19.387Z] 18:21:19     INFO - Buffered messages finished
[task 2023-05-22T18:21:19.387Z] 18:21:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_newtab_towindow.js | Test timed out - 
[task 2023-05-22T18:21:24.800Z] 18:21:24     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-22T18:21:24.813Z] 18:21:24     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_newtab_towindow.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":538,"lineNumber":605,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":538,"lineNumber":770,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":538,"lineNumber":1439,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":538,"lineNumber":1381,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":538,"lineNumber":1122,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":564,"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:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"timeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:770:18\ntimeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:605:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:770:18\ntimeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-05-22T18:21:24.813Z] 18:21:24     INFO - Stack trace:
[task 2023-05-22T18:21:24.813Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:605
[task 2023-05-22T18:21:24.813Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:nextTest:770
[task 2023-05-22T18:21:24.813Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1439
[task 2023-05-22T18:21:24.813Z] 18:21:24     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1381
[task 2023-05-22T18:21:24.814Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1122
[task 2023-05-22T18:21:24.814Z] 18:21:24     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-05-22T18:21:24.815Z] 18:21:24     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-22T18:21:24.820Z] 18:21:24     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_newtab_towindow.js | vsync remained enabled at the end of the test. Is there an animation still running? Consider talking to the performance team for tips to solve this. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":538,"lineNumber":606,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":538,"lineNumber":770,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":538,"lineNumber":1439,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":538,"lineNumber":1381,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":538,"lineNumber":1122,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":564,"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:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"timeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:770:18\ntimeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:606:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:770:18\ntimeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-05-22T18:21:24.820Z] 18:21:24     INFO - Stack trace:
[task 2023-05-22T18:21:24.820Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:606
[task 2023-05-22T18:21:24.820Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:nextTest:770
[task 2023-05-22T18:21:24.821Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1439
[task 2023-05-22T18:21:24.821Z] 18:21:24     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1381
[task 2023-05-22T18:21:24.821Z] 18:21:24     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1122
[task 2023-05-22T18:21:24.821Z] 18:21:24     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-05-22T18:21:24.821Z] 18:21:24     INFO - GECKO(4888) | console.error: "Failed to fetch https://spocs.getpocket.com/user: Not one of allowed prefixes (data:)"
[task 2023-05-22T18:21:24.833Z] 18:21:24     INFO - GECKO(4888) | MEMORY STAT | vsize 2104388MB | vsizeMaxContiguous 65253889MB | residentFast 360MB | heapAllocated 137MB
[task 2023-05-22T18:21:24.839Z] 18:21:24     INFO - TEST-OK | browser/components/newtab/test/browser/browser_newtab_towindow.js | took 50538ms
[task 2023-05-22T18:21:24.850Z] 18:21:24     INFO - checking window state
[task 2023-05-22T18:21:24.856Z] 18:21:24     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-22T18:21:24.857Z] 18:21:24     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_newtab_towindow.js | Found a browser window after previous test timed out - 
[task 2023-05-22T18:21:24.857Z] 18:21:24     INFO - GECKO(4888) | must wait for focus
[task 2023-05-22T18:21:24.909Z] 18:21:24     INFO - TEST-START | browser/components/newtab/test/browser/browser_newtab_trigger.js
```