Re: [xhr]

On Tue, Sep 2, 2014 at 2:54 AM, Robert Hanson <hansonr@stolaf.edu> wrote:
> I respectively request that the wording of the warning on the pages
> https://dvcs.w3.org/hg/xhr/raw-file/default/xhr-1/Overview.html
> and
> http://xhr.spec.whatwg.org/
>
> be changed from
>
> Warning: Developers must not pass false for the async argument when the
> JavaScript global environment is a document environment as it has
> detrimental effects to the end user's experience. User agents are strongly
> encouraged to warn about such usage in developer tools and may experiment
> with throwing a "InvalidAccessError" exception when it occurs so the feature
> can eventually be removed from the platform.
>
> to
>
> Note: Developers should not pass false for the async argument when the
> JavaScript global environment is a document environment as it has
> detrimental effects to the end user's experience. Developers are advised
> that passing false for the async argument may eventually be removed from the
> platform.

Sorry. As with showModalDialog() we would really like to make this
feature disappear. I realize this makes some forms of code generation
harder, but hopefully you can find a way around that in time.
Synchronous networking on the UI thread is a no-go.


-- 
http://annevankesteren.nl/

Received on Tuesday, 2 September 2014 08:53:11 UTC