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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/iframe_003.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/iframe_003.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/iframe_003.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/iframe_003.html
deleted file mode 100644
index 409a5c5616040e20484297ca89f37b7d18365aa7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/iframe_003.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!doctype html>
-<title>document.write script into iframe</title>
-<script src="../../../../../../resources/testharness.js"></script><script src="../../../../../../resources/testharnessreport.js"></script>
-<iframe id="test"></iframe>
-<script>
-test(
-function() {
- var iframe = document.getElementById("test");
- var s = "<script>document.write(\"<i id='a'>Filler Text</i>\")</script" + "><b id=b>Filler Text</b>"
- for (var i=0; i<s.length; i++) {
- iframe.contentDocument.write(s[i]);
- }
- iframe.contentDocument.close();
- //Note: <script> ends up in <head>
- assert_equals(iframe.contentDocument.body.childNodes[0].textContent, "Filler Text");
- assert_equals(iframe.contentDocument.body.childNodes[0].localName, "i");
- assert_equals(iframe.contentDocument.body.childNodes[0].getAttribute('id'), "a");
- assert_equals(iframe.contentDocument.body.childNodes[1].textContent, "Filler Text");
- assert_equals(iframe.contentDocument.body.childNodes[1].localName, "b");
- assert_equals(iframe.contentDocument.body.childNodes[1].getAttribute('id'), "b");
-});
-</script>
-<div id="log"></div>

Powered by Google App Engine
This is Rietveld 408576698