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

Side by Side Diff: LayoutTests/http/tests/htmlimports/resources/external-script-with-nonce.js

Issue 19762002: [HTML Imports] Let script of imported document running. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made a test more robust. Created 7 years, 4 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 if (document.currentScript.getAttribute("nonce") == null)
2 throw "Should be included by nonce-annotated element!";
3 document.externalScriptWithNonceHasRun = true;
4 eval("document.evalFromExternalWithNonceHasRun = true;");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698