Open Bug 1660927 Opened 4 years ago Updated 4 years ago

[wpt-sync] Sync PR 25219 - WebShare: hide measurement-only permission policy

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Eric Willigers <ericwilligers@chromium.org> wrote:

WebShare: hide measurement-only permission policy

The web-share policy is currently only for use counters
https://groups.google.com/a/chromium.org/d/msg/blink-dev/fgme9KOd8CU/0xJW9MAPAgAJ

We ensure it is not visible by introspection using document.featurePolicy

Bug: 1121034
Change-Id: I3ff271efa45eca43055e975fefc4a8db43960b41
Reviewed-on: https://chromium-review.googlesource.com/2371447
WPT-Export-Revision: 487c5525bf96c82271697761c6406a8e40deaa9f

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
FAIL: 4

Chrome

OK : 1
FAIL: 4

Safari

OK : 1
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/web-share/feature-policy-listed.html
allowsFeature() returns true for web-share: FAIL (Chrome: FAIL, Safari: FAIL)
features() includes web-share: FAIL (Chrome: FAIL, Safari: FAIL)
allowedFeatures() includes web-share: FAIL (Chrome: FAIL, Safari: FAIL)
allowsFeature() returns a single entry for web-share: FAIL (Chrome: FAIL, Safari: FAIL)

You need to log in before you can comment on or make changes to this bug.