Commit 7b585a5d authored by Hiroshige Hayashizaki's avatar Hiroshige Hayashizaki Committed by Commit Bot

[WPT/mixed-content] Remove context_nesting

The values are always `top-level` and not used anywhere.

Bug: 906850
Change-Id: Ia89f9b65cac935d65287a702f61f292513ca6189
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717487
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: default avatarKenichi Ishibashi <bashi@chromium.org>
Reviewed-by: default avatarMike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681068}
parent bfeb9d10
......@@ -17,7 +17,7 @@ class MixedContentConfig(object):
'%(delivery_type)s/' + \
'%(delivery_value)s/' + \
'%(origin)s/' + \
'%(context_nesting)s/' + \
'top-level/' + \
'%(redirection)s/'
self.test_file_path_pattern = self.selection_pattern + \
......@@ -28,7 +28,7 @@ class MixedContentConfig(object):
delivery_value: %(delivery_value)s
origin: %(origin)s
source_scheme: %(source_protocol)s
context_nesting: %(context_nesting)s
context_nesting: top-level
redirection: %(redirection)s
subresource: %(subresource)s
expectation: %(expectation)s
......
......@@ -127,8 +127,7 @@ def validate(spec_json, details):
details['object'] = test_expansion_schema
assert_contains_only_fields(test_expansion_schema, [
'expansion', 'source_protocol', 'delivery_type', 'delivery_value',
'context_nesting', 'redirection', 'subresource', 'origin',
'expectation'
'redirection', 'subresource', 'origin', 'expectation'
])
# Validate excluded tests.
details['object'] = excluded_tests
......
......@@ -12,7 +12,6 @@
"source_protocol": "https",
"delivery_type": "*",
"delivery_value": "opt-in",
"context_nesting": "top-level",
"redirection": "*",
"subresource": {
"blockable": [],
......@@ -27,7 +26,6 @@
"source_protocol": "https",
"delivery_type": "*",
"delivery_value": null,
"context_nesting": "top-level",
"redirection": "*",
"subresource": {
"blockable": [],
......@@ -50,7 +48,6 @@
"source_protocol": "https",
"delivery_type": "*",
"delivery_value": "opt-in",
"context_nesting": "top-level",
"redirection": "*",
"subresource": {
"blockable": "*",
......@@ -65,7 +62,6 @@
"source_protocol": "https",
"delivery_type": "*",
"delivery_value": null,
"context_nesting": "top-level",
"redirection": "*",
"subresource": {
"blockable": "*",
......@@ -80,7 +76,6 @@
"source_protocol": "https",
"delivery_type": "*",
"delivery_value": "*",
"context_nesting": "top-level",
"redirection": "*",
"subresource": {
"blockable": "websocket-request",
......@@ -103,7 +98,6 @@
"source_protocol": "https",
"delivery_type": "*",
"delivery_value": "*",
"context_nesting": "top-level",
"redirection": ["no-redirect", "keep-scheme-redirect"],
"subresource": {
"blockable": "*",
......@@ -118,7 +112,6 @@
"source_protocol": "https",
"delivery_type": "*",
"delivery_value": "*",
"context_nesting": "top-level",
"redirection": ["no-redirect", "keep-scheme-redirect"],
"subresource": {
"blockable": "websocket-request",
......@@ -140,7 +133,6 @@
"source_protocol": "*",
"delivery_type": "http-rp",
"delivery_value": null,
"context_nesting": "*",
"redirection": "*",
"subresource": {
"blockable": "*",
......@@ -155,7 +147,6 @@
"source_protocol": "*",
"delivery_type": "*",
"delivery_value": "*",
"context_nesting": "*",
"redirection": "*",
"subresource": {
"blockable": [
......@@ -172,7 +163,6 @@
"source_protocol": "*",
"delivery_type": "*",
"delivery_value": "*",
"context_nesting": "*",
"redirection": "*",
"subresource": {
"blockable": [
......@@ -194,7 +184,6 @@
"source_protocol": "*",
"delivery_type": "meta",
"delivery_value": "opt-in",
"context_nesting": "*",
"redirection": ["keep-scheme-redirect", "swap-scheme-redirect"],
"subresource": {
"blockable": "*",
......@@ -227,10 +216,6 @@
"keep-scheme-redirect",
"swap-scheme-redirect"
],
"context_nesting": [
"top-level",
"sub-level"
],
"origin": [
"same-host-https",
"same-host-http",
......
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