I am developing an AJAX application using jQuery and Microsoft Seadragon technologies.
I need to have access to the html5 canvas function toDataURL.
Google Chrome uses the same origin rule for this function, which means that a page executed locally (with file:/// in the URL) does not satisfy the same origin rule and an exception is thrown.
In Chrome 7, starting an application with the --allow-file-access-from-files canvas.toDataURL() allows you to call canvas.toDataURL() from local files.
However, it seems that launching the beta version of Chrome 8 with the same option ( --allow-file-access-from-files ) does not allow calling canvas.toDataURL() in the local file.
Did Chrome --allow-file-access-from-files option, or has it just been disabled since it is a beta and not a full version?
Thank!
file google-chrome ajax same-origin-policy local
Alexandre Nov 24 '10 at 20:03 2010-11-24 20:03
source share