Closed Bug 1718679 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29532 - [Private Network Access] Test all address space combinations with WPTs.

Categories

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

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Titouan Rigoudy <titouan@chromium.org>' wrote:

[Private Network Access] Test all address space combinations with WPTs.

Refactor tests to look more declarative, and delegate execution to a
central fetchTest() helper. This hopefully allows checking that all
cases are covered more easily.

Bug: chromium:1138904
Change-Id: I0454cc55baa9f681390c1459bb9e39eb9398b8be
Reviewed-on: https://chromium-review.googlesource.com/2994505
WPT-Export-Revision: 9127b13610dd333b8af40a4ca98600a9b226a5a2

PR 29532 applied with additional changes from upstream: 9d1472176bfb1976157fb9891e2e1a34011f47d3
Component: web-platform-tests → DOM: Networking
Product: Testing → Core

CI Results

Ran 12 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: 19
FAIL: 8

Chrome

OK : 2
PASS: 27

Safari

OK : 2
PASS: 19
FAIL: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/fetch/private-network-access/non-secure-context.window.html
Private non-secure context cannot fetch local subresource.: FAIL (Chrome: PASS, Safari: FAIL)
Public non-secure context cannot fetch local subresource.: FAIL (Chrome: PASS, Safari: FAIL)
Public non-secure context cannot fetch private subresource.: FAIL (Chrome: PASS, Safari: FAIL)
Treat-as-public-address non-secure context cannot fetch local subresource.: FAIL (Chrome: PASS, Safari: FAIL)
Treat-as-public-address non-secure context cannot fetch private subresource.: FAIL (Chrome: PASS, Safari: FAIL)
Private HTTPS non-secure context cannot fetch local subresource.: FAIL (Chrome: PASS, Safari: FAIL)
Public HTTPS non-secure context cannot fetch local subresource.: FAIL (Chrome: PASS, Safari: FAIL)
Public HTTPS non-secure context cannot fetch private subresource.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3490ea4b830f
[wpt PR 29532] - [Private Network Access] Test all address space combinations with WPTs., a=testonly
https://hg.mozilla.org/integration/autoland/rev/6f26bc2810a9
[wpt PR 29532] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.