Closed Bug 1585640 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19464 - [client hints] Apply Feature Policy on 3rd party iframe navigations

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yoav Weiss <yoavweiss@chromium.org> wrote:

[client hints] Apply Feature Policy on 3rd party iframe navigations

** Do not review - WIP**
Feature Policy control over Client Hints in 3rd party contexts
currently only works (behind a flag) for subresources.

This CL makes applies that control also over 3rd party iframe
navigation requests.

Bug: 989898
Change-Id: I17ce2af93c9b2f9a3f10972b6b4e0ed8161f9381

Reviewed-on: https://chromium-review.googlesource.com/1728577
WPT-Export-Revision: c556d4f99a5b16fab3269dd29f01b0c87311132b

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 2 tests and 6 subtests

Firefox

OK : 2
PASS: 2
FAIL: 4

Chrome

OK : 2
PASS: 3
FAIL: 3

Safari

OK : 2
PASS: 2
FAIL: 4

New tests that's don't pass

/client-hints/accept-ch-feature-policy-navigation.https.html
Client hints loaded on cross-origin iframe request with feature policy.: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
Client hints loaded on same-origin iframe request with feature policy.: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
Client hints loaded on cross-origin iframe request with feature policy after attempting to set independently.: Firefox: FAIL, Chrome: FAIL, Safari: FAIL

/client-hints/accept-ch-no-feature-policy-navigation.https.html
Client hints loaded on same-origin iframe request with no feature policy.: Firefox: FAIL, Chrome: PASS, Safari: FAIL

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/45d52de0a675 [wpt PR 19464] - [client hints] Apply Feature Policy on 3rd party iframe navigations, a=testonly https://hg.mozilla.org/integration/autoland/rev/b1b80da891c5 [wpt PR 19464] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.