Index: blimp/test/data/input.html |
diff --git a/blimp/test/data/input.html b/blimp/test/data/input.html |
index 6b80a10a4cc9723b63e06e026499b0947ed2cd73..f2fc1d9166746e162687be1a9e789705f76a3487 100644 |
--- a/blimp/test/data/input.html |
+++ b/blimp/test/data/input.html |
@@ -2,6 +2,7 @@ |
<script> |
window.onload = function() { |
+ var form = document.getElementById('form'); |
var input = document.getElementById('input'); |
input.oninput = function() { |
@@ -12,7 +13,14 @@ window.onload = function() { |
document.onclick = function() { |
input.focus(); |
}; |
+ |
+ form.onsubmit = function() { |
+ window.domAutomationController.setAutomationId(0); |
+ window.domAutomationController.send("Submitted"); |
+ }; |
}; |
</script> |
-<input type="text" id="input"> |
+<form id="form"> |
+ <input type="text" id="input"> |
+</form> |