Created
May 12, 2017 10:50
-
-
Save allstarschh/52fb691dbe853459b61761eb6c432574 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dom/base/test/test_bug518104.html b/dom/base/test/test_bug518104.html | |
index d60d2ac9f85c..df255cfe86e3 100644 | |
--- a/dom/base/test/test_bug518104.html | |
+++ b/dom/base/test/test_bug518104.html | |
@@ -21,17 +21,17 @@ function done() { | |
var iframe = document.getElementById("iframe"); | |
var divs = iframe.contentWindow.document.getElementsByTagName("p").length; | |
is(divs, 0, "<p> got written.") | |
SimpleTest.finish(); | |
} | |
</script> | |
<div id="content" style="display: none"> | |
- <iframe id='iframe' src="data:text/html, | |
+ <iframe id='iframe' srcdoc=" | |
<div></div><div></div> | |
- <script defer src='data:application/javascript,document.write(%2522<p></p>%2522);parent.done();document.close();'></script>"> | |
+ <script defer src='data:application/javascript,document.write(\'<p></p>\');parent.done();document.close();'></script>"> | |
</iframe> | |
</div> | |
<pre id="test"> | |
</pre> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment