Chromium Code Reviews

Unified Diff: LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors.html

Issue 47923008: Block execution of failed 'crossorigin' <script>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors.html
diff --git a/LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors.html b/LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors.html
index 33101dce0d47a7daecc75b3e6ef6af4cf157a054..27ff3fea3b20d95c2614dd892052bdb4293fca0a 100644
--- a/LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors.html
+++ b/LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors.html
@@ -2,7 +2,7 @@
<head>
</head>
<body>
- <script src="../../js-test-resources/js-test.js"></script>
+ <script src="/js-test-resources/js-test.js"></script>
<script>
window.jsTestIsAsync = true;
description("The test passes if 'window.onerror' gets sanitized information about an exception thrown in a script loaded without a 'crossorigin' attribute, and delivered without valid CORS headers.");
« no previous file with comments | « LayoutTests/http/tests/security/script-onerror-no-crossorigin-cors.html ('k') | Source/core/css/CSSImageValue.h » ('j') | no next file with comments »

Powered by Google App Engine