Bug: Intermittent browser/base/content/test/general/browser_restore_isAppTab.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-08-02 01:40:04+00:00
Resolved: 2023-06-23 12:03:51+00:00

**Filed by:** apavel [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=386061895&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RwxDcGLwQO2f-MaFhkLSkQ/runs/1/artifacts/public/logs/live_backing.log

---
```
[task 2022-08-02T00:09:32.934Z] 00:09:32     INFO - TEST-START | browser/base/content/test/general/browser_restore_isAppTab.js
[task 2022-08-02T00:09:32.968Z] 00:09:32     INFO - GECKO(1636) | Waiting for browser load
[task 2022-08-02T00:09:32.969Z] 00:09:32     INFO - GECKO(1636) | Waiting for browser state change
[task 2022-08-02T00:09:32.991Z] 00:09:32     INFO - GECKO(1636) | Saw state 110001 and status 0
[task 2022-08-02T00:09:33.032Z] 00:09:33     INFO - GECKO(1636) | Saw state c0010 and status 0
[task 2022-08-02T00:09:33.032Z] 00:09:33     INFO - GECKO(1636) | Browser got expected state change about:robots
[task 2022-08-02T00:09:33.044Z] 00:09:33     INFO - GECKO(1636) | Waiting for browser load
[task 2022-08-02T00:09:33.045Z] 00:09:33     INFO - GECKO(1636) | Waiting for browser state change
[task 2022-08-02T00:09:33.052Z] 00:09:33     INFO - GECKO(1636) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 378: TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null
[task 2022-08-02T00:09:33.187Z] 00:09:33     INFO - GECKO(1636) | Saw state c0010 and status 0
[task 2022-08-02T00:09:33.188Z] 00:09:33     INFO - GECKO(1636) | Browser got expected state change http://example.com/browser/browser/base/content/test/general/dummy_page.html
[task 2022-08-02T00:09:33.203Z] 00:09:33     INFO - GECKO(1636) | Waiting for browser load
[task 2022-08-02T00:09:33.203Z] 00:09:33     INFO - GECKO(1636) | Waiting for browser state change
[task 2022-08-02T00:09:33.204Z] 00:09:33     INFO - GECKO(1636) | Saw state f0001 and status 0
[task 2022-08-02T00:09:33.263Z] 00:09:33     INFO - GECKO(1636) | Saw state c0010 and status 0
[task 2022-08-02T00:09:33.263Z] 00:09:33     INFO - GECKO(1636) | Browser got expected state change about:robots
[task 2022-08-02T00:09:33.366Z] 00:09:33     INFO - GECKO(1636) | Waiting for browser load
[task 2022-08-02T00:09:33.367Z] 00:09:33     INFO - GECKO(1636) | Waiting for browser state change
[task 2022-08-02T00:09:33.432Z] 00:09:33     INFO - GECKO(1636) | Saw state f0001 and status 0
[task 2022-08-02T00:09:33.618Z] 00:09:33     INFO - GECKO(1636) | Saw state c0010 and status 0
[task 2022-08-02T00:09:33.619Z] 00:09:33     INFO - GECKO(1636) | Browser got expected state change http://example.com/browser/browser/base/content/test/general/dummy_page.html
[task 2022-08-02T00:09:33.681Z] 00:09:33     INFO - GECKO(1636) | Et tu, Brute?
[task 2022-08-02T00:09:34.156Z] 00:09:34     INFO - GECKO(1636) | Crash cleaned up
[task 2022-08-02T00:09:34.194Z] 00:09:34     INFO - GECKO(1636) | about:tabcrashed loaded and ready
[task 2022-08-02T00:09:39.773Z] 00:09:39     INFO - TEST-INFO | started process screentopng
[task 2022-08-02T00:09:40.051Z] 00:09:40     INFO - TEST-INFO | screentopng: exit 0
[task 2022-08-02T00:09:40.054Z] 00:09:40     INFO - Buffered messages logged at 00:09:32
[task 2022-08-02T00:09:40.054Z] 00:09:40     INFO - Entering test bound navigate
[task 2022-08-02T00:09:40.054Z] 00:09:40     INFO - Buffered messages logged at 00:09:33
[task 2022-08-02T00:09:40.054Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell shouldn't think it is an app tab - 
[task 2022-08-02T00:09:40.059Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell should think it is an app tab - 
[task 2022-08-02T00:09:40.060Z] 00:09:40     INFO - Console message: [JavaScript Error: "TypeError: can't access property "schemeIs", requestedBrowser.currentURI is null" {file: "resource:///modules/AsyncTabSwitcher.jsm" line: 378}]
[task 2022-08-02T00:09:40.060Z] 00:09:40     INFO - updateDisplay@resource:///modules/AsyncTabSwitcher.jsm:378:26
[task 2022-08-02T00:09:40.061Z] 00:09:40     INFO - postActions@resource:///modules/AsyncTabSwitcher.jsm:673:10
[task 2022-08-02T00:09:40.061Z] 00:09:40     INFO - handleEvent@resource:///modules/AsyncTabSwitcher.jsm:1127:12
[task 2022-08-02T00:09:40.061Z] 00:09:40     INFO - 
[task 2022-08-02T00:09:40.062Z] 00:09:40     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/browser/browser/base/content/test/general/dummy_page.html" line: 0}]
[task 2022-08-02T00:09:40.062Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell should think it is an app tab - 
[task 2022-08-02T00:09:40.064Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell shouldn't think it is an app tab - 
[task 2022-08-02T00:09:40.065Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell should think it is an app tab - 
[task 2022-08-02T00:09:40.066Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell should think it is an app tab - 
[task 2022-08-02T00:09:40.066Z] 00:09:40     INFO - Leaving test bound navigate
[task 2022-08-02T00:09:40.067Z] 00:09:40     INFO - Entering test bound crash
[task 2022-08-02T00:09:40.069Z] 00:09:40     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/browser/browser/base/content/test/general/dummy_page.html" line: 0}]
[task 2022-08-02T00:09:40.071Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell shouldn't think it is an app tab - 
[task 2022-08-02T00:09:40.072Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell should think it is an app tab - 
[task 2022-08-02T00:09:40.073Z] 00:09:40     INFO - Buffered messages logged at 00:09:34
[task 2022-08-02T00:09:40.074Z] 00:09:40     INFO - Console message: [JavaScript Error: "remote browser crashed while on http://example.com/browser/browser/base/content/test/general/dummy_page.html
[task 2022-08-02T00:09:40.074Z] 00:09:40     INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2022-08-02T00:09:40.075Z] 00:09:40     INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
[task 2022-08-02T00:09:40.076Z] 00:09:40     INFO - 
[task 2022-08-02T00:09:40.077Z] 00:09:40     INFO - Wait tab event: load
[task 2022-08-02T00:09:40.081Z] 00:09:40     INFO - Tab event received: load
[task 2022-08-02T00:09:40.082Z] 00:09:40     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/browser/browser/base/content/test/general/dummy_page.html" line: 0}]
[task 2022-08-02T00:09:40.083Z] 00:09:40     INFO - TEST-PASS | browser/base/content/test/general/browser_restore_isAppTab.js | Docshell should think it is an app tab - 
[task 2022-08-02T00:09:40.083Z] 00:09:40     INFO - Leaving test bound crash
[task 2022-08-02T00:09:40.084Z] 00:09:40     INFO - Buffered messages finished
[task 2022-08-02T00:09:40.084Z] 00:09:40     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_restore_isAppTab.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-02T00:09:40.085Z] 00:09:40     INFO - Stack trace:
[task 2022-08-02T00:09:40.085Z] 00:09:40     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:575
[task 2022-08-02T00:09:40.086Z] 00:09:40     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-08-02T00:09:40.087Z] 00:09:40     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_restore_isAppTab.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-02T00:09:40.087Z] 00:09:40     INFO - Stack trace:
[task 2022-08-02T00:09:40.087Z] 00:09:40     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:576
[task 2022-08-02T00:09:40.088Z] 00:09:40     INFO - GECKO(1636) | MEMORY STAT | vsize 29018MB | residentFast 714MB | heapAllocated 498MB
[task 2022-08-02T00:09:40.088Z] 00:09:40     INFO - TEST-OK | browser/base/content/test/general/browser_restore_isAppTab.js | took 6847ms
[task 2022-08-02T00:09:40.088Z] 00:09:40     INFO - checking window state
```