Closed Bug 1752105 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32551 - [Private Network Access] Fix Worker client security state.

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
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

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

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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/600d806d5f23 [wpt PR 32551] - [Private Network Access] Fix dedicated worker client security state., a=testonly https://hg.mozilla.org/integration/autoland/rev/98e1c2691040 [wpt PR 32551] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/75915bb67e62 [wpt PR 32551] - [Private Network Access] Fix dedicated worker client security state., a=testonly https://hg.mozilla.org/integration/autoland/rev/85eac3916973 [wpt PR 32551] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.