Skip to content

Commit

Permalink
[WPT/common/security-features] Update origin and redirection values
Browse files Browse the repository at this point in the history
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: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681094}
  • Loading branch information
hiroshige-g authored and Commit Bot committed Jul 26, 2019
1 parent efd50a2 commit 0cdcc61
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"optionally-blockable": "*"
},
"origin": [
"cross-origin-http",
"same-host-http"
"cross-http",
"same-http"
],
"expectation": "blocked"
},
Expand All @@ -35,8 +35,8 @@
"optionally-blockable": "*"
},
"origin": [
"cross-origin-http",
"same-host-http"
"cross-http",
"same-http"
],
"expectation": "allowed"
}
Expand All @@ -60,8 +60,8 @@
"optionally-blockable": []
},
"origin": [
"cross-origin-http",
"same-host-http"
"cross-http",
"same-http"
],
"expectation": "blocked"
},
Expand All @@ -77,8 +77,8 @@
"optionally-blockable": []
},
"origin": [
"cross-origin-http",
"same-host-http"
"cross-http",
"same-http"
],
"expectation": "blocked"
},
Expand All @@ -94,8 +94,8 @@
"optionally-blockable": []
},
"origin": [
"cross-origin-ws",
"same-host-ws"
"cross-ws",
"same-ws"
],
"expectation": "blocked"
}
Expand All @@ -115,14 +115,14 @@
"delivery_value": "*",
"redirection": [
"no-redirect",
"keep-scheme-redirect"
"keep-scheme"
],
"subresource": {
"blockable": "*",
"optionally-blockable": "*"
},
"origin": [
"same-host-https"
"same-https"
],
"expectation": "allowed"
},
Expand All @@ -134,14 +134,14 @@
"delivery_value": "*",
"redirection": [
"no-redirect",
"keep-scheme-redirect"
"keep-scheme"
],
"subresource": {
"blockable": "websocket-request",
"optionally-blockable": []
},
"origin": [
"same-host-wss"
"same-wss"
],
"expectation": "allowed"
}
Expand Down Expand Up @@ -194,10 +194,10 @@
"optionally-blockable": []
},
"origin": [
"same-host-https",
"same-host-http",
"cross-origin-https",
"cross-origin-http"
"same-https",
"same-http",
"cross-https",
"cross-http"
],
"expectation": "*"
},
Expand All @@ -208,8 +208,8 @@
"delivery_type": "meta",
"delivery_value": "opt-in",
"redirection": [
"keep-scheme-redirect",
"swap-scheme-redirect"
"keep-scheme",
"swap-scheme"
],
"subresource": {
"blockable": "*",
Expand Down Expand Up @@ -238,18 +238,18 @@
],
"redirection": [
"no-redirect",
"keep-scheme-redirect",
"swap-scheme-redirect"
"keep-scheme",
"swap-scheme"
],
"origin": [
"same-host-https",
"same-host-http",
"cross-origin-https",
"cross-origin-http",
"same-host-wss",
"same-host-ws",
"cross-origin-wss",
"cross-origin-ws"
"same-https",
"same-http",
"cross-https",
"cross-http",
"same-wss",
"same-ws",
"cross-wss",
"cross-ws"
],
"subresource": {
"blockable": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
"attr-referrer"
],
"delivery_value": "same-origin",
"redirection": "swap-origin-redirect",
"redirection": "swap-origin",
"origin": [
"same-http",
"same-https"
Expand Down Expand Up @@ -356,7 +356,7 @@
"attr-referrer"
],
"delivery_value": "origin-when-cross-origin",
"redirection": "swap-origin-redirect",
"redirection": "swap-origin",
"origin": [
"same-http",
"same-https"
Expand Down Expand Up @@ -495,7 +495,7 @@
"attr-referrer"
],
"delivery_value": "strict-origin-when-cross-origin",
"redirection": "swap-origin-redirect",
"redirection": "swap-origin",
"origin": "same-http",
"subresource": "*",
"expectation": "origin"
Expand Down Expand Up @@ -576,7 +576,7 @@
"attr-referrer"
],
"delivery_value": "strict-origin-when-cross-origin",
"redirection": "swap-origin-redirect",
"redirection": "swap-origin",
"origin": "same-https",
"subresource": "*",
"expectation": "origin"
Expand Down Expand Up @@ -733,7 +733,7 @@
"source_protocol": "*",
"delivery_type": "*",
"delivery_value": "*",
"redirection": "swap-origin-redirect",
"redirection": "swap-origin",
"origin": "*",
"subresource": [
"worker-request",
Expand All @@ -749,8 +749,8 @@
"delivery_type": "*",
"delivery_value": "*",
"redirection": [
"keep-origin-redirect",
"swap-origin-redirect"
"keep-origin",
"swap-origin"
],
"origin": "*",
"subresource": [
Expand Down Expand Up @@ -805,8 +805,8 @@
],
"redirection": [
"no-redirect",
"keep-origin-redirect",
"swap-origin-redirect"
"keep-origin",
"swap-origin"
],
"subresource": [
"iframe-tag",
Expand Down

0 comments on commit 0cdcc61

Please sign in to comment.