While triaging failures for bug 1700781, I noticed (somewhat belatedly) that the harness isn't restoring focus between tests when fission and xorigin are enabled. This causes a little timeout after each test as we wait for focus and will often cause chunks to reach the maximum taskcluster timeout (and can cause other test failures as well). I'm unsure how to fix this myself, but the code that attempts to restore focus lives here: https://searchfox.org/mozilla-central/rev/083983b7f09b00cdfe4f70396e39ea4f8a1735e1/testing/mochitest/tests/SimpleTest/TestRunner.js#394 Notably that `_makeIframe` function has a bunch of code specific to xorigin mode, so maybe the code to focus re-focus the window also needs some modifications in this case.
Bug 1709125 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
While triaging failures for bug 1700781, I noticed (somewhat belatedly) that the harness isn't restoring focus between tests when fission and xorigin are enabled. This causes a little timeout after each test as we wait for focus and will often cause chunks to reach the maximum taskcluster timeout (and can cause other test failures as well). I'm unsure how to fix this myself, but the code that attempts to restore focus lives here: https://searchfox.org/mozilla-central/rev/083983b7f09b00cdfe4f70396e39ea4f8a1735e1/testing/mochitest/tests/SimpleTest/TestRunner.js#394 Notably that `_makeIframe` function has a bunch of code specific to xorigin mode, so maybe the code to re-focus the window also needs some modifications in this case.