Closed Bug 1754361 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 32764 - [WPT][Prerender2] Fix restrictions.html timeout

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

kouhei <kouhei@chromium.org> wrote:

[WPT][Prerender2] Fix restrictions.html timeout

Before this CL, the test could hang if getCurrentPosition returned error.
This CL modifies the test to resolve the promise with the stringified
error to avoid it from hanging.

Bug: 626703
Change-Id: Ibd8ff599c8e2c51555ae3dbd8a55f4252813c405
Reviewed-on: https://chromium-review.googlesource.com/3449477
WPT-Export-Revision: 9cbdeb20305840927144cc8df2facf41e30b96f7

CI Results

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

Total 21 tests

Status Summary

Firefox

ERROR: 21

Chrome

ERROR: 21

Safari

ERROR: 21

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/speculation-rules/prerender/about-blank-iframes.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/activation-start.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/cache-storage.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/cookies.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/cross-origin-isolated.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/fetch-blob.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/iframe-added-post-activation.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/indexeddb.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/local-storage.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/media-autoplay.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/restriction-focus.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/restriction-notification.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/restriction-presentation-request.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/restriction-window-move.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/restriction-window-open.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/restriction-window-resize.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/restrictions.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/state-and-event.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/storage-foundation.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/visibility-state.html: ERROR (Chrome: ERROR, Safari: ERROR)
/speculation-rules/prerender/web-database.html: ERROR (Chrome: ERROR, Safari: ERROR)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c9e39624ce4
[wpt PR 32764] - [WPT][Prerender2] Fix restrictions.html timeout, a=testonly
https://hg.mozilla.org/integration/autoland/rev/80b5d7cf82b0
[wpt PR 32764] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.