W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2014

[Bug 24790] New: "Developers must not pass false for the async ar..."

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Feb 2014 22:39:56 +0000
To: public-webapps@w3.org
Message-ID: <bug-24790-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24790

            Bug ID: 24790
           Summary: "Developers must not pass false for the async ar..."
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XHR
          Assignee: annevk@annevk.nl
          Reporter: fubizitch@yahoo.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

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. 
]]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 24 February 2014 22:39:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:22 UTC