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

Unified Diff: LayoutTests/fast/frames/resources/reparent-iframe.html

Issue 948793003: Fix inconsistent frame detach behavior of ContainerNode::parserRemoveChild. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/fast/frames/resources/reparent-iframe.html
diff --git a/LayoutTests/fast/frames/resources/reparent-iframe.html b/LayoutTests/fast/frames/resources/reparent-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..f8123c1553795b8d44a1b5f4a3987fcf9781af58
--- /dev/null
+++ b/LayoutTests/fast/frames/resources/reparent-iframe.html
@@ -0,0 +1,10 @@
+<b><p>
+<script>
+var body = document.body;
+body.remove();
+top.reparentedIframe = body.firstChild.firstChild.appendChild(document.createElement("iframe"));
+document.documentElement.appendChild(body.firstChild);
+body = null;
Yuta Kitamura 2015/02/23 07:54:41 Took some time for me to understand this part; let
+</script>
+<!-- Force reparenting! -->
Yuta Kitamura 2015/02/23 07:54:41 This comment seems unhelpful and unnecessary
+</b></p>
Yuta Kitamura 2015/02/23 07:54:41 Close tag order is wrong

Powered by Google App Engine
This is Rietveld 408576698