[wpt-sync] Sync PR 48338 - [wpt] Fix `web-share/disabled...cross-origin...` when run with WebDriver
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 48338 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/48338
Details from upstream follow.
Jonathan Lee <jonathanjlee@google.com> wrote:
[wpt] Fix
web-share/disabled...cross-origin...
when run with WebDriverSame fix as https://crrev.com/c/5888751:
- The testharness.js context should also load
testdriver(-vendor).js
.- The child iframe should
set_test_context(parent)
to send its
testdriver actions to the testharness context 0.Bug: None
Change-Id: I34b159d13990c48ab9232267ae5e153e2a01187a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5889244
Auto-Submit: Jonathan Lee \<jonathanjlee@google.com>
Reviewed-by: Finnur Thorarinsson \<finnur@chromium.org>
Commit-Queue: Jonathan Lee \<jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1359968}
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 1•10 months ago
|
||
Assignee | ||
Comment 2•10 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 6
Chrome
OK
: 1
FAIL
: 6
Safari
OK
: 1
PASS
: 6
Links
Details
New Tests That Don't Pass
- /web-share/disabled-by-permissions-policy-cross-origin.https.sub.html [wpt.fyi]
- share() is disabled by default 'self' by permissions policy for cross-origin iframes:
FAIL
(Chrome:FAIL
, Safari:PASS
) - share() is disabled explicitly by permissions policy for cross-origin iframe:
FAIL
(Chrome:FAIL
, Safari:PASS
) - share() not allowed, as only allowed to share with self:
FAIL
(Chrome:FAIL
, Safari:PASS
) - canShare() not allowed to share by default permissions policy cross-origin:
FAIL
(Chrome:FAIL
, Safari:PASS
) - canShare() is allowed by permissions policy to share cross-origin on a particular origin:
FAIL
(Chrome:FAIL
, Safari:PASS
) - canShare() with self:
FAIL
(Chrome:FAIL
, Safari:PASS
)
- share() is disabled by default 'self' by permissions policy for cross-origin iframes:
Comment 4•10 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ba4da294eeba
https://hg.mozilla.org/mozilla-central/rev/e0c609eaf38f
Description
•