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

Re: copy events and content from server

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Thu, 05 May 2011 03:34:59 +0100
To: public-webapps@w3.org
Message-ID: <op.vuzlglzrjz3wb9@coruscant>
On , Paul Libbrecht <paul@hoplahup.net> wrote:

> Hello list,
> As noted in the thread about security started by Halvord:
>> In many of the scenarios I have working for, the content to be put on the clipboard would come from a "luxury" knowledge structure on the server, one that has access to some semantic source and can infer useful representations out of it; these get put to the clipboard.
>> An offline HTML would also be an example of it.
> but I am realizing that this is probably not possible to do because the only way to do obtain something from the server is to wait until a callback is called (and this is good so) at which time the copy event might be long gone already.
> Would it be thinkable to *lock* the copy event until either a timeout occurs or an unlock is called?
> This way the script in the client would be able to fetch rich transformations from the server.

A synchronous XHR solves this use case and there are no magic locks.
Received on Thursday, 5 May 2011 02:35:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:19 UTC