[wpt-sync] Sync PR 32110 - Add a new helper to trigger a script prerender
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32110 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32110
Details from upstream follow.
Noam Rosenthal <noam@webkit.org> wrote:
Add a new helper to trigger a script prerender
This removes the boilerplate for writing tests that invoke a script inside a prerendered page.
Call prerenderScript(some_async_script_with_no_args, t), and
some_async_script_with_no_args will run in the context of a prerendered
page and return the result will be reported back to the test.Added a version of the localStorage prerender test that uses the
new helper script.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 20 tests
Status Summary
Firefox
ERROR: 20
Chrome
ERROR: 20
Safari
ERROR: 20
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/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-2.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/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)
Comment 3•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/29d916078d7d
https://hg.mozilla.org/mozilla-central/rev/61f0745b6838
Description
•