OOR-CORS: Add navigation and security tests to virtual LayoutTests suites
There are some tests that call testRunner.addOriginAccessAllowListEntry
even in navigation and security test directories.
They are expected to call it to bypass renderer-side security checks,
but let me run them in our outofblink-cors(-ns) virtual environments
just in case.
Also the security directory seems to contain many relevant tests
that rely on CORS check on ResourceFetcher.
Bug: 870172, 870173, 879991
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng;luci.chromium.try:linux_mojo
Change-Id: I55c75b6766da6b98c7a2d816fbcfec555d181b68
Reviewed-on: https://chromium-review.googlesource.com/1193524
Reviewed-by: Yutaka Hirano <[email protected]>
Commit-Queue: Takashi Toyoshima <[email protected]>
Cr-Commit-Position: refs/heads/master@{#588773}
diff --git a/third_party/WebKit/LayoutTests/VirtualTestSuites b/third_party/WebKit/LayoutTests/VirtualTestSuites
index a2a8ec8..19b4dce 100644
--- a/third_party/WebKit/LayoutTests/VirtualTestSuites
+++ b/third_party/WebKit/LayoutTests/VirtualTestSuites
@@ -512,6 +512,16 @@
},
{
"prefix": "outofblink-cors",
+ "base": "http/tests/navigation",
+ "args": ["--enable-features=OutOfBlinkCORS,ServiceWorkerServicification"]
+ },
+ {
+ "prefix": "outofblink-cors",
+ "base": "http/tests/security",
+ "args": ["--enable-features=OutOfBlinkCORS,ServiceWorkerServicification"]
+ },
+ {
+ "prefix": "outofblink-cors",
"base": "http/tests/xmlhttprequest",
"args": ["--enable-features=OutOfBlinkCORS,ServiceWorkerServicification"]
},
@@ -547,6 +557,16 @@
},
{
"prefix": "outofblink-cors-ns",
+ "base": "http/tests/navigation",
+ "args": ["--enable-features=OutOfBlinkCORS,NetworkService"]
+ },
+ {
+ "prefix": "outofblink-cors-ns",
+ "base": "http/tests/security",
+ "args": ["--enable-features=OutOfBlinkCORS,NetworkService"]
+ },
+ {
+ "prefix": "outofblink-cors-ns",
"base": "http/tests/xmlhttprequest",
"args": ["--enable-features=OutOfBlinkCORS,NetworkService"]
},