Closed Bug 1728523 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 30281 - Add Content-Security-Policy WPTs for WebTransport

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox93 fixed)

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Nidhi Jaju <nidhijaju@chromium.org>' wrote:

Add Content-Security-Policy WPTs for WebTransport

This CL adds two test cases:

  • when connect-src is set to none, the WebTransport connection fails
  • when connect-src is set to the page destination, the WebTransport
    connection is established successfully

Furthermore, the custom-reponse server handler is also added in this CL,
which will be used in some follow-up CLs to respond to CONNECT requests.

The test expectations have also been updated in this CL, by skipping
these WebTransport WPTs for the timebeing until the server is added.

Bug: 1201569
Change-Id: I4c0c1b947751e71accda69682769c3f461c7fb6d
Reviewed-on: https://chromium-review.googlesource.com/3134999
WPT-Export-Revision: d3fdf646ddb504322b1c18b710b44017e637b623

CI Results

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

Total 2 tests

Status Summary

Firefox

TIMEOUT: 2

Chrome

TIMEOUT: 2

Safari

TIMEOUT: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webtransport/csp-fail.sub.window.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/webtransport/csp-pass.sub.window.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7b0f27790c5
[wpt PR 30281] - Add Content-Security-Policy WPTs for WebTransport, a=testonly
https://hg.mozilla.org/integration/autoland/rev/38a5079e8c0e
[wpt PR 30281] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.