Bug: Intermittent TV uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-04-20 14:03:23+00:00
Resolved: 2022-06-21 16:04:26+00:00

**Filed by:** ccozmuta [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=375145135&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Wjfri2YPR_GoNOBqbbb-eA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Wjfri2YPR_GoNOBqbbb-eA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-04-20T12:35:29.111Z] 12:35:29     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Should not show the dialog for iframe with sandbox allow-scripts allow-top-navigation-by-user-activation - 
[task 2022-04-20T12:35:29.112Z] 12:35:29     INFO - Leaving test bound test_sandbox_blocked_triggers
[task 2022-04-20T12:35:29.113Z] 12:35:29     INFO - Entering test bound test_sandbox_combination
[task 2022-04-20T12:35:29.113Z] 12:35:29     INFO - runSandboxTest options: {"blocked":false,"sandbox":"allow-scripts allow-downloads allow-top-navigation-to-custom-protocols"}
[task 2022-04-20T12:35:29.114Z] 12:35:29     INFO - Buffered messages logged at 12:35:15
[task 2022-04-20T12:35:29.114Z] 12:35:29     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Should show the dialog for sandbox allow-scripts allow-downloads allow-top-navigation-to-custom-protocols - 
[task 2022-04-20T12:35:29.115Z] 12:35:29     INFO - runSandboxTest options: {"blocked":false,"sandbox":"allow-scripts allow-top-navigation allow-top-navigation-to-custom-protocols"}
[task 2022-04-20T12:35:29.115Z] 12:35:29     INFO - Buffered messages logged at 12:35:19
[task 2022-04-20T12:35:29.116Z] 12:35:29     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Should show the dialog for sandbox allow-scripts allow-top-navigation allow-top-navigation-to-custom-protocols - 
[task 2022-04-20T12:35:29.116Z] 12:35:29     INFO - Buffered messages logged at 12:35:20
[task 2022-04-20T12:35:29.117Z] 12:35:29     INFO - runSandboxTest options: {"blocked":true,"sandbox":"allow-scripts allow-modals"}
[task 2022-04-20T12:35:29.117Z] 12:35:29     INFO - Buffered messages logged at 12:35:22
[task 2022-04-20T12:35:29.118Z] 12:35:29     INFO - Console message: [JavaScript Error: "Blocked navigation to custom protocol “mailto:test@example.com” from a sandboxed context." {file: "https://example.com/browser/uriloader/exthandler/tests/mochitest//protocol_custom_sandbox_helper.sjs" line: 0}]
[task 2022-04-20T12:35:29.118Z] 12:35:29     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Should not show the dialog for iframe with sandbox allow-scripts allow-modals - 
[task 2022-04-20T12:35:29.119Z] 12:35:29     INFO - Leaving test bound test_sandbox_combination
[task 2022-04-20T12:35:29.119Z] 12:35:29     INFO - Entering test bound test_sandbox_iframe_redirect
[task 2022-04-20T12:35:29.120Z] 12:35:29     INFO - runSandboxTest options: {"blocked":true,"sandbox":"allow-scripts","triggerMethod":"frameSrcRedirect"}
[task 2022-04-20T12:35:29.120Z] 12:35:29     INFO - Buffered messages logged at 12:35:24
[task 2022-04-20T12:35:29.120Z] 12:35:29     INFO - Console message: [JavaScript Error: "Blocked navigation to custom protocol “mailto:test@example.com” from a sandboxed context." {file: "https://example.com/browser/uriloader/exthandler/tests/mochitest//protocol_custom_sandbox_helper.sjs" line: 0}]
[task 2022-04-20T12:35:29.121Z] 12:35:29     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Should not show the dialog for iframe with sandbox allow-scripts - 
[task 2022-04-20T12:35:29.121Z] 12:35:29     INFO - runSandboxTest options: {"blocked":false,"sandbox":"allow-scripts allow-top-navigation-to-custom-protocols","triggerMethod":"frameSrcRedirect"}
[task 2022-04-20T12:35:29.121Z] 12:35:29     INFO - Buffered messages logged at 12:35:28
[task 2022-04-20T12:35:29.122Z] 12:35:29     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | Should show the dialog for sandbox allow-scripts allow-top-navigation-to-custom-protocols - 
[task 2022-04-20T12:35:29.122Z] 12:35:29     INFO - Leaving test bound test_sandbox_iframe_redirect
[task 2022-04-20T12:35:29.122Z] 12:35:29     INFO - Buffered messages finished
[task 2022-04-20T12:35:29.123Z] 12:35:29     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - 
[task 2022-04-20T12:35:29.123Z] 12:35:29     INFO - GECKO(2179) | MEMORY STAT | vsize 16032MB | residentFast 292MB | heapAllocated 118MB
[task 2022-04-20T12:35:29.123Z] 12:35:29     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_protocol_custom_sandbox.js | took 91321ms
[task 2022-04-20T12:35:29.123Z] 12:35:29     INFO - checking window state
[task 2022-04-20T12:35:29.124Z] 12:35:29     INFO - GECKO(2179) | Completed ShutdownLeaks collections in process 2179
[task 2022-04-20T12:35:29.124Z] 12:35:29     INFO - TEST-START | Shutdown
[task 2022-04-20T12:35:29.124Z] 12:35:29     INFO - Browser Chrome Test Summary
[task 2022-04-20T12:35:29.124Z] 12:35:29     INFO - Passed:  90
[task 2022-04-20T12:35:29.125Z] 12:35:29     INFO - Failed:  1
[task 2022-04-20T12:35:29.125Z] 12:35:29     INFO - Todo:    0
[task 2022-04-20T12:35:29.125Z] 12:35:29     INFO - Mode:    e10s
[task 2022-04-20T12:35:29.126Z] 12:35:29     INFO - *** End BrowserChrome Test Results ***
```