Re: [clipboard] Semi-Trusted Events Alternative

> a page can wipe out my
> entire clipboard history if I move my mouse over it.

Not quite :) Check the list of events - mousemove isn't included:

I agree that all the concerns you listed are real. I recall an article I've seen about a court case against a teacher because a school computer was infected with malware and happened to display some porn during this teacher's class. I think this was in the U.S. or UK, so even the countries we tend to think have the most developed legal systems have problems with basic tech literacy! It's a sad fact that the web is implemented in such an imperfect world..and we should definitely keep that in mind.

However, I hope that checking the list of events will help - the policy has more limitations than you seem to think. I still think that the popup precedent gives us reason for some optimism - it also shows that if an aspect of web technology is abused and causes nuisance, browser vendors will step up to implement limitations. I think in the long run, this is also the case with clipboard APIs - we're spec'ing something trying to balance the usability and trust issues, if we get it right we've enabled some more functionality for web apps without too much nuisance and abuse - if we get it wrong, we probably have to revisit this and lock it down with site whitelists and such. Keeping in mind that Flash has had similar policies for a while and "some site put weird stuff on my clipboard" hasn't been a frequent complaint so far (and AFAIK hasn't been needed as defence in court yet), I think and hope we're shipping a reasonable and balanced policy here.

Received on Tuesday, 16 September 2014 09:31:12 UTC