Re: [imports] credentials flag bits need to be updated to current fetch terminology

2014-07-27 Thread Anne van Kesteren
On Tue, Jul 22, 2014 at 12:36 AM, Hajime Morrita morr...@google.com wrote:
 It behaved like that before. I changed it to current one so that it works
 with credential-protected in-house or staged apps.

You'll need to elaborate a bit, I'm not sure I understand. In any
event, I think XMLHttpRequest's default behavior of only sending
credentials same-origin is somewhat confusing. If we only offer one
mode for rel=import we should either always include credentials (and
thus require more complicated CORS headers) or never.


-- 
http://annevankesteren.nl/



Re: [clipboard] Semi-Trusted Events Alternative

2014-07-27 Thread James Greene
  If this is really the case, it seems that separating Copy from Paste
would be proper.

 The spec sort of distinguishes them (but this should probably be spelled
out in detail): per the current spec text, copy/cut can be triggered from
any trusted or semi-trusted event, while paste is only allowed if the UA is
explicitly configured to allow it. But I should explain this better in the
spec - especially because I keep forgetting about this myself ;)

I very much agree: it seems like much of the discussion slowing down
progress on this spec and subsequent implementations is a concern over
unauthorized programmatic access to read the user's clipboard (i.e.
synthetic `paste`) but that is NOT part of the spec, nor would I want it to
be.

That functionality is also NOT supported in Flash: you can still only read
the clipboard contents while handling a user-initiated `paste` operation
into a Flash UI component.

The main desired functionality that is really driving this spec is the
synthetic/programmatic `copy` operation. Looking at ZeroClipboard's [1][2]
usage statistics provides plenty of evidence that this feature is both
increasingly desired by developers [3][4][5] and frequently used by
consumers [6].

[1]: ZeroClipboard home page: http://zeroclipboard.org/

[2]: ZeroClipboard repo: https://github.com/zeroclipboard/zeroclipboard/

[3]: Public websites using ZeroClipboard number well over 30,000:
https://github.com/zeroclipboard/zeroclipboard/wiki#websites-using-zeroclipboard

[4]: ZeroClipboard currently has 3000+ stars on GitHub.

[5]: ZeroClipboard averages more than 1000 installs per week via NPM, which
is only one of many ways/systems by which developers can get ZeroClipboard:
https://www.npmjs.org/package/zeroclipboard

[6]: GitHub usage statistics (as of March 2014) for the ZeroClipboard
click-to-copy buttons indicate an average of 35,000+ clicks per day.

Sincerely,
   James M. Greene
   http://greene.io/