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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-whitelist.html

Issue 2360293002: Fix 'strict-dynamic' tests (generateURL / assert mismatch). (Closed)
Patch Set: Fix misplaced parentheses. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-whitelist.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-whitelist.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-whitelist.html
index a737148d95d7bf8bc7f388de41508b97d661439a..16eccc1833297e0dd18a8efdd5da3635a85a6b93 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-whitelist.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic-whitelist.html
@@ -25,7 +25,7 @@
setTimeout(t.step_func_done(function () {
assert_equals(loaded[generateURL("write")], undefined);
assert_true(blocked[24]);
- }, 1));
+ }), 1);
}, "Script injected via 'document.write' is not allowed with 'strict-dynamic', even if whitelisted.");
async_test(function (t) {
@@ -33,7 +33,7 @@
setTimeout(t.step_func_done(function () {
assert_equals(loaded[generateURL("write-defer")], undefined);
assert_true(blocked[32]);
- }, 1));
+ }), 1);
}, "Deferred script injected via 'document.write' is not allowed with 'strict-dynamic', even if whitelisted.");
async_test(function (t) {
@@ -41,7 +41,7 @@
setTimeout(t.step_func_done(function () {
assert_equals(loaded[generateURL("write-async")], undefined);
assert_true(blocked[40]);
- }, 1));
+ }), 1);
}, "Async script injected via 'document.write' is not allowed with 'strict-dynamic', even if whitelisted.");
</script>
</body>
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-strict-dynamic.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698