Index: android_webview/test/data/device_files/iframe_access.html |
diff --git a/android_webview/test/data/device_files/iframe_access.html b/android_webview/test/data/device_files/iframe_access.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..86e0d2362cee2da7ef45a164b90b85f3a71611cd |
--- /dev/null |
+++ b/android_webview/test/data/device_files/iframe_access.html |
@@ -0,0 +1,16 @@ |
+<html> |
+ <head> |
+ <script> |
+ function onload() { |
+ try { |
+ document.title = document.getElementById("frame").contentWindow.location.href; |
+ } catch (e) { |
+ document.title = "Exception"; |
+ } |
+ } |
+ </script> |
+ </head> |
+ <body onload="onload()"> |
+ <iframe id="frame" src="hello_world.html"></iframe> |
+ </body> |
+</html> |