Commit 0cdcc615 authored by Hiroshige Hayashizaki's avatar Hiroshige Hayashizaki Committed by Commit Bot

[WPT/common/security-features] Update origin and redirection values

Generated files will be updated after some more changes, not now.
Also, changes needed in JavaScripts to handle new generated values
are not included in this CL and will land later.

Bug: 906850
Change-Id: If7248e72693df8db1efb4502d2c9e201866b5817
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717475
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: default avatarKenichi Ishibashi <bashi@chromium.org>
Reviewed-by: default avatarHiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: default avatarMike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681094}
parent efd50a21
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"optionally-blockable": "*" "optionally-blockable": "*"
}, },
"origin": [ "origin": [
"cross-origin-http", "cross-http",
"same-host-http" "same-http"
], ],
"expectation": "blocked" "expectation": "blocked"
}, },
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
"optionally-blockable": "*" "optionally-blockable": "*"
}, },
"origin": [ "origin": [
"cross-origin-http", "cross-http",
"same-host-http" "same-http"
], ],
"expectation": "allowed" "expectation": "allowed"
} }
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
"optionally-blockable": [] "optionally-blockable": []
}, },
"origin": [ "origin": [
"cross-origin-http", "cross-http",
"same-host-http" "same-http"
], ],
"expectation": "blocked" "expectation": "blocked"
}, },
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
"optionally-blockable": [] "optionally-blockable": []
}, },
"origin": [ "origin": [
"cross-origin-http", "cross-http",
"same-host-http" "same-http"
], ],
"expectation": "blocked" "expectation": "blocked"
}, },
...@@ -94,8 +94,8 @@ ...@@ -94,8 +94,8 @@
"optionally-blockable": [] "optionally-blockable": []
}, },
"origin": [ "origin": [
"cross-origin-ws", "cross-ws",
"same-host-ws" "same-ws"
], ],
"expectation": "blocked" "expectation": "blocked"
} }
...@@ -115,14 +115,14 @@ ...@@ -115,14 +115,14 @@
"delivery_value": "*", "delivery_value": "*",
"redirection": [ "redirection": [
"no-redirect", "no-redirect",
"keep-scheme-redirect" "keep-scheme"
], ],
"subresource": { "subresource": {
"blockable": "*", "blockable": "*",
"optionally-blockable": "*" "optionally-blockable": "*"
}, },
"origin": [ "origin": [
"same-host-https" "same-https"
], ],
"expectation": "allowed" "expectation": "allowed"
}, },
...@@ -134,14 +134,14 @@ ...@@ -134,14 +134,14 @@
"delivery_value": "*", "delivery_value": "*",
"redirection": [ "redirection": [
"no-redirect", "no-redirect",
"keep-scheme-redirect" "keep-scheme"
], ],
"subresource": { "subresource": {
"blockable": "websocket-request", "blockable": "websocket-request",
"optionally-blockable": [] "optionally-blockable": []
}, },
"origin": [ "origin": [
"same-host-wss" "same-wss"
], ],
"expectation": "allowed" "expectation": "allowed"
} }
...@@ -194,10 +194,10 @@ ...@@ -194,10 +194,10 @@
"optionally-blockable": [] "optionally-blockable": []
}, },
"origin": [ "origin": [
"same-host-https", "same-https",
"same-host-http", "same-http",
"cross-origin-https", "cross-https",
"cross-origin-http" "cross-http"
], ],
"expectation": "*" "expectation": "*"
}, },
...@@ -208,8 +208,8 @@ ...@@ -208,8 +208,8 @@
"delivery_type": "meta", "delivery_type": "meta",
"delivery_value": "opt-in", "delivery_value": "opt-in",
"redirection": [ "redirection": [
"keep-scheme-redirect", "keep-scheme",
"swap-scheme-redirect" "swap-scheme"
], ],
"subresource": { "subresource": {
"blockable": "*", "blockable": "*",
...@@ -238,18 +238,18 @@ ...@@ -238,18 +238,18 @@
], ],
"redirection": [ "redirection": [
"no-redirect", "no-redirect",
"keep-scheme-redirect", "keep-scheme",
"swap-scheme-redirect" "swap-scheme"
], ],
"origin": [ "origin": [
"same-host-https", "same-https",
"same-host-http", "same-http",
"cross-origin-https", "cross-https",
"cross-origin-http", "cross-http",
"same-host-wss", "same-wss",
"same-host-ws", "same-ws",
"cross-origin-wss", "cross-wss",
"cross-origin-ws" "cross-ws"
], ],
"subresource": { "subresource": {
"blockable": [ "blockable": [
......
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
"attr-referrer" "attr-referrer"
], ],
"delivery_value": "same-origin", "delivery_value": "same-origin",
"redirection": "swap-origin-redirect", "redirection": "swap-origin",
"origin": [ "origin": [
"same-http", "same-http",
"same-https" "same-https"
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
"attr-referrer" "attr-referrer"
], ],
"delivery_value": "origin-when-cross-origin", "delivery_value": "origin-when-cross-origin",
"redirection": "swap-origin-redirect", "redirection": "swap-origin",
"origin": [ "origin": [
"same-http", "same-http",
"same-https" "same-https"
...@@ -495,7 +495,7 @@ ...@@ -495,7 +495,7 @@
"attr-referrer" "attr-referrer"
], ],
"delivery_value": "strict-origin-when-cross-origin", "delivery_value": "strict-origin-when-cross-origin",
"redirection": "swap-origin-redirect", "redirection": "swap-origin",
"origin": "same-http", "origin": "same-http",
"subresource": "*", "subresource": "*",
"expectation": "origin" "expectation": "origin"
...@@ -576,7 +576,7 @@ ...@@ -576,7 +576,7 @@
"attr-referrer" "attr-referrer"
], ],
"delivery_value": "strict-origin-when-cross-origin", "delivery_value": "strict-origin-when-cross-origin",
"redirection": "swap-origin-redirect", "redirection": "swap-origin",
"origin": "same-https", "origin": "same-https",
"subresource": "*", "subresource": "*",
"expectation": "origin" "expectation": "origin"
...@@ -733,7 +733,7 @@ ...@@ -733,7 +733,7 @@
"source_protocol": "*", "source_protocol": "*",
"delivery_type": "*", "delivery_type": "*",
"delivery_value": "*", "delivery_value": "*",
"redirection": "swap-origin-redirect", "redirection": "swap-origin",
"origin": "*", "origin": "*",
"subresource": [ "subresource": [
"worker-request", "worker-request",
...@@ -749,8 +749,8 @@ ...@@ -749,8 +749,8 @@
"delivery_type": "*", "delivery_type": "*",
"delivery_value": "*", "delivery_value": "*",
"redirection": [ "redirection": [
"keep-origin-redirect", "keep-origin",
"swap-origin-redirect" "swap-origin"
], ],
"origin": "*", "origin": "*",
"subresource": [ "subresource": [
...@@ -805,8 +805,8 @@ ...@@ -805,8 +805,8 @@
], ],
"redirection": [ "redirection": [
"no-redirect", "no-redirect",
"keep-origin-redirect", "keep-origin",
"swap-origin-redirect" "swap-origin"
], ],
"subresource": [ "subresource": [
"iframe-tag", "iframe-tag",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment