Bug: Intermittent toolkit/components/translations/tests/browser/browser_translations_pdf_is_disabled.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2025-01-12 10:58:47+00:00
Resolved: 2025-02-10 12:12:36+00:00

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

---
```
TEST-START | toolkit/components/translations/tests/browser/browser_translations_pdf_is_disabled.js
[task 2025-01-12T10:21:20.541Z] 10:21:20     INFO - GECKO(9804) | console.log: Translations: "Mocking RemoteSettings for the translations engine."
[task 2025-01-12T10:21:20.551Z] 10:21:20     INFO - GECKO(9804) | [Child 1004: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL db6d500 == 2 [pid = 1004] [id = 20]
<...>
INFO - GECKO(9804) | [Parent 8360, Jump List #2] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/widget/windows/WinUtils.cpp:958
[task 2025-01-12T10:22:50.473Z] 10:22:50     INFO - TEST-INFO | started process screenshot
[task 2025-01-12T10:22:50.691Z] 10:22:50     INFO - TEST-INFO | screenshot: exit 0
[task 2025-01-12T10:22:50.691Z] 10:22:50     INFO - Buffered messages logged at 10:21:20
[task 2025-01-12T10:22:50.691Z] 10:22:50     INFO - Entering test bound test_translations_button_disabled_in_pdf
[task 2025-01-12T10:22:50.693Z] 10:22:50     INFO - Loading test page starting at url: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-pdf-file.pdf
[task 2025-01-12T10:22:50.697Z] 10:22:50     INFO - Buffered messages finished
[task 2025-01-12T10:22:50.698Z] 10:22:50     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_pdf_is_disabled.js | Test timed out - 
[task 2025-01-12T10:22:50.698Z] 10:22:50     INFO - GECKO(9804) | Completed ShutdownLeaks collections in process 8360
[task 2025-01-12T10:22:50.699Z] 10:22:50     INFO - TEST-START | Shutdown
[task 2025-01-12T10:22:50.699Z] 10:22:50     INFO - Browser Chrome Test Summary
[task 2025-01-12T10:22:50.699Z] 10:22:50     INFO - Passed:  340
[task 2025-01-12T10:22:50.700Z] 10:22:50     INFO - Failed:  1
[task 2025-01-12T10:22:50.701Z] 10:22:50     INFO - Todo:    0
[task 2025-01-12T10:22:50.702Z] 10:22:50     INFO - Mode:    e10s
[task 2025-01-12T10:22:50.703Z] 10:22:50     INFO - *** End BrowserChrome Test Results ***
[task 2025-01-12T10:22:50.703Z] 10:22:50     INFO - GECKO(9804) | [Child 6008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL b871400 == 4 [pid = 6008] [id = 4] [url = moz-extension://8a6c8d8a-88c8-414d-bef7-8c914689b44f/_generated_background_page.html]
[task 2025-01-12T10:22:50.704Z] 10:22:50     INFO - GECKO(9804) | [Child 6008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL a8b8700 == 3 [pid = 6008] [id = 1] [url = moz-extension://d2c78ec1-cc8b-4c52-a372-51be00b10c9e/_generated_background_page.html]
[task 2025-01-12T10:22:50.705Z] 10:22:50     INFO - GECKO(9804) | [Child 6008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL b86ed00 == 2 [pid = 6008] [id = 2] [url = moz-extension://b42711aa-c30c-43cc-89f9-5cd3f4537524/_generated_background_page.html]
[task 2025-01-12T10:22:50.706Z] 10:22:50     INFO - GECKO(9804) | [Child 6008: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL a8b6600 == 1 [pid = 6008] [id = 0] [url = moz-extension://1d762c04-5af5-440a-bee6-3e7f4120eb80/_generated_background_page.html]
[task 2025-01-12T10:22:50.706Z] 10:22:50     INFO - GECKO(9804) | 1736677370651	Marionette	TRACE	Received observer notification quit-application
[task 2025-01-12T10:22:50.707Z] 10:22:50     INFO - GECKO(9804) | 1736677370652	Marionette	INFO	Stopped listening on port 2828
[task 2025-01-12T10:22:50.708Z] 10:22:50     INFO - GECKO(9804) | 1736677370656	Marionette	DEBUG	Marionette stopped listening
[task 2025-01-12T10:22:50.725Z] 10:22:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_pdf_is_disabled.js | Uncaught exception received from previously timed out test bound test_translations_button_disabled_in_pdf - at resource://testing-common/BrowserTestUtils.sys.mjs:512 - Error: The window unloaded while we were waiting for the browser to load - this should never happen.
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - Stack trace:
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - listener@resource://testing-common/BrowserTestUtils.sys.mjs:512:15
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - EventListener.handleEvent*browserLoaded/<@resource://testing-common/BrowserTestUtils.sys.mjs:527:27
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - browserLoaded@resource://testing-common/BrowserTestUtils.sys.mjs:477:12
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - loadTestPage@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:1056:26
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - async*test_translations_button_disabled_in_pdf@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/browser_translations_pdf_is_disabled.js:10:29
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - handleTask@chrome://mochikit/content/browser-test.js:1147:26
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1219:18
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1360:14
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1136:14
[task 2025-01-12T10:22:50.729Z] 10:22:50     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
<...>
```