Bug: Intermittent browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-08-02 04:35:44+00:00
Resolved: 2023-06-23 12:03:11+00:00

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

---
```
[task 2022-08-02T03:41:32.961Z] 03:41:32     INFO - TEST-START | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js
[task 2022-08-02T03:41:33.064Z] 03:41:33     INFO - GECKO(4821) | 1659411693063	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-08-02T03:41:42.156Z] 03:41:42     INFO - TEST-INFO | started process screencapture
[task 2022-08-02T03:41:42.296Z] 03:41:42     INFO - TEST-INFO | screencapture: exit 0
[task 2022-08-02T03:41:42.297Z] 03:41:42     INFO - Buffered messages logged at 03:41:32
[task 2022-08-02T03:41:42.297Z] 03:41:42     INFO - Entering setup bound 
[task 2022-08-02T03:41:42.297Z] 03:41:42     INFO - Buffered messages logged at 03:41:33
[task 2022-08-02T03:41:42.297Z] 03:41:42     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2022-08-02T03:41:42.297Z] 03:41:42     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/document-builder.sjs?html=%0A%3Chtml%3E%0A%3Chead%3E%0A%20%20%3Cscript%3E%0A%20%20%20%20window.onbeforeunload%20=%20function()%20%7B%0A%20%20%20%20%20%20return%20true;%0A%20%20%20%20%7D;%0A%20%20%3C/script%3E%0A%3C/head%3E%0A%3Cbody%3ETEST%20PAGE%3C/body%3E%0A%3C/html%3E%0A" line: 0}]
[task 2022-08-02T03:41:42.298Z] 03:41:42     INFO - Leaving setup bound 
[task 2022-08-02T03:41:42.298Z] 03:41:42     INFO - Entering test bound test_runBeforeUnloadForTabs
[task 2022-08-02T03:41:42.298Z] 03:41:42     INFO - TEST-PASS | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | Should have reported the unload was blocked - true == true - 
[task 2022-08-02T03:41:42.298Z] 03:41:42     INFO - TEST-PASS | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | Should have left all tabs open - 2 == 2 - 
[task 2022-08-02T03:41:42.298Z] 03:41:42     INFO - TEST-PASS | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | Should have reported the unload was not blocked - true == true - 
[task 2022-08-02T03:41:42.298Z] 03:41:42     INFO - TEST-PASS | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | Should have left all tabs open - 2 == 2 - 
[task 2022-08-02T03:41:42.298Z] 03:41:42     INFO - Leaving test bound test_runBeforeUnloadForTabs
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - Entering test bound test_skipPermitUnload
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - TEST-PASS | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | Should have left one tab open - 1 == 1 - 
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - Leaving test bound test_skipPermitUnload
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - Buffered messages finished
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - JS frame :: chrome://mochikit/content/browser-test.js :: ensureVsyncDisabled :: line 575
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - Stack trace:
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:575
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.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 - JS frame :: chrome://mochikit/content/browser-test.js :: ensureVsyncDisabled :: line 576
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - Stack trace:
[task 2022-08-02T03:41:42.299Z] 03:41:42     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:576
[task 2022-08-02T03:41:42.300Z] 03:41:42     INFO - GECKO(4821) | MEMORY STAT | vsize 419103MB | residentFast 580MB | heapAllocated 174MB
[task 2022-08-02T03:41:42.300Z] 03:41:42     INFO - TEST-OK | browser/base/content/test/tabs/browser_removeTabs_skipPermitUnload.js | took 9199ms
[task 2022-08-02T03:41:42.300Z] 03:41:42     INFO - checking window state
[task 2022-08-02T03:41:42.300Z] 03:41:42     INFO - TEST-START | browser/base/content/test/tabs/browser_replacewithwindow_commands.js
```