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> |