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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/fail-to-inject-script.js

Issue 1032033002: Fire error events for a variety of script and style failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed test failures Created 5 years, 9 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
OLDNEW
(Empty)
1 var s = document.createElement('script');
2 s.onerror = function() {
3 done();
4 };
5 s.onload = function() {
6 assert_unreached('Script loaded.');
7 };
8 document.body.appendChild(s);
9 s.innerText = 'assert_unreached("Script should not run.");'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698