Closed Bug 1751924 Opened 4 years ago Closed 3 years ago

[wpt-sync] Sync PR 32532 - [Private Network Access] Test nested worker script fetches.

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 32532 into mozilla-central (this bug is closed when the sync is complete).

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

Titouan Rigoudy <titouan@chromium.org> wrote:

[Private Network Access] Test nested worker script fetches.

These are currently failing due to lack of support in
worker_script_fetcher.cc. Indeed, a ClientSecurityState is supplied to
the URLLoaderFactory used to fetch the script only if the worker is
being instantiated by a document / RenderFrameHostImpl. This should be
fixed now that DedicatedWorkerHost stores a client security state of
its own.

Bug: chromium:1282637
Change-Id: Ibdad59d6effa7de3be72a56a78a09e4c3690ff83
Reviewed-on: https://chromium-review.googlesource.com/3412097
WPT-Export-Revision: 843bd2ec2cd7f091ff2c96b2ab33ac872fde40f8

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

CI Results

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

Total 26 tests and 15 subtests

Status Summary

Firefox

OK : 26
PASS: 92
FAIL: 102

Chrome

OK : 26
PASS: 150
FAIL: 44

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/fetch/private-network-access/fetch.https.window.html?include=baseline
local to public: PUT preflight failure.: FAIL (Chrome: PASS)
/fetch/private-network-access/fetch.https.window.html?include=from-treat-as-public
treat-as-public-address to local: failed preflight.: FAIL (Chrome: PASS)
treat-as-public-address to local: success.: FAIL (Chrome: PASS)
treat-as-public-address to private: failed preflight.: FAIL (Chrome: PASS)
treat-as-public-address to private: success.: FAIL (Chrome: PASS)
/fetch/private-network-access/fetch.https.window.html?include=from-public
public to local: failed preflight.: FAIL (Chrome: PASS)
public to local: missing CORS headers on preflight response.: FAIL (Chrome: PASS)
public to local: missing PNA header on preflight response.: FAIL (Chrome: PASS)
public to local: missing CORS headers on final response.: FAIL (Chrome: PASS)
public to local: success.: FAIL (Chrome: PASS)
public to local: no-CORS mode failed preflight.: FAIL (Chrome: PASS)
public to local: no-CORS mode missing CORS headers on preflight response.: FAIL (Chrome: PASS)
public to local: no-CORS mode missing PNA header on preflight response.: FAIL (Chrome: PASS)
public to private: failed preflight.: FAIL (Chrome: PASS)
public to private: missing CORS headers on preflight response.: FAIL (Chrome: PASS)
public to private: missing PNA header on preflight response.: FAIL (Chrome: PASS)
public to private: missing CORS headers on final response.: FAIL (Chrome: PASS)
public to private: success.: FAIL (Chrome: PASS)
public to private: no-CORS mode failed preflight.: FAIL (Chrome: PASS)
public to private: no-CORS mode missing CORS headers on preflight response.: FAIL (Chrome: PASS)
public to private: no-CORS mode missing PNA header on preflight response.: FAIL (Chrome: PASS)
/fetch/private-network-access/fetch.https.window.html?include=from-private
private to local: failed preflight.: FAIL (Chrome: PASS)
private to local: missing CORS headers on preflight response.: FAIL (Chrome: PASS)
private to local: missing PNA header on preflight response.: FAIL (Chrome: PASS)
private to local: missing CORS headers on final response.: FAIL (Chrome: PASS)
private to local: success.: FAIL (Chrome: PASS)
private to local: no-CORS mode failed preflight.: FAIL (Chrome: PASS)
private to local: no-CORS mode missing CORS headers on preflight response.: FAIL (Chrome: PASS)
private to local: no-CORS mode missing PNA header on preflight response.: FAIL (Chrome: PASS)
/fetch/private-network-access/fetch.window.html
private to local: failure.: FAIL (Chrome: PASS)
public to local: failure.: FAIL (Chrome: PASS)
public to private: failure.: FAIL (Chrome: PASS)
treat-as-public-address to local: failure.: FAIL (Chrome: PASS)
treat-as-public-address to private: failure.: FAIL (Chrome: PASS)
private https to local: failure.: FAIL (Chrome: PASS)
public https to local: failure.: FAIL (Chrome: PASS)
public https to private: failure.: FAIL (Chrome: PASS)
/fetch/private-network-access/nested-worker.https.window.html
treat-as-public to local: failure.: FAIL (Chrome: FAIL)
treat-as-public to private: failure.: FAIL (Chrome: FAIL)
/fetch/private-network-access/nested-worker.window.html
treat-as-public to local: failure.: FAIL (Chrome: FAIL)
treat-as-public to private: failure.: FAIL (Chrome: FAIL)
/fetch/private-network-access/service-worker-fetch.https.window.html
private to local: failed preflight.: FAIL (Chrome: FAIL)
private to local: success.: FAIL (Chrome: FAIL)
public to local: failed preflight.: FAIL (Chrome: FAIL)
public to local: success.: FAIL (Chrome: FAIL)
public to private: failed preflight.: FAIL (Chrome: FAIL)
public to private: success.: FAIL (Chrome: FAIL)
treat-as-public to local: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to local: success.: FAIL (Chrome: FAIL)
treat-as-public to private: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to private: success.: FAIL (Chrome: FAIL)
/fetch/private-network-access/service-worker-update.https.window.html
update public to local: failed preflight.: FAIL (Chrome: FAIL)
update public to local: success.: FAIL (Chrome: FAIL)
update public to private: failed preflight.: FAIL (Chrome: FAIL)
update public to private: success.: FAIL (Chrome: FAIL)
/fetch/private-network-access/service-worker.https.window.html
treat-as-public to local: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to local: success.: FAIL (Chrome: FAIL)
treat-as-public to private: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to private: success.: FAIL (Chrome: FAIL)
/fetch/private-network-access/shared-worker-fetch.https.window.html
private to local: failure.: FAIL (Chrome: PASS)
private to local: success.: FAIL (Chrome: PASS)
public to local: failed preflight.: FAIL (Chrome: PASS)
public to local: success.: FAIL (Chrome: PASS)
public to private: failed preflight.: FAIL (Chrome: PASS)
public to private: success.: FAIL (Chrome: PASS)
treat-as-public to local: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to local: success.: FAIL (Chrome: FAIL)
treat-as-public to private: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to private: success.: FAIL (Chrome: FAIL)
/fetch/private-network-access/shared-worker-fetch.window.html
treat-as-public to local: failure.: FAIL (Chrome: FAIL)
/fetch/private-network-access/shared-worker.https.window.html
treat-as-public to local: success.: FAIL (Chrome: FAIL)
treat-as-public to private: success.: FAIL (Chrome: FAIL)
public to public: success.: FAIL (Chrome: PASS)
/fetch/private-network-access/shared-worker.window.html
public to public: success.: FAIL (Chrome: PASS)
/fetch/private-network-access/websocket.window.html
private to local: websocket failure.: FAIL (Chrome: FAIL)
public to local: websocket failure.: FAIL (Chrome: FAIL)
treat-as-public to local: websocket failure.: FAIL (Chrome: FAIL)
/fetch/private-network-access/worker-fetch.https.window.html
private to local: failed preflight.: FAIL (Chrome: PASS)
private to local: success.: FAIL (Chrome: PASS)
public to local: failed preflight.: FAIL (Chrome: PASS)
public to local: success.: FAIL (Chrome: PASS)
public to private: failed preflight.: FAIL (Chrome: PASS)
public to private: success.: FAIL (Chrome: PASS)
treat-as-public to local: failure.: FAIL (Chrome: FAIL)
/fetch/private-network-access/worker-fetch.window.html
treat-as-public to local: failure.: FAIL (Chrome: FAIL)
/fetch/private-network-access/worker.https.window.html
treat-as-public to local: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to local: success.: FAIL (Chrome: FAIL)
treat-as-public to private: failed preflight.: FAIL (Chrome: FAIL)
treat-as-public to private: success.: FAIL (Chrome: FAIL)
/fetch/private-network-access/worker.window.html
treat-as-public to local: failure.: FAIL (Chrome: FAIL)
treat-as-public to private: failure.: FAIL (Chrome: FAIL)
/fetch/private-network-access/xhr.https.window.html?include=from-private
private to local: failed preflight.: FAIL (Chrome: PASS)
private to local: success.: FAIL (Chrome: PASS)
/fetch/private-network-access/xhr.https.window.html?include=from-public
public to local: failed preflight.: FAIL (Chrome: PASS)
public to local: success.: FAIL (Chrome: PASS)
public to private: failed preflight.: FAIL (Chrome: PASS)
public to private: success.: FAIL (Chrome: PASS)
/fetch/private-network-access/xhr.https.window.html?include=from-treat-as-public
treat-as-public to local: failed preflight.: FAIL (Chrome: PASS)
treat-as-public to local: success.: FAIL (Chrome: PASS)
treat-as-public to private: failed preflight.: FAIL (Chrome: PASS)
treat-as-public to private: success.: FAIL (Chrome: PASS)
/fetch/private-network-access/xhr.window.html
treat-as-public-address to local: failure.: FAIL (Chrome: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/09920fb2e907 [wpt PR 32532] - [Private Network Access] Test nested worker script fetches., a=testonly https://hg.mozilla.org/integration/autoland/rev/d3ceab96e7bd [wpt PR 32532] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34cba22f479a [wpt PR 32532] - [Private Network Access] Test nested worker script fetches., a=testonly https://hg.mozilla.org/integration/autoland/rev/a624f1e86442 [wpt PR 32532] - 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.