[wpt-sync] Sync PR 31257 - Prerender: Upstream test for presentationRequest.start()
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox95 fixed)
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31257 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31257
Details from upstream follow.
Hiroki Nakagawa <nhiroki@chromium.org> wrote:
Prerender: Upstream test for presentationRequest.start()
This CL upstreams a test for presentationRequest.start() in prerendered
pages to the WPT repository. The API is listed as "implicitly restricted
APIs" in the draft spec:
https://jeremyroman.github.io/alternate-loading-modes/prerendering.html#implicitly-restrictedThis CL removes the following comment:
This cannot be upstreamed as a WPT test because the spec (probably)
will require that no error is thrown until activation.This is because presentationRequest.start() is expected to return a
rejected promise when the window doesn't have transient activation, and
the current test correctly handles it.If the document's active window does not have transient activation,
return a Promise rejected with an InvalidAccessError exception and
abort these steps.
https://w3c.github.io/presentation-api/#dom-presentationrequest-startRelated issues in the spec side:
- https://github.com/jeremyroman/alternate-loading-modes/issues/42
- https://github.com/jeremyroman/alternate-loading-modes/pull/36
Bug: 1253158
Change-Id: I6973c4c6683135b9bc27e78115d797e8d5840fedReviewed-on: https://chromium-review.googlesource.com/3223703
WPT-Export-Revision: 4a17249eec5605b66d7d96998a5fa84f23dbd859
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2da4eb650c0b9cd78573f7ef8bcd30333e4fda6f
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
ERROR: 1
Chrome
ERROR: 1
Safari
ERROR: 1
Links
Details
New Tests That Don't Pass
/speculation-rules/prerender/restriction-presentation-request.https.html: ERROR (Chrome: ERROR, Safari: ERROR)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b4d715a2f36e [wpt PR 31257] - Prerender: Upstream test for presentationRequest.start(), a=testonly https://hg.mozilla.org/integration/autoland/rev/c9d04b2145be [wpt PR 31257] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b4d715a2f36e
https://hg.mozilla.org/mozilla-central/rev/c9d04b2145be
Description
•