This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24789 - "Developers must not pass false for the async ar..."
Summary: "Developers must not pass false for the async ar..."
Status: RESOLVED DUPLICATE of bug 24790
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: XHR (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 22:39 UTC by Chris
Modified: 2014-02-26 07:10 UTC (History)
3 users (show)

See Also:


Attachments

Description Chris 2014-02-24 22:39:25 UTC
This is a HORRIBLE change!  Do you realize how many sites rely on async = false??  This is a necessary thing to use when you don't want the user to be triggering other scripts (i.e. by clicking on a screen button) while waiting for a response.

You guys seriously need to rethink deprecating this!  Best practices aside, it should be up to the developer whether or not to piss off users by freezing the screen until code is executed.  Developers will still do this, the only difference is that it's going to be a pain in the ass to accomplish what is now very easy to do by using async = false.

PLEASE RECONSIDER!


http://xhr.spec.whatwg.org/#sync-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 an "InvalidAccessError" exception when it occurs so the feature can eventually be removed from the platform. 
]]
Comment 1 Arthur Barstow 2014-02-25 00:30:15 UTC
*** Bug 24790 has been marked as a duplicate of this bug. ***
Comment 2 Simon Pieters 2014-02-26 07:10:46 UTC

*** This bug has been marked as a duplicate of bug 24790 ***