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

Unified Diff: LayoutTests/fast/parser/append-child-followed-by-document-write.html

Issue 1163863005: Check documentElement conditions in parser* DOM mutation methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add the test again. Created 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/parser/append-child-followed-by-document-write-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/parser/append-child-followed-by-document-write.html
diff --git a/LayoutTests/fast/parser/append-child-followed-by-document-write.html b/LayoutTests/fast/parser/append-child-followed-by-document-write.html
index 01698785f46101c0a9d5324e0f8d401c5aeaaecd..41ce8265d029436ed8dc74c93b1b86f6cd6136c1 100644
--- a/LayoutTests/fast/parser/append-child-followed-by-document-write.html
+++ b/LayoutTests/fast/parser/append-child-followed-by-document-write.html
@@ -8,12 +8,10 @@ function go() {
// Ideally we would use the dump-as-markup test framework for this test, but
// the contortions we go through here are too tricky for dump-as-markup.
-
- var firstChildHTML = document.firstChild.outerHTML;
- var secondChildHTML = document.firstChild.nextSibling.outerHTML;
-
- alert("document.firstChild.outerHTML: " + firstChildHTML + "\n" +
- "document.firstChild.nextSibling.outerHTML: " + secondChildHTML);
+ // TODO(esprehn): Is this really true?
+ alert("document.documentElement.outerHTML: " + document.documentElement.outerHTML + "\n" +
+ "document.childNodes.length: " + document.childNodes.length + "\n" +
+ "b element: " + b + "\n");
}
window.addEventListener("load", go, false);
« no previous file with comments | « no previous file | LayoutTests/fast/parser/append-child-followed-by-document-write-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698