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> |