Index: content/test/data/render_frame_host/focus.html |
diff --git a/content/test/data/render_frame_host/focus.html b/content/test/data/render_frame_host/focus.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..27e5841d5917a94c85e62ec045ea6661cde3b223 |
--- /dev/null |
+++ b/content/test/data/render_frame_host/focus.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+</head> |
+<body> |
+ <iframe name='frame1' src='data:text/html,<input><div>frame1</div>'></iframe> |
+ <iframe name='frame2' src='data:text/html,<input><div>frame2</div>'></iframe> |
+</body> |
+<script> |
+ function focusframe1() { |
+ frames[0].focus(); |
+ } |
+ function focusframe2() { |
+ frames[1].focus(); |
+ } |
+</script> |
+</html> |