Bug: Intermittent browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2023-04-03 14:38:15+00:00
Resolved: 2025-03-03 06:28:16+00:00

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

---
```
[task 2023-04-03T13:20:29.488Z] 13:20:29     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Correct location is provided by the prompt - "https://example.org/browser/browser/base/content/test/tabPrompts/auth-route.sjs" == "https://example.org/browser/browser/base/content/test/tabPrompts/auth-route.sjs" - 
[task 2023-04-03T13:20:29.489Z] 13:20:29     INFO - Buffered messages finished
[task 2023-04-03T13:20:29.491Z] 13:20:29     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Tab title is manipulated - "example.com" == "example.org" - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js","name":"waitForDialog","sourceId":586,"lineNumber":66,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"waitForDialog@chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js:66:14\n","nativeSavedFrame":{}}
[task 2023-04-03T13:20:29.491Z] 13:20:29     INFO - Stack trace:
[task 2023-04-03T13:20:29.491Z] 13:20:29     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js:waitForDialog:66
[task 2023-04-03T13:20:29.492Z] 13:20:29     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.org/" line: 0}]
[task 2023-04-03T13:20:29.493Z] 13:20:29     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | No location is provided by the prompt, correct location is displayed - "https://example.org" == "https://example.org" - 
[task 2023-04-03T13:20:29.494Z] 13:20:29     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Tab title is not manipulated - "mochitest index /" == "mochitest index /" - 
[task 2023-04-03T13:20:29.495Z] 13:20:29     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Correct location is provided by the prompt - "https://example.org/browser/browser/base/content/test/tabPrompts/auth-route.sjs" == "https://example.org/browser/browser/base/content/test/tabPrompts/auth-route.sjs" - 
[task 2023-04-03T13:20:29.497Z] 13:20:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-03T13:20:29.498Z] 13:20:29     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Tab title is manipulated - "example.com" == "example.org" - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js","name":"waitForDialog","sourceId":586,"lineNumber":93,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"waitForDialog@chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js:93:14\n","nativeSavedFrame":{}}
[task 2023-04-03T13:20:29.498Z] 13:20:29     INFO - Stack trace:
[task 2023-04-03T13:20:29.498Z] 13:20:29     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js:waitForDialog:93
[task 2023-04-03T13:20:29.499Z] 13:20:29     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | User typed value is shown - "user value" == "user value" - 
[task 2023-04-03T13:20:29.500Z] 13:20:29     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Correct location is provided by the prompt - "https://example.org/browser/browser/base/content/test/tabPrompts/auth-route.sjs" == "https://example.org/browser/browser/base/content/test/tabPrompts/auth-route.sjs" - 
[task 2023-04-03T13:20:29.580Z] 13:20:29     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | No location is provided by the prompt - "https://example.com/browser/browser/base/content/test/tabPrompts/redirect-crossDomain.html" == "https://example.com/browser/browser/base/content/test/tabPrompts/redirect-crossDomain.html" - 
[task 2023-04-03T13:20:29.584Z] 13:20:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-03T13:20:29.586Z] 13:20:29     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Tab title is not manipulated - "example.com/browser/browser/base/content/test/tabPrompts/redirect-crossDomain.html" == "example.com" - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js","name":"waitForDialog","sourceId":586,"lineNumber":173,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"waitForDialog@chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js:173:10\n","nativeSavedFrame":{}}
[task 2023-04-03T13:20:29.586Z] 13:20:29     INFO - Stack trace:
[task 2023-04-03T13:20:29.586Z] 13:20:29     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js:waitForDialog:173
[task 2023-04-03T13:20:29.680Z] 13:20:29     INFO - GECKO(8643) | JavaScript error: resource://gre/modules/XULStore.jsm, line 58: Error: Can't find profile directory.
[task 2023-04-03T13:20:29.729Z] 13:20:29     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 58}]
[task 2023-04-03T13:20:29.729Z] 13:20:29     INFO - load@resource://gre/modules/XULStore.jsm:58:15
[task 2023-04-03T13:20:29.729Z] 13:20:29     INFO - XULStore@resource://gre/modules/XULStore.jsm:17:10
[task 2023-04-03T13:20:29.729Z] 13:20:29     INFO - 
[task 2023-04-03T13:20:29.803Z] 13:20:29     INFO - Leaving test bound testCrossDomainCancelPrefEnabled
[task 2023-04-03T13:20:29.805Z] 13:20:29     INFO - Entering test bound testCrossDomainAcceptPrefEnabled
[task 2023-04-03T13:20:30.079Z] 13:20:30     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_auth_spoofing_protection.js | Dialog overlay hides the current sites content - "true" == "true" - 
```