Bug: Intermittent browser/base/content/test/captivePortal/browser_captivePortalTabReference.js | Test timed out - | Found a tab after previous test timed out: https://expired.example.com/
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-07-06 18:54:17+00:00
Resolved: 2020-08-31 06:35:10+00:00

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

---

[task 2020-07-06T18:21:02.703Z] 18:21:02     INFO - TEST-START | browser/base/content/test/captivePortal/browser_captivePortalTabReference.js
[task 2020-07-06T18:22:33.003Z] 18:22:32     INFO - TEST-PASS | browser/base/content/test/captivePortal/browser_captivePortalTabReference.js | waitForNewTab in openCaptivePortalLoginTab should not have completed at this point if references were held to the old captive portal tab after login/abort. - 
[task 2020-07-06T18:22:33.004Z] 18:22:33     INFO - Leaving test bound bound checkCaptivePortalTabReference
[task 2020-07-06T18:22:33.004Z] 18:22:33     INFO - Entering test bound bound checkCaptivePortalTabReference
[task 2020-07-06T18:22:33.006Z] 18:22:33     INFO - Waiting for captive portal login state to propagate to the content process.
[task 2020-07-06T18:22:33.007Z] 18:22:33     INFO - Captive Portal login state has been set
[task 2020-07-06T18:22:33.008Z] 18:22:33     INFO - Buffered messages logged at 18:21:11
[task 2020-07-06T18:22:33.016Z] 18:22:33     INFO - An error page was opened
[task 2020-07-06T18:22:33.016Z] 18:22:33     INFO - Click on the login button on the captive portal error page
[task 2020-07-06T18:22:33.017Z] 18:22:33     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "cert-error-expired-now" a child element of type "a" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "about:certerror?e=nssBadCert&u=https%3A//expired.example.com/&c=UTF-8&captive=true&d=%20" line: 0}]
[task 2020-07-06T18:22:33.018Z] 18:22:33     INFO - Buffered messages finished
[task 2020-07-06T18:22:33.018Z] 18:22:33     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/captivePortal/browser_captivePortalTabReference.js | Test timed out - 
[task 2020-07-06T18:22:33.018Z] 18:22:33     INFO - GECKO(1687) | MEMORY STAT | vsize 3231MB | residentFast 365MB | heapAllocated 94MB
[task 2020-07-06T18:22:33.019Z] 18:22:33     INFO - TEST-OK | browser/base/content/test/captivePortal/browser_captivePortalTabReference.js | took 90032ms
[task 2020-07-06T18:22:33.019Z] 18:22:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-06T18:22:33.020Z] 18:22:33     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/captivePortal/browser_captivePortalTabReference.js | Found a tab after previous test timed out: https://expired.example.com/ - 
[task 2020-07-06T18:22:33.021Z] 18:22:33     INFO - GECKO(1687) | [Child 1796: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f7bca078800 == 1 [pid = 1796] [id = {722ed0d6-547c-4ea8-b7c7-47b524236d5b}]
[task 2020-07-06T18:22:33.022Z] 18:22:33     INFO - GECKO(1687) | [Child 1796: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f7be6293350) [pid = 1796] [serial = 44] [outer = (nil)]
[task 2020-07-06T18:22:33.023Z] 18:22:33     INFO - GECKO(1687) | [Child 1796: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f7bca07b000) [pid = 1796] [serial = 45] [outer = 0x7f7be6293350]
[task 2020-07-06T18:22:33.023Z] 18:22:33     INFO - GECKO(1687) | [Child 1796: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f7bca0aec00) [pid = 1796] [serial = 46] [outer = 0x7f7be6293350]
[task 2020-07-06T18:22:33.025Z] 18:22:33     INFO - checking window state