Comment #4 on issue 19129 by [email protected]: Extension Problem: Works in browser as HTML but don't work as toolstrip http://code.google.com/p/chromium/issues/detail?id=19129
It looks like the SecurityOrigin of html document which uses chrome-extension protocol disallows accessing local resource. The following is my analysis for reference. In function HTMLMediaElement::isSafeToLoadURL, it calls FrameLoader::canLoad to see whether the specified URL resource can be allowed to load via file protocol according to the SecurityOrigin of current document. Since the protocol of the document of background.html is chrome-extension, the SecurityOrigin in the document is by designed to disallow loading local resource via file protocol. Please refer to function SecurityOrigin::SecurityOrigin(const KURL& url). -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
