Closed Bug 1781512 Opened 3 years ago Closed 3 years ago

Intermittent browser/components/extensions/test/browser/browser_ext_getViews.js | single tracking bug

Categories

(WebExtensions :: Untriaged, defect, P3)

defect

Tracking

(firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: jmaher, Assigned: rpl)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

No description provided.

Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1781512

Moving the needinfo previously assigned to me on Bug 1780364.

I'll look into this intermittent (and in particular how the addition from Bug 1780008 may be triggering an higher intermittency).

Flags: needinfo?(lgreco)
Assignee: nobody → lgreco
Status: NEW → ASSIGNED

I've finally got a push to try that looks pretty good (only unrelated pre-existing intermittents).

The patch attached in comment 4 prevents the intermittent failures triggered by the new test case added from Bug 178008 by replacing EventUtils.synthesizeMouseAtCenter (which was the part that was meant to trigger the outcome that the waitForCondition that was failing was expecting to be matching the checked conditions) with dispatching the MouseEvent "mouseover" instance directly (which instead seems to be triggering the expected outcome consistently also in macos shippable builds, where this test was failing more often).

In a previous attempt I tried also to keep EventUtils.synthesizeMouseAtCenter but to call it after awaiting for the chrome window document to have been flushed, in case the synthesized mouse event was not triggering the expected widget node because of a race related to that, but that didn't help and the related push to try was still able to trigger the timeout often enough in macos shippable builds.

Flags: needinfo?(lgreco)

there was a bug in browser-chrome where mouse moves would remain across browser restarts. This was recently fixed in bug 1779985. Not really related to the fix, but it could help or change the results slightly

Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/891d9a47a5c0 Fix browser_ext_getViews.js test_getViews_excludes_blocked_parsing_documents intermittent. r=mixedpuppy
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: