| Index: content/test/data/page_with_input_field.html
|
| diff --git a/content/test/data/page_with_input_field.html b/content/test/data/page_with_input_field.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..494456a15609344cf5d3da74af23c0c5e764a16d
|
| --- /dev/null
|
| +++ b/content/test/data/page_with_input_field.html
|
| @@ -0,0 +1,31 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| +
|
| +function focusInputField() {
|
| + var inputField = document.getElementById("text-field");
|
| + inputField.focus();
|
| +}
|
| +
|
| +function onInputFocus() {
|
| + domAutomationController.setAutomationId(0);
|
| + domAutomationController.send("input-focus");
|
| +}
|
| +
|
| +function onInputBlur() {
|
| + domAutomationController.setAutomationId(0);
|
| + domAutomationController.send("input-blur");
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +
|
| +<body>
|
| +This page has a cross-site iframe and a text input field.
|
| +<input type='text' id='text-field'
|
| + onfocus="onInputFocus()" onblur="onInputBlur()"><br>
|
| +<iframe id='subframe' src="/cross-site/b.com/page_with_blur.html"></iframe>
|
| +</body>
|
| +</html>
|
| +
|
|
|