Closed Bug 2076598 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63076 - Change crashtest to avoid a huge amount of rejected promise warnings

Categories

(Core :: DOM: Selection, task, P4)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63076 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63076
Details from upstream follow.

Oriol Brufau <obrufau@igalia.com> wrote:

Change crashtest to avoid a huge amount of rejected promise warnings

The test was using setInterval with a callback that would throw on Servo in a way that clearInterval would never be reached. The delay was also 0, thus potentially resulting in a huge amount of warnings about the unhandled promise rejections.

So this patch changes the test to avoid clearInterval. I have ensured that it would still crash Firefox before
https://phabricator.services.mozilla.com/D279307

Fixes: #<!-- nolink -->48509 (hopefully)
Reviewed in servo/servo#48516

Component: web-platform-tests → DOM: Selection
Product: Testing → Core

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 35 tests

Status Summary

Firefox

PASS: 1[GitHub] 35[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug]

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f8a02e97d6aa https://hg.mozilla.org/integration/autoland/rev/37c5eac47007 [wpt PR 63076] - Change crashtest to avoid a huge amount of rejected promise warnings, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.