[whatwg] Canvas 2D Context Proposal: resetOriginClean

On Thu, Apr 22, 2010 at 5:05 PM, Charles Pritchard <chuck at jumis.com> wrote:
>> On 4/20/10 7:18 AM, Charles Pritchard wrote:
>>     
>> />/> When resetOriginClean is executed, an implementation shall request
>> elevated
>> />/> privileges, and if granted, set the origin-clean flag of the canvas
>> />/> element to true.
>> />
>>     
>>> Mozilla almost certainly not be willing to implement such a method.
>>> -Boris
>>>       
>> Well... as that idea has been torpedoed, what/where is current work
>> being done to unify privilege escalation?
>>     
The seems to be covered in the "Widget Access Request Policy".
http://www.w3.org/TR/widgets-access/

> For what it's worth, we consider enablePrivilege to be a horrible
> solution for basically any involved party (browser developer, user,
> and website author), and we're in the process of removing it. So
> saying that anything is like enablePrivilege is not a good argument :)
>
> / Jonas
>   
Thanks for clarifying

Has there been progress on enabling Canvas origin-clean with
Cross-Origin Resource Sharing?

Currently, a CROS-enabled XMLHttpRequest result must be serialized
in base64 then load it into an <img> tag.

Cross-Origin Resource Sharing:
http://www.w3.org/TR/cors/

-Charles

Received on Friday, 23 April 2010 09:43:39 UTC