Skip to content

Commit

Permalink
Bug 1467848 [wpt PR 11428] - Fetch: test Cross-Origin-Resource-Policy…
Browse files Browse the repository at this point in the history
…: 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
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent fead8ca commit 78a4251
Show file tree
Hide file tree
Showing 3 changed files with 416 additions and 1 deletion.
182 changes: 181 additions & 1 deletion testing/web-platform/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -2073020,6 +2073020,128 @@ resource
-
policy
/
scheme
-
restriction
.
any
.
js
"
:
[
[
"
/
fetch
/
cross
-
origin
-
resource
-
policy
/
scheme
-
restriction
.
any
.
html
"
{
}
]
[
"
/
fetch
/
cross
-
origin
-
resource
-
policy
/
scheme
-
restriction
.
any
.
worker
.
html
"
{
}
]
]
"
fetch
/
cross
-
origin
-
resource
-
policy
/
scheme
-
restriction
.
https
.
window
.
js
"
:
[
[
"
/
fetch
/
cross
-
origin
-
resource
-
policy
/
scheme
-
restriction
.
https
.
window
.
html
"
{
}
]
]
"
fetch
/
cross
-
origin
-
resource
-
policy
/
script
-
loads
Expand Down Expand Up @@ -3779040,7 +3779162,7 @@ py
:
[
"
72f4bbf045fbb61623246d44b763bd06024c0f63
1eba6cc92e4bc3f0d83814c0ead1ba6b23aa5182
"
"
support
Expand Down Expand Up @@ -3779109,6 +3779231,64 @@ resource
-
policy
/
scheme
-
restriction
.
any
.
js
"
:
[
"
e1221ddd258f4d699dad395284f7a2cb0a719888
"
"
testharness
"
]
"
fetch
/
cross
-
origin
-
resource
-
policy
/
scheme
-
restriction
.
https
.
window
.
js
"
:
[
"
e0272587c66b6c220dce1a5a055d49628c84d0fd
"
"
testharness
"
]
"
fetch
/
cross
-
origin
-
resource
-
policy
/
script
-
loads
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/
/
META
:
script
=
/
common
/
get
-
host
-
info
.
sub
.
js
promise_test
(
t
=
>
{
return
promise_rejects
(
t
new
TypeError
(
)
fetch
(
get_host_info
(
)
.
HTTPS_REMOTE_ORIGIN
+
"
/
fetch
/
cross
-
origin
-
resource
-
policy
/
resources
/
hello
.
py
?
corp
=
same
-
site
"
{
mode
:
"
no
-
cors
"
}
)
)
;
}
"
Cross
-
Origin
-
Resource
-
Policy
:
same
-
site
blocks
retrieving
HTTPS
from
HTTP
"
)
;
Loading

0 comments on commit 78a4251

Please sign in to comment.