summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/dom_automation/wait/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/dom_automation/wait/test.html')
-rw-r--r--chrome/test/data/dom_automation/wait/test.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/test/data/dom_automation/wait/test.html b/chrome/test/data/dom_automation/wait/test.html
new file mode 100644
index 0000000..2a7941a
--- /dev/null
+++ b/chrome/test/data/dom_automation/wait/test.html
@@ -0,0 +1,21 @@
+<html>
+<script>
+window.onload = function() {
+ window.setTimeout(function() {
+ document.getElementById("anchor").href = "http://www.google.com";
+ }, 2000);
+
+ window.setTimeout(function() {
+ var div = document.createElement("div");
+ div.innerHTML = "div_inner";
+ document.body.appendChild(div);
+ }, 2000);
+
+ window.setTimeout(function() {
+ document.body.removeChild(document.querySelector("img"));
+ }, 2000);
+}
+</script>
+<a id="anchor"></a>
+<img width=100 height=100>
+</html>