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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/having-sniffing-script.html

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, 5 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/htmlimports/resources/having-sniffing-script.html
diff --git a/LayoutTests/http/tests/htmlimports/resources/having-sniffing-script.html b/LayoutTests/http/tests/htmlimports/resources/having-sniffing-script.html
new file mode 100644
index 0000000000000000000000000000000000000000..dd8bb983f3b9081f3b8ee7d316b1592ae0c76da6
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/resources/having-sniffing-script.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="sniff-js.cgi"></script>
+<script>
+document.inlineScriptHasRun = true;
+eval("document.evalFromInlineHasRun = true;");
+</script>
+
+</head>
+</html>

Powered by Google App Engine
This is Rietveld 408576698