We found some behavior changes on Kitkat's new Chromium webview
implementation.  One issue we encountered was the "content://" urls in
a downloaded html page are no longer getting loaded via the content
provider. I was able to put together a small Android app to
demonstrate this behavior change
(https://github.com/lhwa/KitkatWebviewTest). When the page contains an
image src url in "content://" scheme, the image cannot be loaded on
Kitkat and we get the following errors in logcat:

INFO/chromium(6759): [INFO:CONSOLE(9)] "Not allowed to load local
resource: content://com.testing.image/kitkat.png", source:
https://googledrive.com/host/0B6yymhTJtX7ZRVdoRjNuWDA5NGc/example.html
(9)

The image can be loaded correctly in webview on Android 4.3 and priori
versions. I was not able to find any websettings to work around this
on Kitkat.  Can anyone help address this behavior change on Kitkat? Or
share some insights on the given error and suggest any workaround?


Thanks and regards,

Ankur.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to