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

Unified Diff: android_webview/test/data/device_files/image_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/image_access.html
diff --git a/android_webview/test/data/device_files/image_access.html b/android_webview/test/data/device_files/image_access.html
new file mode 100644
index 0000000000000000000000000000000000000000..0b4cd49055e5acdbed7029e3a40116887d742435
--- /dev/null
+++ b/android_webview/test/data/device_files/image_access.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ <script>
+ function updateTitle() {
+ document.title = document.getElementById('img').naturalHeight;
+ }
+ </script>
+ </head>
+ <!-- TODO(mnaganov): Remove setInterval once img.onload fix is landed in WebKit (crbug.com/146554). -->
+ <body onload="updateTitle(); setInterval('updateTitle()', 500)">
+ <img id="img" onload="updateTitle()" src="chrome.png" />
+ </body>
+</html>
« no previous file with comments | « android_webview/test/data/device_files/iframe_access.html ('k') | android_webview/test/data/device_files/localStorage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698