Skip to content

Commit 366b4f3

Browse files
committed
Bug 1467848 [wpt PR 11428] - Fetch: test Cross-Origin-Resource-Policy: same-site's scheme restriction, a=testonly
Automatic update from web-platform-testsFetch: test Cross-Origin-Resource-Policy: same-site's scheme restriction Supplements #11171. For whatwg/fetch#733. -- wpt-commits: 7f0a106f3d5e9d3e7f70ba52aae896a3fffc2cc6 wpt-pr: 11428 UltraBlame original commit: 2088a3b878a40a0f734fa8e04ade1417b951e1d4
1 parent a60ea70 commit 366b4f3

File tree

3 files changed

+380
-1
lines changed

3 files changed

+380
-1
lines changed

testing/web-platform/meta/MANIFEST.json

+181-1
Original file line numberDiff line numberDiff line change
@@ -2073020,6 +2073020,128 @@ resource
20730202073020
-
20730212073021
policy
20730222073022
/
2073023+
scheme
2073024+
-
2073025+
restriction
2073026+
.
2073027+
any
2073028+
.
2073029+
js
2073030+
"
2073031+
:
2073032+
[
2073033+
[
2073034+
"
2073035+
/
2073036+
fetch
2073037+
/
2073038+
cross
2073039+
-
2073040+
origin
2073041+
-
2073042+
resource
2073043+
-
2073044+
policy
2073045+
/
2073046+
scheme
2073047+
-
2073048+
restriction
2073049+
.
2073050+
any
2073051+
.
2073052+
html
2073053+
"
2073054+
{
2073055+
}
2073056+
]
2073057+
[
2073058+
"
2073059+
/
2073060+
fetch
2073061+
/
2073062+
cross
2073063+
-
2073064+
origin
2073065+
-
2073066+
resource
2073067+
-
2073068+
policy
2073069+
/
2073070+
scheme
2073071+
-
2073072+
restriction
2073073+
.
2073074+
any
2073075+
.
2073076+
worker
2073077+
.
2073078+
html
2073079+
"
2073080+
{
2073081+
}
2073082+
]
2073083+
]
2073084+
"
2073085+
fetch
2073086+
/
2073087+
cross
2073088+
-
2073089+
origin
2073090+
-
2073091+
resource
2073092+
-
2073093+
policy
2073094+
/
2073095+
scheme
2073096+
-
2073097+
restriction
2073098+
.
2073099+
https
2073100+
.
2073101+
window
2073102+
.
2073103+
js
2073104+
"
2073105+
:
2073106+
[
2073107+
[
2073108+
"
2073109+
/
2073110+
fetch
2073111+
/
2073112+
cross
2073113+
-
2073114+
origin
2073115+
-
2073116+
resource
2073117+
-
2073118+
policy
2073119+
/
2073120+
scheme
2073121+
-
2073122+
restriction
2073123+
.
2073124+
https
2073125+
.
2073126+
window
2073127+
.
2073128+
html
2073129+
"
2073130+
{
2073131+
}
2073132+
]
2073133+
]
2073134+
"
2073135+
fetch
2073136+
/
2073137+
cross
2073138+
-
2073139+
origin
2073140+
-
2073141+
resource
2073142+
-
2073143+
policy
2073144+
/
20730232073145
script
20730242073146
-
20730252073147
loads
@@ -3779040,7 +3779162,7 @@ py
37790403779162
:
37790413779163
[
37790423779164
"
3779043-
72f4bbf045fbb61623246d44b763bd06024c0f63
3779165+
1eba6cc92e4bc3f0d83814c0ead1ba6b23aa5182
37790443779166
"
37790453779167
"
37790463779168
support
@@ -3779109,6 +3779231,64 @@ resource
37791093779231
-
37791103779232
policy
37791113779233
/
3779234+
scheme
3779235+
-
3779236+
restriction
3779237+
.
3779238+
any
3779239+
.
3779240+
js
3779241+
"
3779242+
:
3779243+
[
3779244+
"
3779245+
e1221ddd258f4d699dad395284f7a2cb0a719888
3779246+
"
3779247+
"
3779248+
testharness
3779249+
"
3779250+
]
3779251+
"
3779252+
fetch
3779253+
/
3779254+
cross
3779255+
-
3779256+
origin
3779257+
-
3779258+
resource
3779259+
-
3779260+
policy
3779261+
/
3779262+
scheme
3779263+
-
3779264+
restriction
3779265+
.
3779266+
https
3779267+
.
3779268+
window
3779269+
.
3779270+
js
3779271+
"
3779272+
:
3779273+
[
3779274+
"
3779275+
e0272587c66b6c220dce1a5a055d49628c84d0fd
3779276+
"
3779277+
"
3779278+
testharness
3779279+
"
3779280+
]
3779281+
"
3779282+
fetch
3779283+
/
3779284+
cross
3779285+
-
3779286+
origin
3779287+
-
3779288+
resource
3779289+
-
3779290+
policy
3779291+
/
37791123779292
script
37791133779293
-
37791143779294
loads
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
promise_test
2+
(
3+
t
4+
=
5+
>
6+
{
7+
return
8+
promise_rejects
9+
(
10+
t
11+
new
12+
TypeError
13+
(
14+
)
15+
fetch
16+
(
17+
get_host_info
18+
(
19+
)
20+
.
21+
HTTPS_REMOTE_ORIGIN
22+
+
23+
"
24+
/
25+
fetch
26+
/
27+
cross
28+
-
29+
origin
30+
-
31+
resource
32+
-
33+
policy
34+
/
35+
resources
36+
/
37+
hello
38+
.
39+
py
40+
?
41+
corp
42+
=
43+
same
44+
-
45+
site
46+
"
47+
{
48+
mode
49+
:
50+
"
51+
no
52+
-
53+
cors
54+
"
55+
}
56+
)
57+
)
58+
;
59+
}
60+
"
61+
Cross
62+
-
63+
Origin
64+
-
65+
Resource
66+
-
67+
Policy
68+
:
69+
same
70+
-
71+
site
72+
blocks
73+
retrieving
74+
HTTPS
75+
from
76+
HTTP
77+
"
78+
)
79+
;

0 commit comments

Comments
 (0)