Bug: Intermittent browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js | single tracking bug
Status: NEW
Priority: P5
Created: 2024-09-14 05:29:47+00:00
Resolved: 2025-03-03 06:47:14+00:00

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

---
```
[task 2024-09-14T04:57:07.520Z] 04:57:07     INFO - TEST-PASS | browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js | openPortalLoginPageButton has focus - true == true - 
[task 2024-09-14T04:57:07.520Z] 04:57:07     INFO - Clicking the Open Login Page button
[task 2024-09-14T04:57:07.520Z] 04:57:07     INFO - Buffered messages finished
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js | Uncaught exception in test bound checkNoTRRForTabWithRedirect - at chrome://mochitests/content/browser/browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js:114 - TypeError: can't access property "innerText", content.document.body is null
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - Stack trace:
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - @chrome://mochitests/content/browser/browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js:114:20
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - execute@resource://testing-common/SpecialPowersSandbox.sys.mjs:139:12
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - _spawnTask@resource://testing-common/SpecialPowersChild.sys.mjs:1615:15
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - receiveMessage@resource://testing-common/SpecialPowersChild.sys.mjs:254:21
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - JSActor query*receiveMessage@resource://testing-common/SpecialPowersParent.sys.mjs:1383:14
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - JSActor query*spawn@resource://testing-common/SpecialPowersChild.sys.mjs:1544:17
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - openAndCheck@chrome://mochitests/content/browser/browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js:109:23
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - async*checkNoTRRForTabWithRedirect@chrome://mochitests/content/browser/browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js:189:9
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-09-14T04:57:07.521Z] 04:57:07     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-09-14T04:57:07.692Z] 04:57:07     INFO - Leaving test bound checkNoTRRForTabWithRedirect
[task 2024-09-14T04:57:07.693Z] 04:57:07     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.net:34517/redir" line: 0}]
[task 2024-09-14T04:57:07.993Z] 04:57:07     INFO - GECKO(1095) | MEMORY STAT | vsize 11448MB | residentFast 472MB | heapAllocated 328MB
[task 2024-09-14T04:57:07.994Z] 04:57:07     INFO - TEST-OK | browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js | took 3677ms
[task 2024-09-14T04:57:07.995Z] 04:57:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-14T04:57:07.995Z] 04:57:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js | Found an unexpected tab at the end of test run: http://example.net:34517/redir - 
[task 2024-09-14T04:57:08.005Z] 04:57:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-14T04:57:08.005Z] 04:57:08     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js | Found an unexpected tab at the end of test run: https://expired.example.com/ - 
[task 2024-09-14T04:57:08.022Z] 04:57:08     INFO - checking window state
[task 2024-09-14T04:57:08.023Z] 04:57:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-09-14T04:57:08.024Z] 04:57:08     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/captivePortal/browser_captivePortal_trr_mode3.js | Found an unexpected browser window at the end of test run - 
[task 2024-09-14T04:57:08.082Z] 04:57:08     INFO - TEST-START | browser/base/content/test/captivePortal/browser_closeCapPortalTabCanonicalURL.js
```