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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv='Content-Security-Policy' content="img-src 'none'">
5 <script src='/inspector/console-test.js'></script>
6 <script src='/inspector/debugger-test.js'></script>
7 <script src='/inspector/inspector-test.js'></script>
8 <script src='/inspector/stacktraces/resources/stacktrace-test.js'></scri pt>
9 <script>
10 function thisTest() {
11 var img = document.createElement('img');
12 img.src = '/resources/abe.png';
13 document.body.appendChild(img);
14 }
15 </script>
16 </head>
17 <body onload='runTest()'>
18 <p>This test injects a blocked image from JavaScript. The resulting cons ole
19 error should contain a stack trace.</p>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698