Closed Bug 1968587 Opened 1 year ago Closed 11 months ago

Mochitests should not start with a 1s wait

Categories

(Testing :: Mochitest, defect, P2)

defect

Tracking

(firefox141 fixed)

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: florian, Assigned: jmaher)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This behavior was introduced in bug 431464, because of focus issues when "Running mochitests on SeaMonkey" ("It's possible the problem also occurs on Firefox").

Example profile showing that we wait for 1s before we start doing anything: https://share.firefox.dev/4dCqsKH

The severity field is not set for this bug.
:jmaher, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmaher)

I think the 1 second is here

Severity: -- → S3
Flags: needinfo?(jmaher)
Priority: -- → P2

The profile in comment 0 shows "setTimeout handler with interval 1000ms: TestRunner._makeIframe/< (chrome://mochikit/content/tests/SimpleTest/TestRunner.js:421)" so the timer would be this one: https://searchfox.org/mozilla-central/rev/b6a437e0e51dbbfa65f07ee4e1db3864624ab5ea/testing/mochitest/tests/SimpleTest/TestRunner.js#421,423

Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
No longer blocks: 431464
Depends on: 431464
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: