Bug: Intermittent TV browser/components/shell/test/browser_setDefaultPDFHandler.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-09-13 06:38:55+00:00
Resolved: 2023-10-13 04:50:41+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=428940617&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/L30PBQ3WSsW4r10KC3YspQ/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/L30PBQ3WSsW4r10KC3YspQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-09-13T04:27:04.882Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.883Z] 04:27:04     INFO - Buffered messages finished
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | false == true - {"filename":"chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js","name":"remoteEnableWithPDF","sourceId":625,"lineNumber":85,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":554,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":554,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":554,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":554,"lineNumber":1114,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":578,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"remoteEnableWithPDF@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:85:10\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:remoteEnableWithPDF:85
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1114
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-09-13T04:27:04.889Z] 04:27:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-13T04:27:04.890Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Uncaught exception in test bound remoteEnableWithPDF - at chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:87 - TypeError: can't access property "args", mockedDefaultAgent.setDefaultBrowserUserChoice.firstCall is null
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - remoteEnableWithPDF@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:87:1
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1114:14
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-13T04:27:04.891Z] 04:27:04     INFO - Leaving test bound remoteEnableWithPDF
[task 2023-09-13T04:27:04.892Z] 04:27:04     INFO - Entering test bound remoteEnableWithPDF_testOnlyReplaceBrowsers
[task 2023-09-13T04:27:04.892Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.892Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.894Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.894Z] 04:27:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | false == true - {"filename":"chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js","name":"remoteEnableWithPDF_testOnlyReplaceBrowsers","sourceId":625,"lineNumber":129,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":554,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":554,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":554,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":554,"lineNumber":1114,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":578,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"remoteEnableWithPDF_testOnlyReplaceBrowsers@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:129:12\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:remoteEnableWithPDF_testOnlyReplaceBrowsers:129
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1114
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-09-13T04:27:04.898Z] 04:27:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Uncaught exception in test bound remoteEnableWithPDF_testOnlyReplaceBrowsers - at chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:131 - TypeError: can't access property "args", mockedDefaultAgent.setDefaultBrowserUserChoice.firstCall is null
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - remoteEnableWithPDF_testOnlyReplaceBrowsers@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:131:1
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1114:14
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-13T04:27:04.901Z] 04:27:04     INFO - Leaving test bound remoteEnableWithPDF_testOnlyReplaceBrowsers
[task 2023-09-13T04:27:04.902Z] 04:27:04     INFO - Entering test bound remoteEnableWithoutPDF
[task 2023-09-13T04:27:04.902Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.902Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | false == false - 
[task 2023-09-13T04:27:04.903Z] 04:27:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-13T04:27:04.907Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | false == true - {"filename":"chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js","name":"remoteEnableWithoutPDF","sourceId":625,"lineNumber":176,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":554,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":554,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":554,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":554,"lineNumber":1114,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":578,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"remoteEnableWithoutPDF@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:176:10\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-09-13T04:27:04.907Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.907Z] 04:27:04     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:remoteEnableWithoutPDF:176
[task 2023-09-13T04:27:04.909Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-09-13T04:27:04.909Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-09-13T04:27:04.909Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-09-13T04:27:04.909Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1114
[task 2023-09-13T04:27:04.909Z] 04:27:04     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-09-13T04:27:04.909Z] 04:27:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Uncaught exception in test bound remoteEnableWithoutPDF - at chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:178 - TypeError: can't access property "args", mockedDefaultAgent.setDefaultBrowserUserChoice.firstCall is null
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - remoteEnableWithoutPDF@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:178:1
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1114:14
[task 2023-09-13T04:27:04.910Z] 04:27:04     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-13T04:27:04.913Z] 04:27:04     INFO - Leaving test bound remoteEnableWithoutPDF
[task 2023-09-13T04:27:04.913Z] 04:27:04     INFO - Entering test bound remoteDisable
[task 2023-09-13T04:27:04.913Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | false == false - 
[task 2023-09-13T04:27:04.913Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.917Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.917Z] 04:27:04     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-09-13T04:27:04.918Z] 04:27:04     INFO - Leaving test bound remoteDisable
[task 2023-09-13T04:27:04.918Z] 04:27:04     INFO - Entering test bound test_setAsDefaultPDFHandler_knownBrowser
[task 2023-09-13T04:27:04.919Z] 04:27:04     INFO - Testing setAsDefaultPDFHandler(true) when knownBrowser = true
[task 2023-09-13T04:27:04.919Z] 04:27:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-13T04:27:04.926Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Called default browser agent - false == true - {"filename":"chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js","name":"test_setAsDefaultPDFHandler_knownBrowser","sourceId":625,"lineNumber":227,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":554,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":554,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":554,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":554,"lineNumber":1114,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":578,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"test_setAsDefaultPDFHandler_knownBrowser@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:227:12\nhandleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1114:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-09-13T04:27:04.926Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.926Z] 04:27:04     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:test_setAsDefaultPDFHandler_knownBrowser:227
[task 2023-09-13T04:27:04.926Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-09-13T04:27:04.926Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-09-13T04:27:04.926Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1114
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Uncaught exception in test bound test_setAsDefaultPDFHandler_knownBrowser - at chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:232 - TypeError: can't access property "args", mockedDefaultAgent.setDefaultExtensionHandlersUserChoice.firstCall is null
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Stack trace:
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - test_setAsDefaultPDFHandler_knownBrowser@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:232:1
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1114:14
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Leaving test bound test_setAsDefaultPDFHandler_knownBrowser
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - GECKO(4144) | MEMORY STAT | vsize 939MB | vsizeMaxContiguous 1293MB | residentFast 254MB | heapAllocated 130MB
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - TEST-OK | browser/components/shell/test/browser_setDefaultPDFHandler.js | took 391ms
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - checking window state
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - GECKO(4144) | Completed ShutdownLeaks collections in process 5852
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - TEST-START | Shutdown
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Browser Chrome Test Summary
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Passed:  42
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Failed:  8
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Todo:    0
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - Mode:    e10s
[task 2023-09-13T04:27:04.946Z] 04:27:04     INFO - *** End BrowserChrome Test Results ***
[task 2023-09-13T04:27:04.971Z] 04:27:04     INFO - TEST-INFO | Main app process: exit 0
[task 2023-09-13T04:27:04.972Z] 04:27:04     INFO - runtests.py | Application ran for: 0:00:07.252590
```