safeguarding a live getData() against looping scripts? (was: Re: clipboard events)

>> IMO getData() should be 'live' - i.e. return what's on the clipboard.

> I think having it return live data could result in potential security
> issues. Couldn't a script loop inside the paste event to keep sniffing  
> out live data?

What should we do about this? Should the spec mandate a timeout or a limit  
on how many times a script may call getData() for the same event?

-- 
Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/

Received on Tuesday, 17 May 2011 04:15:46 UTC