[wpt-sync] Sync PR 32551 - [Private Network Access] Fix Worker client security state.
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32551 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32551
Details from upstream follow.
Titouan Rigoudy <titouan@chromium.org> wrote:
[Private Network Access] Fix Worker client security state.
Calculate it from the network response or inherit it from the creator
instead of copying the ancestor's unconditionally. This aligns Chromium
with the spec (though the code is behind a flag).See also the analogous CL for shared workers: crrev.com/c/3396154
Bug: chromium:1282637
Change-Id: I4de98cbbfed4dbaeba782fc1c7bb9ae86c5a9aeb
Reviewed-on: https://chromium-review.googlesource.com/3412258
WPT-Export-Revision: 3e39adceb4aeb0660419771eb6cc4c8af16ad203
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 12 subtests
Status Summary
Firefox
OK : 2
PASS: 15
FAIL: 11
Chrome
OK : 2
PASS: 21
FAIL: 5
Safari
OK : 2
PASS: 15
FAIL: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/fetch/private-network-access/worker-fetch.https.window.html
private to local: failure.: FAIL
private to local: success.: FAIL (Chrome: PASS, Safari: FAIL)
public to local: failed preflight.: FAIL (Chrome: PASS, Safari: FAIL)
public to local: success.: FAIL (Chrome: PASS, Safari: FAIL)
public to private: failed preflight.: FAIL (Chrome: PASS, Safari: FAIL)
public to private: success.: FAIL (Chrome: PASS, Safari: FAIL)
treat-as-public to local: failed preflight.: FAIL (Chrome: FAIL, Safari: FAIL)
treat-as-public to local: success.: FAIL (Chrome: FAIL, Safari: FAIL)
treat-as-public to private: failed preflight.: FAIL (Chrome: FAIL, Safari: FAIL)
treat-as-public to private: success.: FAIL (Chrome: FAIL, Safari: FAIL)
private to local: failed preflight.: FAIL (Chrome: PASS, Safari: FAIL)
/fetch/private-network-access/worker-fetch.window.html
treat-as-public to local: failure.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/75915bb67e62
https://hg.mozilla.org/mozilla-central/rev/85eac3916973
Description
•