Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27203

Re: Synchronous XMLHttpRequest deprecated

From Tim Streater <timstreater@greenbee.net>
Newsgroups comp.lang.javascript
Subject Re: Synchronous XMLHttpRequest deprecated
Date 2015-04-06 10:20 +0000
Message-ID <060420151020357259%timstreater@greenbee.net> (permalink)
References <mfpsco$mn7$1@dont-email.me> <55215d74$0$2850$e4fe514c@news.xs4all.nl> <mfs7nk$1v6$1@solani.org> <mft4cv$csj$1@dont-email.me>

Show all headers | View raw


In article <mft4cv$csj$1@dont-email.me>, Chuck Anderson
<seemysig@thisis.invalid> wrote:

>Christoph M. Becker wrote:
>> Luuk wrote:
>> 
>>> On 5-4-2015 01:34, Chuck Anderson wrote:
>>>> The current Firefox displays this warning in the console when I use a
>>>> synchronous XMLHttpRequest.
>>>>
>>>> "Synchronous XMLHttpRequest on the main thread is deprecated because of
>>>> its detrimental effects to the end user's experience. For more help
>>>> http://xhr.spec.whatwg.org/"
>>>>
>>> "User agents are strongly encouraged to *warn* about
>>> such usage in *developer* tools "
>>>
>>> Since when is Firefox a developer tool?
>> 
>> Firefox is a user agent, and the console is one of its developer tools.

>
>Precisely.  I use Firefox for surfing, but I also develop web apps and 
>find the error console a useful tool.
>
>The idea of eliminating synchronous requests seems to have a strong 
>foothold in W3.org, Chrome and Mozilla so I'm looking for a simple, 
>logical alternative to my usage.
>
>Personally ... I think it is a bad idea and not a decision for browser 
>developers.  Web designers should have the right to create a slow 
>loading page if they so wish.

Given that almost no browser feature has ever been eliminated from a
browser, the likelihood of it actually being removed as a feature is
low. Doing so would likely break a number of websites. Further, there
are times when it is important to be able to serialise some actions. I
rely on this when closing down my app, for example.

-- 
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Synchronous XMLHttpRequest deprecated Chuck Anderson <seemysig@thisis.invalid> - 2015-04-04 17:34 -0600
  Re: Synchronous XMLHttpRequest deprecated Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2015-04-05 08:09 +0800
  Re: Synchronous XMLHttpRequest deprecated Luuk <luuk@invalid.lan> - 2015-04-05 18:06 +0200
    Re: Synchronous XMLHttpRequest deprecated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-04-05 10:42 -0700
      Re: Synchronous XMLHttpRequest deprecated Luuk <luuk@invalid.lan> - 2015-04-05 22:04 +0200
    Re: Synchronous XMLHttpRequest deprecated "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-05 22:59 +0200
      Re: Synchronous XMLHttpRequest deprecated Chuck Anderson <seemysig@thisis.invalid> - 2015-04-05 23:09 -0600
        Re: Synchronous XMLHttpRequest deprecated Tim Streater <timstreater@greenbee.net> - 2015-04-06 10:20 +0000
  Re: Synchronous XMLHttpRequest deprecated Silvio <silvio@internet.com> - 2015-04-05 23:41 +0200
    Re: Synchronous XMLHttpRequest deprecated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-06 14:11 +0200
      Re: Synchronous XMLHttpRequest deprecated Tim Streater <timstreater@greenbee.net> - 2015-04-06 13:23 +0000
        Re: Synchronous XMLHttpRequest deprecated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-06 15:36 +0200
          Re: Synchronous XMLHttpRequest deprecated Tim Streater <timstreater@greenbee.net> - 2015-04-06 18:26 +0000
            Re: Synchronous XMLHttpRequest deprecated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-06 20:18 +0200
            Re: Synchronous XMLHttpRequest deprecated Denis McMahon <denismfmcmahon@gmail.com> - 2015-04-06 18:35 +0000
              Re: Synchronous XMLHttpRequest deprecated Tim Streater <timstreater@greenbee.net> - 2015-04-06 21:51 +0000
                Re: Synchronous XMLHttpRequest deprecated "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-06 23:33 +0200
              Re: Synchronous XMLHttpRequest deprecated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-07 01:13 +0200
      Re: Synchronous XMLHttpRequest deprecated Silvio <silvio@internet.com> - 2015-04-07 09:16 +0200
        Re: Synchronous XMLHttpRequest deprecated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-07 12:51 +0200
          Re: Synchronous XMLHttpRequest deprecated Silvio <silvio@internet.com> - 2015-04-07 14:55 +0200
            Re: Synchronous XMLHttpRequest deprecated Tim Streater <timstreater@greenbee.net> - 2015-04-07 14:23 +0000
              Re: Synchronous XMLHttpRequest deprecated Silvio <silvio@internet.com> - 2015-04-07 17:41 +0200
            Re: Synchronous XMLHttpRequest deprecated Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-07 15:37 +0200
              Re: Synchronous XMLHttpRequest deprecated Silvio <silvio@internet.com> - 2015-04-07 16:53 +0200
                Re: Synchronous XMLHttpRequest deprecated Tim Streater <timstreater@greenbee.net> - 2015-04-07 16:03 +0000
                Re: Synchronous XMLHttpRequest deprecated Silvio <silvio@internet.com> - 2015-04-07 17:47 +0200

csiph-web