[whatwg] Minor addition/rewording for canvas section

Ian Hickson ian at hixie.ch
Thu Jan 31 22:38:58 PST 2008


On Sun, 13 Jan 2008, Oliver Hunt wrote:
> 
> Section 3.14.11 contains the statement: "Security: To prevent 
> information leakage, the toDataURL() and getImageData() methods should 
> raise a security exception if the canvas has ever had an image painted 
> on it whose origin is different from that of the script calling the 
> method."
> 
> In the interests of completeness this should probably read "Security: To 
> prevent information leakage, the toDataURL() and getImageData() methods 
> should raise a security exception if the canvas has ever had an image or 
> ImageData painted on it whose origin is different from that of the 
> script calling the method." (or similar)

I overhauled this paragraph. It's now a separate, much more explicit, 
section. Did I miss anything?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list