Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1242)

Unified Diff: content/test/data/render_frame_host/focus.html

Issue 860393004: Expose whether a frame is focused to the browser process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kenrb review comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698