Re: [selectors-api] NSResolver moving nodes between documents

Boris Zbarsky wrote:
> Jonas Sicking wrote:
>> Hmm.. good point. Though I still think that you basically have to 
>> intentionally shoot yourself in the foot for this to happen, and so 
>> it's a case that is unlikely to come up and cause interoperability 
>> issues.
> 
> Oh, definitely.  I'm just saying that Gecko might want to throw a 
> security exception in that situation, so it would be nice if the spec 
> did not prohibit that.

If I add the following paragraph to the security section, would this 
adequately address this issue?

   If, at any time, the implementation detects a situation which would
   violate security policies, the implementation MAY abort and raise a
   security exception.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Tuesday, 15 April 2008 08:14:34 UTC