Bug: High freq browser/base/content/test/about/browser_aboutCertError.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-09-02 01:02:21+00:00
Resolved: 2022-09-02 22:28:02+00:00

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

---
```
[task 2022-09-02T00:02:06.346Z] 00:02:06     INFO - TEST-START | browser/base/content/test/about/browser_aboutCertError.js
[task 2022-09-02T00:02:07.440Z] 00:02:07     INFO - TEST-INFO | started process screenshot
[task 2022-09-02T00:02:07.540Z] 00:02:07     INFO - TEST-INFO | screenshot: exit 0
[task 2022-09-02T00:02:07.555Z] 00:02:07     INFO - Buffered messages logged at 00:02:06
[task 2022-09-02T00:02:07.555Z] 00:02:07     INFO - Entering test bound checkReturnToAboutHome
[task 2022-09-02T00:02:07.556Z] 00:02:07     INFO - Loading a bad cert page directly and making sure 'return to previous page' goes to about:home
[task 2022-09-02T00:02:07.556Z] 00:02:07     INFO - Loading and waiting for the cert error
[task 2022-09-02T00:02:07.557Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | !webNavigation.canGoBack - 
[task 2022-09-02T00:02:07.557Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | !webNavigation.canGoForward - 
[task 2022-09-02T00:02:07.558Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | there is one shistory entry - 
[task 2022-09-02T00:02:07.559Z] 00:02:07     INFO - Clicking the go back button on about:certerror
[task 2022-09-02T00:02:07.560Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | returnButton has focus - true == true - 
[task 2022-09-02T00:02:07.560Z] 00:02:07     INFO - Global property added while loading chrome://browser/content/places/browserPlacesViews.js: PlacesViewBase
[task 2022-09-02T00:02:07.561Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | webNavigation.canGoBack - 
[task 2022-09-02T00:02:07.562Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | !webNavigation.canGoForward - 
[task 2022-09-02T00:02:07.562Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Went back - 
[task 2022-09-02T00:02:07.563Z] 00:02:07     INFO - Loading cert error page in an iframe
[task 2022-09-02T00:02:07.563Z] 00:02:07     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/browser/browser/base/content/test/about/dummy_page.html" line: 0}]
[task 2022-09-02T00:02:07.564Z] 00:02:07     INFO - Buffered messages logged at 00:02:07
[task 2022-09-02T00:02:07.565Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | !webNavigation.canGoBack - 
[task 2022-09-02T00:02:07.566Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | !webNavigation.canGoForward - 
[task 2022-09-02T00:02:07.566Z] 00:02:07     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | there is one shistory entry - 
[task 2022-09-02T00:02:07.567Z] 00:02:07     INFO - Clicking the go back button on about:certerror
[task 2022-09-02T00:02:07.567Z] 00:02:07     INFO - Buffered messages finished
[task 2022-09-02T00:02:07.568Z] 00:02:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutCertError.js | Uncaught exception in test - at resource://specialpowers/SpecialPowersChild.jsm:1515 - TypeError: BrowsingContext.getFromWindow: Argument 1 does not implement interface WindowProxy.
[task 2022-09-02T00:02:07.568Z] 00:02:07     INFO - Stack trace:
[task 2022-09-02T00:02:07.568Z] 00:02:07     INFO - _browsingContextForTarget@resource://specialpowers/SpecialPowersChild.jsm:1515:28
[task 2022-09-02T00:02:07.569Z] 00:02:07     INFO - spawn@resource://specialpowers/SpecialPowersChild.jsm:1567:32
[task 2022-09-02T00:02:07.569Z] 00:02:07     INFO - checkReturnToAboutHome@chrome://mochitests/content/browser/browser/base/content/test/about/browser_aboutCertError.js:48:25
[task 2022-09-02T00:02:07.570Z] 00:02:07     INFO - Leaving test bound checkReturnToAboutHome
[task 2022-09-02T00:02:07.570Z] 00:02:07     INFO - Entering test bound checkReturnToPreviousPage
[task 2022-09-02T00:02:07.571Z] 00:02:07     INFO - Loading a bad cert page and making sure 'return to previous page' goes back
[task 2022-09-02T00:02:07.571Z] 00:02:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-02T00:02:07.575Z] 00:02:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutCertError.js | uncaught exception - TypeError: can't access property "hasLayers", initialBrowser.frameLoader.remoteTab is null at AsyncTabSwitcher@resource:///modules/AsyncTabSwitcher.jsm:170:1
[task 2022-09-02T00:02:07.575Z] 00:02:07     INFO - _getSwitcher@chrome://browser/content/tabbrowser.js:5340:26
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1075:16
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5791:16
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:204:14
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:222:7
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:546:11
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:565:35
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:82:11
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:309:7
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.jsm:253:61
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - switchTab@resource://testing-common/BrowserTestUtils.jsm:391:7
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.jsm:248:26
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - checkReturnToPreviousPage@chrome://mochitests/content/browser/browser/base/content/test/about/browser_aboutCertError.js:91:36
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - handleTask@chrome://mochikit/content/browser-test.js:1028:26
[task 2022-09-02T00:02:07.576Z] 00:02:07     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1100:18
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - 
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - Stack trace:
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1965
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:204
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://global/content/elements/tabbox.js:set selectedPanel:222
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:546
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://global/content/elements/tabbox.js:set selectedItem:565
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://global/content/elements/tabbox.js:set selectedTab:82
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://browser/content/tabbrowser.js:set selectedTab:309
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - resource://testing-common/BrowserTestUtils.jsm:openNewForegroundTab/promises<:253
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - resource://testing-common/BrowserTestUtils.jsm:switchTab:391
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - resource://testing-common/BrowserTestUtils.jsm:openNewForegroundTab:248
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://mochitests/content/browser/browser/base/content/test/about/browser_aboutCertError.js:checkReturnToPreviousPage:91
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://mochikit/content/browser-test.js:handleTask:1028
[task 2022-09-02T00:02:07.577Z] 00:02:07     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1100
[task 2022-09-02T00:02:07.578Z] 00:02:07     INFO - GECKO(7568) | JavaScript error: resource:///modules/AsyncTabSwitcher.jsm, line 170: TypeError: can't access property "hasLayers", initialBrowser.frameLoader.remoteTab is null
[task 2022-09-02T00:02:07.578Z] 00:02:07     INFO - GECKO(7568) | Assertion failure
[task 2022-09-02T00:02:07.579Z] 00:02:07     INFO - GECKO(7568) | assert@resource:///modules/AsyncTabSwitcher.jsm:500:36
[task 2022-09-02T00:02:07.579Z] 00:02:07     INFO - GECKO(7568) | preActions@resource:///modules/AsyncTabSwitcher.jsm:567:10
[task 2022-09-02T00:02:07.580Z] 00:02:07     INFO - GECKO(7568) | handleEvent@resource:///modules/AsyncTabSwitcher.jsm:1089:12
[task 2022-09-02T00:02:07.580Z] 00:02:07     INFO - GECKO(7568) | updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:2049:11
[task 2022-09-02T00:02:07.581Z] 00:02:07     INFO - GECKO(7568) | sendToTabCrashedPage@resource:///modules/ContentCrashHandlers.jsm:557:14
[task 2022-09-02T00:02:07.582Z] 00:02:07     INFO - GECKO(7568) | flushCrashedBrowserQueue@resource:///modules/ContentCrashHandlers.jsm:233:16
[task 2022-09-02T00:02:07.582Z] 00:02:07     INFO - GECKO(7568) | observe@resource:///modules/ContentCrashHandlers.jsm:149:19
[task 2022-09-02T00:02:07.583Z] 00:02:07     INFO - GECKO(7568) | Assertion failure
[task 2022-09-02T00:02:07.583Z] 00:02:07     INFO - GECKO(7568) | assert@resource:///modules/AsyncTabSwitcher.jsm:500:36
[task 2022-09-02T00:02:07.584Z] 00:02:07     INFO - GECKO(7568) | preActions@resource:///modules/AsyncTabSwitcher.jsm:568:10
[task 2022-09-02T00:02:07.584Z] 00:02:07     INFO - GECKO(7568) | handleEvent@resource:///modules/AsyncTabSwitcher.jsm:1089:12
[task 2022-09-02T00:02:07.585Z] 00:02:07     INFO - GECKO(7568) | updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:2049:11
[task 2022-09-02T00:02:07.585Z] 00:02:07     INFO - GECKO(7568) | sendToTabCrashedPage@resource:///modules/ContentCrashHandlers.jsm:557:14
[task 2022-09-02T00:02:07.586Z] 00:02:07     INFO - GECKO(7568) | flushCrashedBrowserQueue@resource:///modules/ContentCrashHandlers.jsm:233:16
[task 2022-09-02T00:02:07.586Z] 00:02:07     INFO - GECKO(7568) | observe@resource:///modules/ContentCrashHandlers.jsm:149:19
[task 2022-09-02T00:02:07.586Z] 00:02:07     INFO - Console message: [JavaScript Error: "remote browser crashed while on https://example.com/browser/browser/base/content/test/about/dummy_page.html
[task 2022-09-02T00:02:07.586Z] 00:02:07     INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2022-09-02T00:02:07.586Z] 00:02:07     INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
```