W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

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

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Thu, 19 May 2011 01:43:33 +0100
To: public-webapps@w3.org
Message-ID: <op.vvpdmvztjz3wb9@coruscant>
On , Hallvord R. M. Steen <hallvord@opera.com> wrote:

> On Thu, 19 May 2011 09:11:56 +0900, Joćo Eiras <joao.eiras@gmail.com>
> wrote:
>
>> getData and setData must work outside clipboard events, like when
>> clicking paste/copy/cut buttons on a toolbar.
>
> I think this is covered by execCommand('Paste') etc.
>

But there is no way to access the clipboard contents. Or does execCommand dispatch a synchronous event ? What if the event is prevented ? Does execCommand return false ?
Received on Thursday, 19 May 2011 00:44:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT