OLD | NEW |
| (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> | |
OLD | NEW |