Commit 40a32dc
committed
Bug 1986227 [wpt PR 54613] - [fetch-later] Allow
Automatic update from web-platform-tests
[fetch-later] Allow `fetchLater()` to be used with HTTP localhost URLs.
The [current spec][1] says
```
If request’s URL’s scheme is not an HTTP(S) scheme, then throw a TypeError.
```
Also, [previous spec discussion][2] concludes that http localhost should be supported in addition to https urls.
[1]: https://fetch.spec.whatwg.org/#dom-window-fetchlater
[2]: whatwg/fetch#1647 (comment)
Bug: 440277813
Change-Id: I8a3257570ad8fbde5b2e7243fb024b7690d5d733
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6894278
Commit-Queue: Ming-Ying Chung <mychchromium.org>
Reviewed-by: Andrew Paseltiner <apaseltinerchromium.org>
Reviewed-by: Nidhi Jaju <nidhijajuchromium.org>
Cr-Commit-Position: refs/heads/main{#1508981}
--
wpt-commits: cf7116345b959d1b091f218d9f5790d3321bc6ed
wpt-pr: 54613
UltraBlame original commit: 1a131ca507469b8ba8587455dd74649c4437079cfetchLater() to be used with HTTP localhost URLs., a=testonly1 parent 4dd1031 commit 40a32dc
File tree
1 file changed
+80
-2
lines changed- testing/web-platform/tests/fetch/fetch-later
1 file changed
+80
-2
lines changedLines changed: 80 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
9 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
10 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
11 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
12 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
13 | 82 | | |
14 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
15 | 93 | | |
16 | 94 | | |
17 | 95 | | |
| |||
0 commit comments