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

Unified Diff: chrome/test/data/android/device_files/webview/iframe_access.html

Issue 10911097: [Android] Upstream org.chromium.base.test.UrlUtils (partially) and device files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
Index: chrome/test/data/android/device_files/webview/iframe_access.html
diff --git a/chrome/test/data/android/device_files/webview/iframe_access.html b/chrome/test/data/android/device_files/webview/iframe_access.html
new file mode 100644
index 0000000000000000000000000000000000000000..86e0d2362cee2da7ef45a164b90b85f3a71611cd
--- /dev/null
+++ b/chrome/test/data/android/device_files/webview/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>

Powered by Google App Engine
This is Rietveld 408576698