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> |