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

Unified Diff: LayoutTests/http/tests/xsl/resources/xslt-transform-with-javascript-disabled-mainframe.html

Issue 313173012: HTMLParser should use current value of scriptEnabled flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@WebKit-ADD
Patch Set: Created 6 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/xsl/resources/xslt-transform-with-javascript-disabled-mainframe.html
diff --git a/LayoutTests/http/tests/xsl/resources/xslt-transform-with-javascript-disabled-mainframe.html b/LayoutTests/http/tests/xsl/resources/xslt-transform-with-javascript-disabled-mainframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..11ac3f894295a3f2ed3651e4ca37624c9434a0fa
--- /dev/null
+++ b/LayoutTests/http/tests/xsl/resources/xslt-transform-with-javascript-disabled-mainframe.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+<script>
+function shouldNotBeExecuted()
+{
+ var divElement = document.createElement("div");
+ divElement.innerHTML = "This text should not present";
+ document.body.appendChild(divElement);
+}
+
+</script>
+</head>
+<body>
+<script>shouldNotBeExecuted()</script>
+<iframe src="resources/xslt-transform-with-javascript-disabled.xml"></iframe>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698