Re: [XHR] Event processing during synchronous request

2012-09-10 Thread Anne van Kesteren
On Sun, Sep 9, 2012 at 6:33 PM, Mike Wilson wrote: > I didn't find statements directly addressing this in > http://www.w3.org/TR/XMLHttpRequest/ > or > http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resourc > es.html > but maybe there are indirect relationships between > spec

RE: [XHR] Event processing during synchronous request

2012-09-10 Thread Mike Wilson
Anne van Kesteren wrote: > On Sun, Sep 9, 2012 at 6:33 PM, Mike Wilson > wrote: > > I didn't find statements directly addressing this in > > http://www.w3.org/TR/XMLHttpRequest/ > > or > > > http://www.whatwg.org/specs/web-apps/current-work/multipage/fe > tching-resourc > > es.html > > but maybe

Re: [XHR] Event processing during synchronous request

2012-09-10 Thread Anne van Kesteren
On Mon, Sep 10, 2012 at 10:05 AM, Mike Wilson wrote: > Thanks. So I understand it is the HTML specification reference > that provides details on this behaviour for the XHR spec. > I'll look further there as its fetching section by itself > doesn't directly express the relationship between synchron

[quota-api] Need for session storage type

2012-09-10 Thread Tobie Langel
Hi all, Following a recent conversation with Jonas (and contrary to what I initially claimed here) there's value in adding a third storage type to the Quota API: Session storage. Contrary to temporary storage which might not get wiped across UA sessions, Session storage MUST get wiped when the se

[quota-api] API change suggestions

2012-09-10 Thread Tobie Langel
Hi, I'm very happy with the API changes we where able to make to the Quota API, but there's a method name we have left untouched and that I haven't figured out how to tackle until today: queryUsageAndQuota. The name is horrendous and is going to make developers cringe. It's also not very extensib

Re: Call for Review of Content Security Policy 1.0

2012-09-10 Thread Arthur Barstow
On 9/7/12 12:05 PM, ext Hill, Brad wrote: The Web Application Security Working Group at the W3C is planning to advance Content Security Policy 1.0 to Candidate Recommendation – a final set of features and syntax – and is seeking wide review of the document at this time. We would especially va

Re: [FileAPI] Blob constructor should probably take a sequence, not an IDL array object

2012-09-10 Thread Arun Ranganathan
I've pinged heycam to see if this is a proper use of the sequence type. I'm not sure it allows for such a variation in parameters. -- A* On Sep 9, 2012, at 2:31 PM, Boris Zbarsky wrote: > On 9/9/12 12:13 PM, Glenn Maynard wrote: >>In particular, a Blob represents immutable binary data. Th

Re: [FileAPI] Blob constructor should probably take a sequence, not an IDL array object

2012-09-10 Thread Boris Zbarsky
On 9/10/12 6:36 PM, Arun Ranganathan wrote: I've pinged heycam to see if this is a proper use of the sequence type. I'm not sure it allows for such a variation in parameters. Sequence allows any WebIDL type as a sequence element. So for example, you can do this: sequence<(sequence<(DOMStr

Re: [FileAPI] Blob constructor should probably take a sequence, not an IDL array object

2012-09-10 Thread Cameron McCormack
Arun Ranganathan: I've pinged heycam to see if this is a proper use of the sequence type. I'm not sure it allows for such a variation in parameters. I agree with Boris, it makes sense to use sequence<> here. Whenever you just want to take a list of values in an operation argument, and you