Closed Bug 1802367 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 37120 - geolocation-API: Feature-Policy is now Permissions-Policy

Categories

(Core :: DOM: Geolocation, task, P4)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Marcos Caceres <marcos@marcosc.com> wrote:

geolocation-API: Feature-Policy is now Permissions-Policy

Component: web-platform-tests → DOM: Geolocation
Product: Testing → Core

CI Results

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

Total 6 tests and 2 subtests

Status Summary

Firefox

FAIL : 4
TIMEOUT: 15
ERROR : 1
NOTRUN : 1

Chrome

OK : 1
PASS : 3
TIMEOUT: 16
NOTRUN : 1

Safari

FAIL : 4
TIMEOUT: 15
ERROR : 1
NOTRUN : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /geolocation-API/disabled-by-permissions-policy.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
    • Permissions-Policy header geolocation=() disallows the top-level document.: FAIL (Chrome: PASS, Safari: FAIL)
    • Permissions-Policy header geolocation=() disallows same-origin iframes.: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
    • Permissions-Policy header geolocation=() disallows cross-origin iframes.: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
  • /geolocation-API/enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy allow="geolocation" allows same-origin relocation: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy allow="geolocation" allows cross-origin relocation: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /geolocation-API/enabled-by-permission-policy-attribute.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions policy "geolocation" can be enabled in same-origin iframe using allow="geolocation" attribute: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions policy "geolocation" can be enabled in cross-origin iframe using allow="geolocation" attribute: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /geolocation-API/enabled-by-permissions-policy.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy header geolocation=* allows the top-level document.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Permissions-Policy header geolocation=* allows same-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy header geolocation=* allows cross-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /geolocation-API/enabled-on-self-origin-by-permissions-policy.https.sub.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy header geolocation=(self) allows the top-level document.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Permissions-Policy header geolocation=(self) allows same-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • Permissions-Policy header geolocation=(self) disallows cross-origin iframes.: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /geolocation-API/getCurrentPosition_permission_allow.https.html [wpt.fyi]: ERROR (Chrome: TIMEOUT, Safari: ERROR)
    • User allows access, check that success callback is called.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • Error callback is nullable for getCurrentPosition().: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/38f105b185b6 [wpt PR 37120] - geolocation-API: Feature-Policy is now Permissions-Policy, a=testonly https://hg.mozilla.org/integration/autoland/rev/096fece6bc46 [wpt PR 37120] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.