Index: chrome/test/data/android/device_files/webview/image_access.html |
diff --git a/chrome/test/data/android/device_files/webview/image_access.html b/chrome/test/data/android/device_files/webview/image_access.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..40bcf64a4edef3a19673bb94680faf0ef364c2dd |
--- /dev/null |
+++ b/chrome/test/data/android/device_files/webview/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 (b/6088775). --> |
klundberg
2012/09/05 16:47:03
Might be a good idea to move b/6088775 into crbug
mnaganov (inactive)
2012/09/05 16:58:10
Added crbug.com/146554.
|
+ <body onload="updateTitle(); setInterval('updateTitle()', 500)"> |
+ <img id="img" onload="updateTitle()" src="chrome.png" /> |
+ </body> |
+</html> |