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

Unified Diff: LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html

Issue 200923002: Post a microtask to load <img> elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix last test failure Created 6 years, 7 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
Index: LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html
diff --git a/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html b/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html
deleted file mode 100644
index db01e5ec58753bd705409dc17314b666eed98790..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv='Content-Security-Policy' content="img-src 'none'">
- <script src='/inspector/console-test.js'></script>
- <script src='/inspector/debugger-test.js'></script>
- <script src='/inspector/inspector-test.js'></script>
- <script src='/inspector/stacktraces/resources/stacktrace-test.js'></script>
- <script>
- function thisTest() {
- var img = document.createElement('img');
- img.src = '/resources/abe.png';
- document.body.appendChild(img);
- }
- </script>
- </head>
- <body onload='runTest()'>
- <p>This test injects a blocked image from JavaScript. The resulting console
- error should contain a stack trace.</p>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698