Closed Bug 1799993 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36898 - [FedCM] Send Origin header instead of Referrer header

Categories

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

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Peter Kotwicz <pkotwicz@chromium.org> wrote:

[FedCM] Send Origin header instead of Referrer header

BUG=1381227

Change-Id: Ifa2c3a74a05568d9f01c56c9e08703235891a02a
Reviewed-on: https://chromium-review.googlesource.com/4018494
WPT-Export-Revision: e361aaa55dcecdad2422eb916dbc5fefdeefb449

PR 36898 applied with additional changes from upstream: 0dcaf8be2b9cfb39c1fc413c7d9c3339cbcfe8ce
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 15 subtests

Status Summary

Firefox

FAIL : 15
ERROR : 1

Chrome

TIMEOUT: 2
NOTRUN : 14

Safari

FAIL : 15
ERROR : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /credential-management/fedcm-network-requests.https.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: TIMEOUT, Safari: ERROR)
    • Successfully obtaining token should resolve the promise.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
    • When there's a pending request, a second get call should be rejected. : FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when provider list is empty: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when configURL is missing: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when configURL is invalid: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when clientId is empty: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • nonce is not required in FederatedIdentityProvider.: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Reject when clientId is missing: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test the abort signal: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Get after abort should work: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that the promise is rejected if the manifest is not in the manifest list: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that promise is rejected if accounts endpoint redirects: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that token endpoint does not follow redirects: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test client_metadata request: FAIL (Chrome: NOTRUN, Safari: FAIL)
    • Test that service worker cannot observe fetches performed by FedCM API: FAIL (Chrome: NOTRUN, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /credential-management/fedcm-network-requests.https.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] (Chrome: TIMEOUT, Safari: ERROR)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3a6199cc2d33 [wpt PR 36898] - [FedCM] Send Origin header instead of Referrer header, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.