W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [XHR2] Disable new response types for sync XHR in Window context

From: Glenn Maynard <glenn@zewt.org>
Date: Wed, 16 Nov 2011 11:20:53 -0500
Message-ID: <CABirCh-Rs2ZP3x8kXMA3p7XqLe_WMOQwxKFqy9jvWs+0MpKWeQ@mail.gmail.com>
To: Matt Shulman <mattsh@google.com>
Cc: Anne van Kesteren <annevk@opera.com>, Jonas Sicking <jonas@sicking.cc>, Webapps WG <public-webapps@w3.org>, Olli Pettay <Olli.Pettay@helsinki.fi>, "olli@pettay.fi" <olli@pettay.fi>
On Wed, Nov 16, 2011 at 11:10 AM, Matt Shulman <mattsh@google.com> wrote:

> I sometimes like to write code in the window context (where debugging
> support is much better) before moving it to a web worker, so it would
> be awkward if the sync options differed on xhr between the two.
> (Analogous to this - I remember once i was trying to use the new
> FileSystemSync API and during development it would have been much
> easier if it had been available in the window context, even though
> eventually I planned to move the code to a worker.)
>

Improving debugging support in workers is a saner fix for this.  Nobody
wants to expose new synchronous APIs like FileSystemSync to Window.

-- 
Glenn Maynard
Received on Wednesday, 16 November 2011 16:21:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:48 GMT