Index: chrome/test/data/chrome_endure/endurance_control.html |
diff --git a/chrome/test/data/chrome_endure/endurance_control.html b/chrome/test/data/chrome_endure/endurance_control.html |
index 72a024e75d00484b15f89cfb1b062f55b0d66031..e06ddbe783d012c6eb58ba73b184425b596a9be5 100644 |
--- a/chrome/test/data/chrome_endure/endurance_control.html |
+++ b/chrome/test/data/chrome_endure/endurance_control.html |
@@ -32,8 +32,8 @@ |
} |
function run_detached_dom_test2() { |
- // Detach the dom tree that was just created. |
- document.body.removeChild(document.body.firstChild); |
+ // Detach the dom tree that was just created (at child index 1). |
+ document.body.removeChild(document.body.childNodes[1]); |
setTimeout('run_detached_dom_test()', 500) |
} |