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

Unified Diff: android_webview/test/data/device_files/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: Fixed layering violation 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: 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>
« no previous file with comments | « android_webview/test/data/device_files/hello_world.html ('k') | android_webview/test/data/device_files/image_access.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698