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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/redirect-with-delay.html

Issue 2736623002: Revert "Do not reuse a loading resource associated with another fetcher"
Patch Set: rebase Created 3 years, 8 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 | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redirect.pl » ('j') | 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/redirect-with-delay.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/redirect-with-delay.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/redirect-with-delay.html
deleted file mode 100644
index bd3cc03539c3c6eeebc98a5c5a3486a129b8c554..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/redirect-with-delay.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!doctype html>
-<script src = "/resources/testharness.js"></script>
-<script src = "/resources/testharnessreport.js"></script>
-<script>
-let test = async_test('CSP should be enforced to the iframe');
-let counter = 0;
-const global = window;
-
-function check() {
- ++counter;
- if (counter !== 2)
- return;
- const iframe = document.querySelector('iframe');
- assert_true(global.script_loaded, 'in the main frame');
- assert_equals(iframe.contentWindow.script_loaded, undefined, 'in the iframe');
- test.done();
-}
-</script>
-
-<script src="http://localhost:8000/security/contentSecurityPolicy/resources/redirect.pl?type=script&wait=true" async onload="test.step(check)"></script>
-<iframe src="resources/redirect-with-delay-iframe.html" onload="test.step(check)"></iframe>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redirect.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698