Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 78a4251

Browse files
committedOct 3, 2019
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 fead8ca commit 78a4251

File tree

3 files changed

+416
-1
lines changed

3 files changed

+416
-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,97 @@
1+
/
2+
/
3+
META
4+
:
5+
script
6+
=
7+
/
8+
common
9+
/
10+
get
11+
-
12+
host
13+
-
14+
info
15+
.
16+
sub
17+
.
18+
js
19+
promise_test
20+
(
21+
t
22+
=
23+
>
24+
{
25+
return
26+
promise_rejects
27+
(
28+
t
29+
new
30+
TypeError
31+
(
32+
)
33+
fetch
34+
(
35+
get_host_info
36+
(
37+
)
38+
.
39+
HTTPS_REMOTE_ORIGIN
40+
+
41+
"
42+
/
43+
fetch
44+
/
45+
cross
46+
-
47+
origin
48+
-
49+
resource
50+
-
51+
policy
52+
/
53+
resources
54+
/
55+
hello
56+
.
57+
py
58+
?
59+
corp
60+
=
61+
same
62+
-
63+
site
64+
"
65+
{
66+
mode
67+
:
68+
"
69+
no
70+
-
71+
cors
72+
"
73+
}
74+
)
75+
)
76+
;
77+
}
78+
"
79+
Cross
80+
-
81+
Origin
82+
-
83+
Resource
84+
-
85+
Policy
86+
:
87+
same
88+
-
89+
site
90+
blocks
91+
retrieving
92+
HTTPS
93+
from
94+
HTTP
95+
"
96+
)
97+
;

0 commit comments

Comments
 (0)