Re: CSP 1.1 DOM design

2012-11-05 Thread Mike West
On Sun, Nov 4, 2012 at 9:58 PM, Alex Russell slightly...@google.com wrote: Looking at Section 3.4 of the CSP 1.1 draft [1], I'm noticing that the IDL specified feels very, very strange to use from the JS perspective. Thanks for taking a look! This is great feedback. For instance, the name

Re: CSP 1.1 DOM design

2012-11-05 Thread Anne van Kesteren
On Mon, Nov 5, 2012 at 10:27 AM, Mike West mk...@google.com wrote: On Sun, Nov 4, 2012 at 9:58 PM, Alex Russell slightly...@google.com wrote: readonly attribute DOMString[] reportURIs; We decided at TPAC to remove the reportURIs getter unless someone has a really good use-case for it. If

Re: CSP 1.1 DOM design

2012-11-05 Thread Alex Russell
Inline. On Mon, Nov 5, 2012 at 9:27 AM, Mike West mk...@google.com wrote: On Sun, Nov 4, 2012 at 9:58 PM, Alex Russell slightly...@google.comwrote: Looking at Section 3.4 of the CSP 1.1 draft [1], I'm noticing that the IDL specified feels very, very strange to use from the JS perspective.

Call for Editor: URL spec

2012-11-05 Thread Arthur Barstow
Hi All, We need an Editor(s) to move WebApps' URL spec towards Recommendation. If you are interested in this Editor position, please contact me offlist. -Thanks, AB [URL] http://dvcs.w3.org/hg/url/

Re: CSP 1.1 DOM design

2012-11-05 Thread Alex Russell
On Mon, Nov 5, 2012 at 10:56 AM, David Bruant bruan...@gmail.com wrote: Le 05/11/2012 11:32, Alex Russell a écrit : On Mon, Nov 5, 2012 at 1:08 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/4/12 3:58 PM, Alex Russell wrote: DOMString toString(); This should probably be:

Re: CSP 1.1 DOM design

2012-11-05 Thread David Bruant
Le 05/11/2012 12:50, Alex Russell a écrit : On Mon, Nov 5, 2012 at 10:56 AM, David Bruant bruan...@gmail.com mailto:bruan...@gmail.com wrote: Le 05/11/2012 11:32, Alex Russell a écrit : On Mon, Nov 5, 2012 at 1:08 AM, Boris Zbarsky bzbar...@mit.edu mailto:bzbar...@mit.edu wrote:

Re: Pre-fetch rough draft

2012-11-05 Thread Julian Reschke
On 2012-11-02 11:16, n...@yandex-team.ru wrote: On Tue, 30 Oct 2012, Michael Nordman micha...@google.com wrote The appcache is encumbered with guarantees about atomically updating a set of resources and then explicitly not hitting the network for them once up to date to ensure the site/app will

Re: Call for Editor: URL spec

2012-11-05 Thread Julian Reschke
On 2012-11-05 12:46, Arthur Barstow wrote: Hi All, We need an Editor(s) to move WebApps' URL spec towards Recommendation. If you are interested in this Editor position, please contact me offlist. -Thanks, AB [URL] http://dvcs.w3.org/hg/url/ Is this about the URI above or about

Re: Call for Editor: URL spec

2012-11-05 Thread Arthur Barstow
On 11/5/12 7:29 AM, ext Julian Reschke wrote: On 2012-11-05 12:46, Arthur Barstow wrote: Hi All, We need an Editor(s) to move WebApps' URL spec towards Recommendation. If you are interested in this Editor position, please contact me offlist. -Thanks, AB [URL] http://dvcs.w3.org/hg/url/

Re: CSP 1.1 DOM design

2012-11-05 Thread Alex Russell
On Mon, Nov 5, 2012 at 12:14 PM, David Bruant bruan...@gmail.com wrote: Le 05/11/2012 12:50, Alex Russell a écrit : On Mon, Nov 5, 2012 at 10:56 AM, David Bruant bruan...@gmail.com wrote: Le 05/11/2012 11:32, Alex Russell a écrit : On Mon, Nov 5, 2012 at 1:08 AM, Boris Zbarsky

Re: [quota-api] Need for session storage type

2012-11-05 Thread Tobie Langel
On 10/31/12 6:03 PM, Eric U er...@google.com wrote: I think the bigger question is What's a session? Does it end if I: * close the window? * close the last window in this origin? * close the last window in this browser profile? * quit the browser? -

Re: CSP 1.1 DOM design

2012-11-05 Thread David Bruant
Le 05/11/2012 13:57, Alex Russell a écrit : On Mon, Nov 5, 2012 at 12:14 PM, David Bruant bruan...@gmail.com mailto:bruan...@gmail.com wrote: Le 05/11/2012 12:50, Alex Russell a écrit : On Mon, Nov 5, 2012 at 10:56 AM, David Bruant bruan...@gmail.com mailto:bruan...@gmail.com

[WebIDL] Typo in platform array object [[GetOwnProperty]] method

2012-11-05 Thread Boris Zbarsky
Step 3 substep 3 says: Let value be the result of converting the indexth element of the IDL array that A represents to an IDL value of type T. Presumably it should say: Let value be the result of converting the indexth element of the IDL array that A represents to an ECMAScript value.

Re: Re: Re: [Clipboard API] The before* events

2012-11-05 Thread Hallvord Reiar Michaelsen Steen
   It's not only about the context menu (which could be scoped to whatever element was targeted by a right-click), it's also about the Edit menu or the inline commands in Chrome's normal application menu. Enabling the menu entries all the time breaks with existing UI conventions.   But

[screen-orient] Updated editor draft

2012-11-05 Thread Mounir Lamouri
Hi, I've just pushed a new editor draft [1] with some cosmetic/editorial changes and a new feature: lockOrientation() can now be called with a sequenceDOMString to lock the screen to different orientations (for example, portrait-primary and landscape-primary). Any feedback is welcome! Note that

Re: [webcomponents] More backward-compatible templates

2012-11-05 Thread Yehuda Katz
Additionally, template is needed to ensure that contained content is inert (just parsed, does not trigger behavior). A hidden div triggers behavior when many constructs are parsed (script, img, style, for example) -- Yehuda Katz (ph) 718.877.1325 On Nov 2, 2012 2:30 PM, Brian Kardell

Re: [screen-orient] Updated editor draft

2012-11-05 Thread Lars Knudsen
Why not use the existing definitions in the orientation change event? http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW16 simple landscape and portrait can always be deducted

Re: [quota-api] Need for session storage type

2012-11-05 Thread Brady Eidson
On Nov 5, 2012, at 6:15 AM, Tobie Langel to...@fb.com wrote: It seems there would/could be value in determining precisely what a session is I'm not sure we'd be interested in strictly defining what a session is in spec. A session - while having spec ramifications - seems very much to be a

Re: [quota-api] Need for session storage type

2012-11-05 Thread Tobie Langel
On 11/5/12 6:47 PM, Brady Eidson beid...@apple.com wrote: And/or coming up with an API to allow application developers to close sessions on a per origin basis and benefit from related security/privacy guarantees (wiping-out session storage, cookies, etc.). Sites can already clean up

Re: Pre-fetch rough draft

2012-11-05 Thread Charles McCathie Nevile
On Mon, 05 Nov 2012 13:28:43 +0100, Julian Reschke julian.resc...@gmx.de wrote: On 2012-11-02 11:16, n...@yandex-team.ru wrote: On Tue, 30 Oct 2012, Michael Nordman micha...@google.com wrote The appcache is encumbered with guarantees about atomically updating a set of resources and then

Re: Pre-fetch rough draft

2012-11-05 Thread Charles McCathie Nevile
On Tue, 30 Oct 2012 10:22:47 +0100, Charles McCathieNevile cha...@myopera.com wrote: Hi, I mentioned this and it's something we are working on. Basic idea: site provides list of resources that it uses and can be cached for general improvements on the whole site. (We're seeing load-time

Re: CSP 1.1 DOM design

2012-11-05 Thread Brendan Eich
David Bruant wrote: This M.O. is exacerbated by the reality that most of the folks writing these specs are C++ hackers, not JS developers. For many, WebIDL becomes a safety blanket that keeps them from having to ever think about the operational JS semantics or be confronted with the

Re: Call for Editor: URL spec

2012-11-05 Thread Adam Barth
On Mon, Nov 5, 2012 at 4:46 AM, Arthur Barstow art.bars...@nokia.com wrote: On 11/5/12 7:29 AM, ext Julian Reschke wrote: On 2012-11-05 12:46, Arthur Barstow wrote: We need an Editor(s) to move WebApps' URL spec towards Recommendation. If you are interested in this Editor position, please

Re: [screen-orient] Updated editor draft

2012-11-05 Thread Jonas Sicking
On Mon, Nov 5, 2012 at 9:19 AM, Lars Knudsen lar...@gmail.com wrote: Why not use the existing definitions in the orientation change event?

Re: Call for Editor: URL spec

2012-11-05 Thread Tab Atkins Jr.
On Mon, Nov 5, 2012 at 2:31 PM, Adam Barth w...@adambarth.com wrote: Is there some reason Anne isn't going to edit the spec? Anne isn't doing the work in WebApps, because he no longer works for a member company, and the Invited Expert agreement is more restrictive in ways that are important to

Re: Call for Editor: URL spec

2012-11-05 Thread Arthur Barstow
On 11/5/12 5:47 PM, ext Tab Atkins Jr. wrote: In the meantime, W3C is copying Anne's work in several specs, to It seems like W3C groups copying WHATWG's work has been ongoing for several years (so I think this is old news, especially since, AFAIU, it is permissiable, perhaps even encouraged?

Re: Re: Re: [Clipboard API] The before* events

2012-11-05 Thread Glenn Maynard
On Mon, Nov 5, 2012 at 8:49 AM, Hallvord Reiar Michaelsen Steen hallv...@opera.com wrote: Glenn, I think we both fully understand the way this works and fails - the UI quirks and why they happen. Do you have any further thoughts on the navigator.setCommandState() proposal? Would this be

Re: Call for Editor: URL spec

2012-11-05 Thread Ian Hickson
On Mon, 5 Nov 2012, Arthur Barstow wrote: On 11/5/12 5:47 PM, ext Tab Atkins Jr. wrote: In the meantime, W3C is copying Anne's work in several specs, to It seems like W3C groups copying WHATWG's work has been ongoing for several years (so I think this is old news, especially since, AFAIU,

Re: Call for Editor: URL spec

2012-11-05 Thread Adam Barth
On Mon, Nov 5, 2012 at 3:32 PM, Arthur Barstow art.bars...@nokia.com wrote: On 11/5/12 5:47 PM, ext Tab Atkins Jr. wrote: In the meantime, W3C is copying Anne's work in several specs, to It seems like W3C groups copying WHATWG's work has been ongoing for several years (so I think this is old