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

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

Issue 1156273002: Add assert that updateLayoutTree clears dirty bits. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Check the accept conditions for documents. 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
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..c3d9c5e97b6c3cf1f18b87f1de3056e1e60c736b 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,11 @@ 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.
+ // TODO(esprehn): Is this really true?
- var firstChildHTML = document.firstChild.outerHTML;
- var secondChildHTML = document.firstChild.nextSibling.outerHTML;
-
- alert("document.firstChild.outerHTML: " + firstChildHTML + "\n" +
- "document.firstChild.nextSibling.outerHTML: " + secondChildHTML);
+ alert("document.documentElement.outerHTML: " + document.documentElement.outerHTML + "\n" +
+ "document.childNodes.length: " + document.childNodes.length + "\n" +
+ "b element: " + b + "\n");
}
window.addEventListener("load", go, false);

Powered by Google App Engine
This is Rietveld 408576698