my web page is like this:
<html>
...
<img src="custom_scheme://xxx.png" />
...
</html>
console log:
Document was loaded from Application Cache with manifest https://.../xxx.manifest
custom_scheme://xxx.png:1 GET custom_scheme://xxx.png net::ERR_UNKNOWN_URL_SCHEME
...
As I debugged the code:
If using appcache, the browser process will send ipc message to the utility process.
And then in the utility process, SubresourceLoader will at last call URLRequestJobFactory::IsHandledProtocol to find the ProtocolHandler.
So far as I known, we only registered our ProtocolHandler in the browser process, thus the utility process doesn't known how to process "custom_scheme", so it causes ERR_UNKNOWN_URL_SCHEME.
Am I Right?
Since I cannot push the web developers not to use app cache, is there a way to disable app cache in the browser? Or is there a way to fix it, that means let the browser process custem schemes correctly even if it uses app cache?
releted issue:
https://bitbucket.org/chromiumembedded/ ... ndlers-are
(I am not sure whether the "cache" metioned in the issue means HTML5 Application Cache or the ordinary browser cache.)