Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(791)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/mixed-content/spec_json.js

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 var SPEC_JSON = {"test_expansion_schema": {"origin": ["same-host-https", "same-h ost-http", "cross-origin-https", "cross-origin-http", "same-host-wss", "same-hos t-ws", "cross-origin-wss", "cross-origin-ws"], "subresource": {"blockable": ["if rame-tag", "script-tag", "link-css-tag", "form-tag", "xhr-request", "worker-requ est", "fetch-request", "a-tag", "object-tag", "picture-tag", "websocket-request" ], "optionally-blockable": ["img-tag", "audio-tag", "video-tag", "link-prefetch- tag"]}, "context_nesting": ["top-level", "sub-level"], "expectation": ["allowed" , "blocked"], "expansion": ["default", "override"], "redirection": ["no-redirect ", "keep-scheme-redirect", "swap-scheme-redirect"], "opt_in_method": ["no-opt-in ", "http-csp", "meta-csp", "img-crossorigin"], "source_scheme": ["http", "https" ]}, "specification": [{"test_expansion": [{"origin": ["cross-origin-http", "same -host-http"], "name": "opt-in-blocks", "redirection": "*", "expectation": "block ed", "expansion": "default", "context_nesting": "top-level", "opt_in_method": [" http-csp", "meta-csp"], "source_scheme": "https", "subresource": {"blockable": [ ], "optionally-blockable": "*"}}, {"origin": ["cross-origin-http", "same-host-ht tp"], "name": "no-opt-in-allows", "redirection": "*", "expectation": "allowed", "expansion": "default", "context_nesting": "top-level", "opt_in_method": "no-opt -in", "source_scheme": "https", "subresource": {"blockable": [], "optionally-blo ckable": "*"}}], "description": "Test behavior of optionally-blockable content", "specification_url": "http://www.w3.org/TR/mixed-content/#category-optionally-b lockable", "name": "optionally-blockable", "title": "Optionally-blockable conten t"}, {"test_expansion": [{"origin": ["cross-origin-http", "same-host-http"], "na me": "opt-in-blocks", "redirection": "*", "expectation": "blocked", "expansion": "default", "context_nesting": "top-level", "opt_in_method": ["http-csp", "meta- csp"], "source_scheme": "https", "subresource": {"blockable": "*", "optionally-b lockable": []}}, {"origin": ["cross-origin-http", "same-host-http"], "name": "no -opt-in-blocks", "redirection": "*", "expectation": "blocked", "expansion": "def ault", "context_nesting": "top-level", "opt_in_method": "no-opt-in", "source_sch eme": "https", "subresource": {"blockable": "*", "optionally-blockable": []}}, { "origin": ["cross-origin-ws", "same-host-ws"], "name": "ws-downgrade-blocks", "r edirection": "*", "expectation": "blocked", "expansion": "default", "context_nes ting": "top-level", "opt_in_method": ["no-opt-in", "http-csp", "meta-csp"], "sou rce_scheme": "https", "subresource": {"blockable": "websocket-request", "optiona lly-blockable": []}}], "description": "Test behavior of blockable content.", "sp ecification_url": "http://www.w3.org/TR/mixed-content/#category-blockable", "nam e": "blockable", "title": "Blockable content"}, {"test_expansion": [{"origin": [ "same-host-https"], "name": "allowed", "redirection": ["no-redirect", "keep-sche me-redirect"], "expectation": "allowed", "expansion": "default", "context_nestin g": "top-level", "opt_in_method": "*", "source_scheme": "https", "subresource": {"blockable": "*", "optionally-blockable": "*"}}, {"origin": ["same-host-wss"], "name": "websocket-allowed", "redirection": ["no-redirect", "keep-scheme-redirec t"], "expectation": "allowed", "expansion": "default", "context_nesting": "top-l evel", "opt_in_method": "*", "source_scheme": "https", "subresource": {"blockabl e": "websocket-request", "optionally-blockable": []}}], "description": "Test beh avior of allowed content.", "specification_url": "http://www.w3.org/TR/mixed-con tent/", "name": "allowed", "title": "Allowed content"}], "excluded_tests": [{"or igin": "*", "name": "Redundant-subresources", "redirection": "*", "expectation": "*", "expansion": "*", "context_nesting": "*", "opt_in_method": "*", "source_sc heme": "*", "subresource": {"blockable": ["a-tag"], "optionally-blockable": []}} , {"origin": ["same-host-https", "same-host-http", "cross-origin-https", "cross- origin-http"], "name": "Skip-origins-not-applicable-to-websockets", "redirection ": "*", "expectation": "*", "expansion": "*", "context_nesting": "*", "opt_in_me thod": "*", "source_scheme": "*", "subresource": {"blockable": ["websocket-reque st"], "optionally-blockable": []}}, {"origin": "*", "name": "TODO-opt-in-method- img-cross-origin", "redirection": "*", "expectation": "*", "expansion": "*", "co ntext_nesting": "*", "opt_in_method": "img-crossorigin", "source_scheme": "*", " subresource": {"blockable": "*", "optionally-blockable": "*"}}, {"origin": "*", "name": "Skip-redundant-for-opt-in-method", "redirection": ["keep-scheme-redirec t", "swap-scheme-redirect"], "expectation": "*", "expansion": "*", "context_nest ing": "*", "opt_in_method": ["meta-csp", "img-crossorigin"], "source_scheme": "* ", "subresource": {"blockable": "*", "optionally-blockable": "*"}}]};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698