Bug: Intermittent [tier 2] browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-11-13 00:55:41+00:00
Resolved: 2024-12-09 12:03:04+00:00

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

---
```
[task 2024-11-13T00:39:44.505Z] 00:39:44     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js | The icon presents the locale. - 
[task 2024-11-13T00:39:44.505Z] 00:39:44     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js | The expected language tag "fr" is shown. - 
[task 2024-11-13T00:39:44.505Z] 00:39:44     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js | undefined assertion name - 
[task 2024-11-13T00:39:44.505Z] 00:39:44     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js | undefined assertion name - 
[task 2024-11-13T00:39:44.505Z] 00:39:44     INFO - Console message: [JavaScript Error: "InvalidStateError: JSWindowActorParent.sendAsyncMessage: JSWindowActorParent cannot send at the moment" {file: "resource://gre/actors/TranslationsParent.sys.mjs" line: 1073}]
[task 2024-11-13T00:39:44.505Z] 00:39:44     INFO - Buffered messages finished
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js | A promise chain failed to handle a rejection: JSWindowActorParent.sendAsyncMessage: JSWindowActorParent cannot send at the moment - stack: receiveMessage@resource://gre/actors/TranslationsParent.sys.mjs:1073:14
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - async*@resource://gre/actors/TranslationsChild.sys.mjs:83:22
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - #requestNewPort@chrome://global/content/translations/translations-document.sys.mjs:2139:30
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - acquirePort/port.onmessage@chrome://global/content/translations/translations-document.sys.mjs:2323:33
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - EventHandlerNonNull*acquirePort@chrome://global/content/translations/translations-document.sys.mjs:2291:5
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - QueuedTranslator@chrome://global/content/translations/translations-document.sys.mjs:2043:10
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - TranslationsDocument@chrome://global/content/translations/translations-document.sys.mjs:466:23
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - receiveMessage@resource://gre/actors/TranslationsChild.sys.mjs:77:31
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - JSActor query*translate@resource://gre/actors/TranslationsParent.sys.mjs:2628:12
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - async*onTranslate@chrome://browser/content/translations/fullPageTranslationsPanel.js:1225:11
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - handleEvent@chrome://browser/content/translations/fullPageTranslationsPanel.js:1475:18
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - click@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:1427:10
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - clickTranslateButton/<@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:1274:14
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - _waitForPopupEvent@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:504:11
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - waitForPanelPopupEvent@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:1563:39
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - clickTranslateButton@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:1271:41
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - test_full_page_translations_panel_recent_language_memory_with_multiple_windows@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js:81:41
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - Rejection date: Wed Nov 13 2024 00:39:44 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - Stack trace:
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - chrome://mochikit/content/browser-test.js:handleTask:1173
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-11-13T00:39:44.506Z] 00:39:44     INFO - Leaving test bound test_full_page_translations_panel_recent_language_memory_with_multiple_windows
[task 2024-11-13T00:39:44.725Z] 00:39:44     INFO - GECKO(3190) | MEMORY STAT | vsize 410868MB | residentFast 547MB | heapAllocated 209MB
[task 2024-11-13T00:39:44.726Z] 00:39:44     INFO - TEST-OK | browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window.js | took 2423ms
[task 2024-11-13T00:39:44.730Z] 00:39:44     INFO - checking window state
[task 2024-11-13T00:39:44.732Z] 00:39:44     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_recent_language_memory_full_page_multi_window_multi_tab.js
```