Skip to content

Commit

Permalink
[Private Network Access] Rename WPT fetch/ subdirectory.
Browse files Browse the repository at this point in the history
Bug: chromium:1183811
Change-Id: I66311e37e608fe66a18cffb833c43eead25f9e72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727442
Commit-Queue: Arthur Hemery <[email protected]>
Auto-Submit: Titouan Rigoudy <[email protected]>
Reviewed-by: Arthur Hemery <[email protected]>
Cr-Commit-Position: refs/heads/master@{#859320}
  • Loading branch information
letitz authored and chromium-wpt-export-bot committed Mar 3, 2021
1 parent 4d0922f commit 5b5efce
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 20 deletions.
15 changes: 8 additions & 7 deletions docs/writing-tests/making-a-testing-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,13 +381,14 @@ all), you can review the contents of the `fetch/` directory in WPT. Here's how
that looks on a UNIX-like command line:

$ ls fetch
api/ data-urls/ range/
content-encoding/ http-cache/ README.md
content-length/ images/ redirect-navigate/
content-type/ metadata/ security/
corb/ META.yml stale-while-revalidate/
cors-rfc1918/ nosniff/
cross-origin-resource-policy/ origin/
api/ DIR_METADATA OWNERS
connection-pool/ h1-parsing/ private-network-access/
content-encoding/ http-cache/ range/
content-length/ images/ README.md
content-type/ metadata/ redirect-navigate/
corb/ META.yml redirects/
cross-origin-resource-policy/ nosniff/ security/
data-urls/ origin/ stale-while-revalidate/

This test is for a behavior directly exposed through the API, so we should look
in the `api/` directory:
Expand Down
9 changes: 0 additions & 9 deletions fetch/cors-rfc1918/README.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec: https://wicg.github.io/cors-rfc1918/
spec: https://wicg.github.io/private-network-access/
suggested_reviewers:
- letitz
- hemeryar
Expand Down
10 changes: 10 additions & 0 deletions fetch/private-network-access/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Private Network Access tests

This directory contains tests for Private Network Access' integration with
the Fetch specification.

See also:

* [The specification](https://wicg.github.io/private-network-access/)
* [The repository](https://github.com/WICG/private-network-access/)
* [Open issues](https://github.com/WICG/private-network-access/issues/)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

'use strict';

// https://wicg.github.io/cors-rfc1918/
// https://wicg.github.io/private-network-access/

idl_test(
['cors-rfc1918'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// META: script=resources/support.js
//
// Spec: https://wicg.github.io/cors-rfc1918/#integration-fetch
// Spec: https://wicg.github.io/private-network-access/#integration-fetch
//
// This file covers only those tests that must execute in a non secure context.
// Other tests are defined in: secure-context.window.js
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// META: script=resources/support.js
//
// Spec: https://wicg.github.io/cors-rfc1918/#integration-fetch
// Spec: https://wicg.github.io/private-network-access/#integration-fetch
//
// This file covers only those tests that must execute in a secure context.
// Other tests are defined in: non-secure-context.window.js
Expand Down

0 comments on commit 5b5efce

Please sign in to comment.