Bug: Intermittent toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | Uncaught exception - AbortError: Actor 'SpecialPowers' destroyed before query 'Spawn' was resolved
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-02-17 00:11:00+00:00
Resolved: 2021-03-16 17:00:30+00:00

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

---
```
[task 2021-02-16T23:40:47.286Z] 23:40:47     INFO - TEST-START | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js
[task 2021-02-16T23:40:48.497Z] 23:40:48     INFO - TEST-INFO | started process screentopng
[task 2021-02-16T23:40:49.243Z] 23:40:49     INFO - TEST-INFO | screentopng: exit 0
[task 2021-02-16T23:40:49.243Z] 23:40:49     INFO - Buffered messages logged at 23:40:47
[task 2021-02-16T23:40:49.244Z] 23:40:49     INFO - Entering test bound 
[task 2021-02-16T23:40:49.244Z] 23:40:49     INFO - Leaving test bound 
[task 2021-02-16T23:40:49.245Z] 23:40:49     INFO - Entering test bound 
[task 2021-02-16T23:40:49.245Z] 23:40:49     INFO - Check that the error pages shows up
[task 2021-02-16T23:40:49.246Z] 23:40:49     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://example.com/” to use “https”."]
[task 2021-02-16T23:40:49.247Z] 23:40:49     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://expired.example.com/” to use “https”."]
[task 2021-02-16T23:40:49.247Z] 23:40:49     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://self-signed.example.com/” to use “https”."]
[task 2021-02-16T23:40:49.248Z] 23:40:49     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://expired.example.com/” failed. (M21-C8181)"]
[task 2021-02-16T23:40:49.249Z] 23:40:49     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://self-signed.example.com/” failed. (M21-C16370)"]
[task 2021-02-16T23:40:49.250Z] 23:40:49     INFO - Loading and waiting for the error page
[task 2021-02-16T23:40:49.250Z] 23:40:49     INFO - Loading and waiting for the error page
[task 2021-02-16T23:40:49.256Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | Should not show error page on upgradeable website. - false == false - 
[task 2021-02-16T23:40:49.257Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | Should show error page on unkown-issuer error. - true == true - 
[task 2021-02-16T23:40:49.257Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | Should show error page on bad-certificate error. - true == true - 
[task 2021-02-16T23:40:49.262Z] 23:40:49     INFO - Leaving test bound 
[task 2021-02-16T23:40:49.263Z] 23:40:49     INFO - Entering test bound 
[task 2021-02-16T23:40:49.263Z] 23:40:49     INFO - Check that the go-back button returns to previous page
[task 2021-02-16T23:40:49.264Z] 23:40:49     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://expired.example.com/” to use “https”."]
[task 2021-02-16T23:40:49.265Z] 23:40:49     INFO - Buffered messages logged at 23:40:48
[task 2021-02-16T23:40:49.266Z] 23:40:49     INFO - Loading and waiting for the error page
[task 2021-02-16T23:40:49.266Z] 23:40:49     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://expired.example.com/” failed. (M21-C8181)"]
[task 2021-02-16T23:40:49.267Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | !webNavigation.canGoBack should be false. - 
[task 2021-02-16T23:40:49.268Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | webNavigation.canGoForward should be false. - 
[task 2021-02-16T23:40:49.275Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | There should be 1 shistory entry. - 
[task 2021-02-16T23:40:49.276Z] 23:40:49     INFO - Buffered messages finished
[task 2021-02-16T23:40:49.277Z] 23:40:49     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | Uncaught exception - AbortError: Actor 'SpecialPowers' destroyed before query 'Spawn' was resolved
[task 2021-02-16T23:40:49.278Z] 23:40:49     INFO - Leaving test bound 
[task 2021-02-16T23:40:49.279Z] 23:40:49     INFO - Entering test bound 
[task 2021-02-16T23:40:49.280Z] 23:40:49     INFO - Check that the go-back button returns to about:home
[task 2021-02-16T23:40:49.283Z] 23:40:49     INFO - Console message: [JavaScript Warning: "HTTPS-Only Mode: Upgrading insecure request “http://expired.example.com/” to use “https”."]
[task 2021-02-16T23:40:49.284Z] 23:40:49     INFO - Console message: [JavaScript Error: "HTTPS-Only Mode: Upgrading insecure request “https://expired.example.com/” failed. (M21-C8181)"]
[task 2021-02-16T23:40:49.286Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | webNavigation.canGoBack should be true before navigation. - 
[task 2021-02-16T23:40:49.287Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | webNavigation.canGoForward should be false before navigation. - 
[task 2021-02-16T23:40:49.288Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | There should be 1 shistory entries. - 
[task 2021-02-16T23:40:49.289Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | webNavigation.canGoBack should be false after navigation. - 
[task 2021-02-16T23:40:49.292Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | webNavigation.canGoForward should be true after navigation. - 
[task 2021-02-16T23:40:49.293Z] 23:40:49     INFO - TEST-PASS | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | Should go back to previous page after button click. - 
[task 2021-02-16T23:40:49.294Z] 23:40:49     INFO - Leaving test bound 
[task 2021-02-16T23:40:49.300Z] 23:40:49     INFO - Console message: [JavaScript Error: "can't access property "getActor", windowGlobal is null" {file: "resource:///actors/AboutReaderParent.jsm" line: 170}]
[task 2021-02-16T23:40:49.301Z] 23:40:49     INFO - updateReaderButton@resource:///actors/AboutReaderParent.jsm:170:17
[task 2021-02-16T23:40:49.302Z] 23:40:49     INFO - onLocationChange@chrome://browser/content/browser.js:5229:23
[task 2021-02-16T23:40:49.304Z] 23:40:49     INFO - callListeners@chrome://browser/content/tabbrowser.js:841:31
[task 2021-02-16T23:40:49.305Z] 23:40:49     INFO - _callProgressListeners@chrome://browser/content/tabbrowser.js:855:22
[task 2021-02-16T23:40:49.305Z] 23:40:49     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1062:12
[task 2021-02-16T23:40:49.306Z] 23:40:49     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5327:16
[task 2021-02-16T23:40:49.307Z] 23:40:49     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:202:14
[task 2021-02-16T23:40:49.308Z] 23:40:49     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:220:7
[task 2021-02-16T23:40:49.309Z] 23:40:49     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:544:11
[task 2021-02-16T23:40:49.310Z] 23:40:49     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:563:35
[task 2021-02-16T23:40:49.310Z] 23:40:49     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:85:11
[task 2021-02-16T23:40:49.311Z] 23:40:49     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:299:7
[task 2021-02-16T23:40:49.312Z] 23:40:49     INFO - _blurTab@chrome://browser/content/tabbrowser.js:3872:31
[task 2021-02-16T23:40:49.313Z] 23:40:49     INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:3520:14
[task 2021-02-16T23:40:49.314Z] 23:40:49     INFO - removeTab@chrome://browser/content/tabbrowser.js:3388:15
[task 2021-02-16T23:40:49.315Z] 23:40:49     INFO - removeTab@resource://testing-common/BrowserTestUtils.jsm:1686:30
[task 2021-02-16T23:40:49.316Z] 23:40:49     INFO - @chrome://mochitests/content/browser/toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js:163:20
[task 2021-02-16T23:40:49.317Z] 23:40:49     INFO - 
[task 2021-02-16T23:40:49.318Z] 23:40:49     INFO - GECKO(31100) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2021-02-16T23:40:49.319Z] 23:40:49     INFO - GECKO(31100) | MEMORY STAT | vsize 2803MB | residentFast 291MB | heapAllocated 110MB
[task 2021-02-16T23:40:49.320Z] 23:40:49     INFO - TEST-OK | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | took 1933ms
[task 2021-02-16T23:40:49.320Z] 23:40:49     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-02-16T23:40:49.321Z] 23:40:49     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/httpsonlyerror/tests/browser/browser_errorpage.js | Found an unexpected tab at the end of test run: https://expired.example.com/ - 
[task 2021-02-16T23:40:49.323Z] 23:40:49     INFO - checking window state```