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

Unified Diff: sky/tests/modules/load-event.sky

Issue 928393003: Remove the concept of document.documentElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
« no previous file with comments | « sky/tests/lowlevel/img-expected.txt ('k') | sky/tests/services/event-sender.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/modules/load-event.sky
diff --git a/sky/tests/modules/load-event.sky b/sky/tests/modules/load-event.sky
index f49c45faae5a9419e010ccdf0387ab055c6103f2..f3515319731253c51fcd43176533ef569f0b5672 100644
--- a/sky/tests/modules/load-event.sky
+++ b/sky/tests/modules/load-event.sky
@@ -9,7 +9,7 @@ element.setAttribute("as", "hello");
element.addEventListener("load", function() {
document.getElementById("result1").textContent = "PASS: Load event fired.";
});
-document.documentElement.appendChild(element);
+document.firstElementChild.appendChild(element);
</script>
<script>
document.getElementById("result2").textContent = hello;
« no previous file with comments | « sky/tests/lowlevel/img-expected.txt ('k') | sky/tests/services/event-sender.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698