Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Remember: Silly is a state of Mind, Stupid is a way of Life. -- Dave Butler


devel / comp.lang.javascript / Re: Synchronous XMLHttpRequest deprecated

SubjectAuthor
* Re: Synchronous XMLHttpRequest deprecatedRobert Zeurunkl
+* Re: Synchronous XMLHttpRequest deprecatedThe Doctor
|`- Re: Synchronous XMLHttpRequest deprecatedJan Bruns
+- Re: Synchronous XMLHttpRequest deprecatedScott Sauyet
`* Re: Synchronous XMLHttpRequest deprecatedArno Welzel
 +* Re: Synchronous XMLHttpRequest deprecatedMichael Haufe (TNO)
 |`* Re: Synchronous XMLHttpRequest deprecatedArno Welzel
 | +* Re: Synchronous XMLHttpRequest deprecatedMichael Haufe (TNO)
 | |`* Re: Synchronous XMLHttpRequest deprecatedArno Welzel
 | | `* Re: Synchronous XMLHttpRequest deprecatedMichael Haufe (TNO)
 | |  `* Re: Synchronous XMLHttpRequest deprecatedArno Welzel
 | |   `- Re: Synchronous XMLHttpRequest deprecatedMichael Haufe (TNO)
 | `* Re: Synchronous XMLHttpRequest deprecatedThe Natural Philosopher
 |  `* Re: Synchronous XMLHttpRequest deprecatedArno Welzel
 |   `* Re: Synchronous XMLHttpRequest deprecatedThe Natural Philosopher
 |    +- Re: Synchronous XMLHttpRequest deprecatedArno Welzel
 |    `* Re: Synchronous XMLHttpRequest deprecatedJohn Harris
 |     `- Re: Synchronous XMLHttpRequest deprecatedThe Natural Philosopher
 `* Re: Synchronous XMLHttpRequest deprecatedThe Natural Philosopher
  `* Re: Synchronous XMLHttpRequest deprecatedArno Welzel
   `* Re: Synchronous XMLHttpRequest deprecatedThe Natural Philosopher
    `- Re: Synchronous XMLHttpRequest deprecatedArno Welzel

1
Re: Synchronous XMLHttpRequest deprecated

<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17783&group=comp.lang.javascript#17783

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a7b:c856:0:b0:39c:3b44:7ab0 with SMTP id c22-20020a7bc856000000b0039c3b447ab0mr846395wml.117.1655941480057;
Wed, 22 Jun 2022 16:44:40 -0700 (PDT)
X-Received: by 2002:a05:6871:b1e:b0:101:ab23:af98 with SMTP id
fq30-20020a0568710b1e00b00101ab23af98mr593227oab.180.1655941476447; Wed, 22
Jun 2022 16:44:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Wed, 22 Jun 2022 16:44:36 -0700 (PDT)
In-Reply-To: <5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
Injection-Info: google-groups.googlegroups.com; posting-host=98.175.230.2; posting-account=KNja0AoAAAD0BtL638xt-Z6HzU7KI-SR
NNTP-Posting-Host: 98.175.230.2
References: <mfpsco$mn7$1@dont-email.me> <5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net> <5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
Subject: Re: Synchronous XMLHttpRequest deprecated
From: bzeurunkl@gmail.com (Robert Zeurunkl)
Injection-Date: Wed, 22 Jun 2022 23:44:40 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Robert Zeurunkl - Wed, 22 Jun 2022 23:44 UTC

Google seems to think that all software HAS a user interface. Or even a user.

Synchronous server requests are a perfectly reasonable thing to do in some circumstances. And I agree with the author that such a decision belongs to the application developer, not the browser maker.

Re: Synchronous XMLHttpRequest deprecated

<t90c1t$299$41@gallifrey.nk.ca>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17784&group=comp.lang.javascript#17784

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
From: doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Thu, 23 Jun 2022 00:27:41 -0000 (UTC)
Organization: NetKnow News
Message-ID: <t90c1t$299$41@gallifrey.nk.ca>
References: <mfpsco$mn7$1@dont-email.me> <070420151603306966%timstreater@greenbee.net> <5523fc1b$0$2890$e4fe514c@news.xs4all.nl> <9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
Injection-Date: Thu, 23 Jun 2022 00:27:41 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1";
logging-data="2345"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)
 by: The Doctor - Thu, 23 Jun 2022 00:27 UTC

In article <9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>,
Robert Zeurunkl <bzeurunkl@gmail.com> wrote:
>
>Google seems to think that all software HAS a user interface. Or even a user.

Is Google that stupid?

>
>Synchronous server requests are a perfectly reasonable thing to do in some circumstances. And I agree with the author that such a decision belongs to the application developer, not the browser maker.
>

Hence async.
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Saying good things is evil when they are lies. -unknown Beware https://mindspring.com

Re: Synchronous XMLHttpRequest deprecated

<jhinj8F9s16U2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17786&group=comp.lang.javascript#17786

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ebay@abnuto.de (Jan Bruns)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: 23 Jun 2022 08:46:32 GMT
Lines: 20
Message-ID: <jhinj8F9s16U2@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<t90c1t$299$41@gallifrey.nk.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net /dEZ1kSRZRau+r3C1trs4gbwi0R+v0K1rDJsXvp0klOiOsttQL
Cancel-Lock: sha1:UOJrsZMU1ovxQmMzI7xy+m3auoU=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Jan Bruns - Thu, 23 Jun 2022 08:46 UTC

The Doctor:

>>Synchronous server requests are a perfectly reasonable thing to do in
>>some circumstances. And I agree with the author that such a decision
>>belongs to the application developer, not the browser maker.
>>
>>
> Hence async.

Ehm, What's the name of the JS construct to blocking-wait for signals?

With more API calls becoming async-styled, the more difficult it becomes
to collect related pieces of code in a block. And keeping deeply nestedd
prenthesis in sync obviously also isn't very meaningful. And all this to
make websites use up a complete CPU.

Gruss

Jan Bruns

Re: Synchronous XMLHttpRequest deprecated

<240bf889-092a-4e56-b1ad-405c0aa3d5d8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17788&group=comp.lang.javascript#17788

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:6000:1b8d:b0:219:8930:6e54 with SMTP id r13-20020a0560001b8d00b0021989306e54mr13230710wru.99.1656081838858;
Fri, 24 Jun 2022 07:43:58 -0700 (PDT)
X-Received: by 2002:a05:6808:20a5:b0:32f:304d:24c with SMTP id
s37-20020a05680820a500b0032f304d024cmr2165248oiw.57.1656081838318; Fri, 24
Jun 2022 07:43:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Fri, 24 Jun 2022 07:43:58 -0700 (PDT)
In-Reply-To: <9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=170.202.22.125; posting-account=jEz2WAoAAABPN6KvjkIr_ZIYJY4YFml9
NNTP-Posting-Host: 170.202.22.125
References: <mfpsco$mn7$1@dont-email.me> <5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net> <5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <240bf889-092a-4e56-b1ad-405c0aa3d5d8n@googlegroups.com>
Subject: Re: Synchronous XMLHttpRequest deprecated
From: scott@sauyet.com (Scott Sauyet)
Injection-Date: Fri, 24 Jun 2022 14:43:58 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2725
 by: Scott Sauyet - Fri, 24 Jun 2022 14:43 UTC

Robert Zeurunkl wrote:

> Synchronous server requests are a perfectly reasonable thing to do in
> some circumstances. And I agree with the author that such a decision
> belongs to the application developer, not the browser maker.

I think you misunderstand the relationship. Browser makers are in the
job of helping end users, not application developers. To convince a
browser maker to add, remove, or alter a feature, developers need to
demonstrate how it will be of benefit to users. If they cannot do so,
the vendor has no conceivable reason to make the change.

So to argue for future synchronous requests, you will need to show that
users will be better off if it's added.

The reason it was deprecated is that the vendors were convinced by
advocates for users that the risks to users significantly outweighed
the benefits. Sites that freeze waiting for a response that never
comes are considered a much bigger hazard than the inconvenience
caused to developers. Feel free to try to convince the community
otherwise. But I think it's a (very steep!) uphill battle.

-- Scott

Re: Synchronous XMLHttpRequest deprecated

<jho522F80ueU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17790&group=comp.lang.javascript#17790

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Sat, 25 Jun 2022 12:06:58 +0200
Lines: 19
Message-ID: <jho522F80ueU1@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net FZyd+hN0cuFc6yCMi719uwak4tX7f+4xvY6/9BtVwFazzpLxgs
Cancel-Lock: sha1:VarZhz/y47RqS3M2B+fKXI4pTus=
Content-Language: de-DE
In-Reply-To: <9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
 by: Arno Welzel - Sat, 25 Jun 2022 10:06 UTC

Robert Zeurunkl:

> Google seems to think that all software HAS a user interface. Or
> even a user.

Which is the case as long as the request is executed in a browser.

> Synchronous server requests are a perfectly reasonable thing to do in
> some circumstances. And I agree with the author that such a decision
> belongs to the application developer, not the browser maker.

What kind of *browsers* don't have a user interface?

And using a request which blocks the whole UI until there is a response
from the server *is* a bad thing.

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17791&group=comp.lang.javascript#17791

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a7b:cc8e:0:b0:39c:829d:609b with SMTP id p14-20020a7bcc8e000000b0039c829d609bmr5543533wma.160.1656175662201;
Sat, 25 Jun 2022 09:47:42 -0700 (PDT)
X-Received: by 2002:a05:6830:b8f:b0:616:8e83:4ae8 with SMTP id
a15-20020a0568300b8f00b006168e834ae8mr2279675otv.361.1656175661650; Sat, 25
Jun 2022 09:47:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sat, 25 Jun 2022 09:47:41 -0700 (PDT)
In-Reply-To: <jho522F80ueU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6000:8900:6915:1ca8:c400:f5a4:44c2;
posting-account=hYRygAoAAABkmvJVmPilz9Q1TOjgPQAq
NNTP-Posting-Host: 2603:6000:8900:6915:1ca8:c400:f5a4:44c2
References: <mfpsco$mn7$1@dont-email.me> <5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net> <5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com> <jho522F80ueU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
Subject: Re: Synchronous XMLHttpRequest deprecated
From: tno@thenewobjective.com (Michael Haufe (TNO))
Injection-Date: Sat, 25 Jun 2022 16:47:42 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Michael Haufe (TNO) - Sat, 25 Jun 2022 16:47 UTC

On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:

> What kind of *browsers* don't have a user interface?

They are called Headless Browsers:

<https://en.wikipedia.org/wiki/Headless_browser>

Re: Synchronous XMLHttpRequest deprecated

<jhphk8Ff06mU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17792&group=comp.lang.javascript#17792

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Sun, 26 Jun 2022 00:47:36 +0200
Lines: 17
Message-ID: <jhphk8Ff06mU1@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net ZSHxVnKNzjW0JzMkUCgKcgnRPkNZM7etcLX7eKQrvuid5+sIoM
Cancel-Lock: sha1:OFMt3Gw2piFp3hPTff32q58l/hY=
Content-Language: de-DE
In-Reply-To: <367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
 by: Arno Welzel - Sat, 25 Jun 2022 22:47 UTC

Michael Haufe (TNO):

> On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:
>
>> What kind of *browsers* don't have a user interface?
>
> They are called Headless Browsers:
>
> <https://en.wikipedia.org/wiki/Headless_browser>

Yes, I'm aware of this. But are these are relevant in this context? How
many applications use headless browsers *and* need to use XMLHttpRequest?

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<61643bc0-5a4d-4df2-ba58-52defb130141n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17796&group=comp.lang.javascript#17796

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:adf:ec02:0:b0:21b:931c:cf78 with SMTP id x2-20020adfec02000000b0021b931ccf78mr7960994wrn.188.1656261483203;
Sun, 26 Jun 2022 09:38:03 -0700 (PDT)
X-Received: by 2002:a9d:73d1:0:b0:616:904b:895a with SMTP id
m17-20020a9d73d1000000b00616904b895amr4101698otk.182.1656261482346; Sun, 26
Jun 2022 09:38:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 26 Jun 2022 09:38:02 -0700 (PDT)
In-Reply-To: <jhphk8Ff06mU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6000:8900:6915:1ca8:c400:f5a4:44c2;
posting-account=hYRygAoAAABkmvJVmPilz9Q1TOjgPQAq
NNTP-Posting-Host: 2603:6000:8900:6915:1ca8:c400:f5a4:44c2
References: <mfpsco$mn7$1@dont-email.me> <5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net> <5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com> <jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com> <jhphk8Ff06mU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <61643bc0-5a4d-4df2-ba58-52defb130141n@googlegroups.com>
Subject: Re: Synchronous XMLHttpRequest deprecated
From: tno@thenewobjective.com (Michael Haufe (TNO))
Injection-Date: Sun, 26 Jun 2022 16:38:03 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Michael Haufe (TNO) - Sun, 26 Jun 2022 16:38 UTC

On Saturday, June 25, 2022 at 5:47:44 PM UTC-5, Arno Welzel wrote:
> Michael Haufe (TNO):
> > On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:
> >
> >> What kind of *browsers* don't have a user interface?
> >
> > They are called Headless Browsers:
> >
> > <https://en.wikipedia.org/wiki/Headless_browser>
> Yes, I'm aware of this. But are these are relevant in this context? How
> many applications use headless browsers *and* need to use XMLHttpRequest?

Applications that have an automated QA process use this often. You can test scenarios such as:

"When the 'Clear Cart' button is clicked the associated users Shopping Cart is cleared"

You also have the use case of web scraping from batch scripts. Some CLIs don't support a proper DOM
such as PowerShell 7.

Re: Synchronous XMLHttpRequest deprecated

<jhrhoqFon7lU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17797&group=comp.lang.javascript#17797

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Sun, 26 Jun 2022 19:02:19 +0200
Lines: 29
Message-ID: <jhrhoqFon7lU1@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net>
<61643bc0-5a4d-4df2-ba58-52defb130141n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net jXIrWP/jagjkvqX7pjBUHQXhzMiZGbJcKXByInI34XGThTY1CZ
Cancel-Lock: sha1:MY+UtGERQOeW+q+JXT+hrFuQ340=
Content-Language: de-DE
In-Reply-To: <61643bc0-5a4d-4df2-ba58-52defb130141n@googlegroups.com>
 by: Arno Welzel - Sun, 26 Jun 2022 17:02 UTC

Michael Haufe (TNO):

> On Saturday, June 25, 2022 at 5:47:44 PM UTC-5, Arno Welzel wrote:
>> Michael Haufe (TNO):
>>> On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:
>>>
>>>> What kind of *browsers* don't have a user interface?
>>>
>>> They are called Headless Browsers:
>>>
>>> <https://en.wikipedia.org/wiki/Headless_browser>
>> Yes, I'm aware of this. But are these are relevant in this context? How
>> many applications use headless browsers *and* need to use XMLHttpRequest?
>
> Applications that have an automated QA process use this often. You can test scenarios such as:
>
> "When the 'Clear Cart' button is clicked the associated users Shopping Cart is cleared"

I dont't understand why this requires a syncronous XMLHttpRequest. Test
tools like Cypress can wait for events.

> You also have the use case of web scraping from batch scripts. Some CLIs don't support a proper DOM
> such as PowerShell 7.

And web scraping needs XMLHttpRequest? Why?

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<70515c59-8595-4043-823c-452da4c6a0cbn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17799&group=comp.lang.javascript#17799

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a5d:47c1:0:b0:21b:c5c0:b9dc with SMTP id o1-20020a5d47c1000000b0021bc5c0b9dcmr5308576wrc.189.1656283088743;
Sun, 26 Jun 2022 15:38:08 -0700 (PDT)
X-Received: by 2002:aca:abc9:0:b0:335:796f:abba with SMTP id
u192-20020acaabc9000000b00335796fabbamr169202oie.35.1656283088079; Sun, 26
Jun 2022 15:38:08 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 26 Jun 2022 15:38:07 -0700 (PDT)
In-Reply-To: <jhrhoqFon7lU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6000:8900:6915:1ca8:c400:f5a4:44c2;
posting-account=hYRygAoAAABkmvJVmPilz9Q1TOjgPQAq
NNTP-Posting-Host: 2603:6000:8900:6915:1ca8:c400:f5a4:44c2
References: <mfpsco$mn7$1@dont-email.me> <5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net> <5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com> <jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com> <jhphk8Ff06mU1@mid.individual.net>
<61643bc0-5a4d-4df2-ba58-52defb130141n@googlegroups.com> <jhrhoqFon7lU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <70515c59-8595-4043-823c-452da4c6a0cbn@googlegroups.com>
Subject: Re: Synchronous XMLHttpRequest deprecated
From: tno@thenewobjective.com (Michael Haufe (TNO))
Injection-Date: Sun, 26 Jun 2022 22:38:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Michael Haufe (TNO) - Sun, 26 Jun 2022 22:38 UTC

On Sunday, June 26, 2022 at 12:02:27 PM UTC-5, Arno Welzel wrote:
> Michael Haufe (TNO):

> > Applications that have an automated QA process use this often. You can test scenarios such as:
> >
> > "When the 'Clear Cart' button is clicked the associated users Shopping Cart is cleared"

> I dont't understand why this requires a syncronous XMLHttpRequest. Test
> tools like Cypress can wait for events.

> > You also have the use case of web scraping from batch scripts. Some CLIs don't support a proper DOM
> > such as PowerShell 7.

> And web scraping needs XMLHttpRequest? Why?

You seem to be drifting or making a point that wasn't expressed clearly.
Which question are you asking?

Is it about Headless Browsers + XHR or is it about Headless Browsers + Synchronous XHR?

You don't need synchronous XHR with the existence of async/await and events as you've mentioned.

For the web scraping: you don't *need* it, but if you have an anemic CLI or host environment, a DOM+JS environment can be far easier.

If I'm in a browser (headless or otherwise) I can near trivially walk the hyperlinks of the domain and collect information information such as email addresses. It's just a DFS or BFS walk. The XHR object even has the ability to provide a DOM as a result of a request directly without parsing.

Re: Synchronous XMLHttpRequest deprecated

<jht4nbF25ebU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17800&group=comp.lang.javascript#17800

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Mon, 27 Jun 2022 09:31:56 +0200
Lines: 39
Message-ID: <jht4nbF25ebU1@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net>
<61643bc0-5a4d-4df2-ba58-52defb130141n@googlegroups.com>
<jhrhoqFon7lU1@mid.individual.net>
<70515c59-8595-4043-823c-452da4c6a0cbn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 980wovSF+AnHanoL3LE3cQRMHIeRVHZzyGqxVtzm7ywtOJh9xf
Cancel-Lock: sha1:eINOPYNNyvvYht2CymJWxOSUKdg=
Content-Language: de-DE
In-Reply-To: <70515c59-8595-4043-823c-452da4c6a0cbn@googlegroups.com>
 by: Arno Welzel - Mon, 27 Jun 2022 07:31 UTC

Michael Haufe (TNO):

> On Sunday, June 26, 2022 at 12:02:27 PM UTC-5, Arno Welzel wrote:
>> Michael Haufe (TNO):
>
>>> Applications that have an automated QA process use this often. You can test scenarios such as:
>>>
>>> "When the 'Clear Cart' button is clicked the associated users Shopping Cart is cleared"
>
>> I dont't understand why this requires a syncronous XMLHttpRequest. Test
>> tools like Cypress can wait for events.
>
>>> You also have the use case of web scraping from batch scripts. Some CLIs don't support a proper DOM
>>> such as PowerShell 7.
>
>> And web scraping needs XMLHttpRequest? Why?
>
> You seem to be drifting or making a point that wasn't expressed clearly.
> Which question are you asking?

My question was, why *synchronous* XHR is *required* for tests or web
scraping. I have done testing with headless browsers myself a lot and
never needed *synchronous* XHR ever.

Also "web scraping" means first of all just to send requests and wait
for the result. There is no issue at all if this is done with
asynchronous XHR.

> If I'm in a browser (headless or otherwise) I can near trivially walk
> the hyperlinks of the domain and collect information information such
> as email addresses. It's just a DFS or BFS walk. The XHR object even
> has the ability to provide a DOM as a result of a request directly
> without parsing.
And why does the XHR to be synchronous?

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<t9cn2i$k39r$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17802&group=comp.lang.javascript#17802

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Mon, 27 Jun 2022 17:49:22 +0100
Organization: A little, after lunch
Lines: 15
Message-ID: <t9cn2i$k39r$2@dont-email.me>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 Jun 2022 16:49:22 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="362b2a068070053e9d6b536c00a7bf36";
logging-data="658747"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ZUswDwHopTkXWPdMugvyrql6ALrFdaMk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:/7yYM9H93Ri7Mo+/ML0UlzQwkoE=
In-Reply-To: <jho522F80ueU1@mid.individual.net>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 27 Jun 2022 16:49 UTC

On 25/06/2022 11:06, Arno Welzel wrote:
> What kind of*browsers* don't have a user interface?

Lib curl?

--
Future generations will wonder in bemused amazement that the early
twenty-first century’s developed world went into hysterical panic over a
globally average temperature increase of a few tenths of a degree, and,
on the basis of gross exaggerations of highly uncertain computer
projections combined into implausible chains of inference, proceeded to
contemplate a rollback of the industrial age.

Richard Lindzen

Re: Synchronous XMLHttpRequest deprecated

<t9cn3k$k39r$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17803&group=comp.lang.javascript#17803

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Mon, 27 Jun 2022 17:49:56 +0100
Organization: A little, after lunch
Lines: 27
Message-ID: <t9cn3k$k39r$3@dont-email.me>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 Jun 2022 16:49:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="362b2a068070053e9d6b536c00a7bf36";
logging-data="658747"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q+Ur+VUUAkY35JRxohDHg1YzcrQbLpow="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:ZsvCUMiGpL/O17l8/cIGGTLLKpQ=
Content-Language: en-GB
In-Reply-To: <jhphk8Ff06mU1@mid.individual.net>
 by: The Natural Philosop - Mon, 27 Jun 2022 16:49 UTC

On 25/06/2022 23:47, Arno Welzel wrote:
> Michael Haufe (TNO):
>
>> On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:
>>
>>> What kind of *browsers* don't have a user interface?
>>
>> They are called Headless Browsers:
>>
>> <https://en.wikipedia.org/wiki/Headless_browser>
>
> Yes, I'm aware of this. But are these are relevant in this context? How
> many applications use headless browsers *and* need to use XMLHttpRequest?
>
>
I've written a couple...

--
Future generations will wonder in bemused amazement that the early
twenty-first century’s developed world went into hysterical panic over a
globally average temperature increase of a few tenths of a degree, and,
on the basis of gross exaggerations of highly uncertain computer
projections combined into implausible chains of inference, proceeded to
contemplate a rollback of the industrial age.

Richard Lindzen

Re: Synchronous XMLHttpRequest deprecated

<jhvpj4Ffa9lU2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17806&group=comp.lang.javascript#17806

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 09:40:21 +0200
Lines: 14
Message-ID: <jhvpj4Ffa9lU2@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net> <t9cn2i$k39r$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net If6y1GaI3ORxaJDvosXw7QDzK6FskJY/Ja++nG0cnWUt5mQY05
Cancel-Lock: sha1:gXwMpRpKQbm8ikWqVOIwfUWFxso=
Content-Language: de-DE
In-Reply-To: <t9cn2i$k39r$2@dont-email.me>
 by: Arno Welzel - Tue, 28 Jun 2022 07:40 UTC

The Natural Philosopher:

> On 25/06/2022 11:06, Arno Welzel wrote:
>> What kind of*browsers* don't have a user interface?
>
> Lib curl?

This is not a browser. No, not every library which is able to send HTTP
requests and process the response is a "browser".

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<jhvpluFfa9lU3@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17807&group=comp.lang.javascript#17807

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 09:41:51 +0200
Lines: 24
Message-ID: <jhvpluFfa9lU3@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net> <t9cn3k$k39r$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net YUutCrUeP5lr2y9zUs62AQWfWgAhWxyhlJEr0yl0dArqAVK0Cg
Cancel-Lock: sha1:gsCnC1jB6cXA6sQ91BGMrBUJ+mA=
Content-Language: de-DE
In-Reply-To: <t9cn3k$k39r$3@dont-email.me>
 by: Arno Welzel - Tue, 28 Jun 2022 07:41 UTC

The Natural Philosopher:

> On 25/06/2022 23:47, Arno Welzel wrote:
>> Michael Haufe (TNO):
>>
>>> On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:
>>>
>>>> What kind of *browsers* don't have a user interface?
>>>
>>> They are called Headless Browsers:
>>>
>>> <https://en.wikipedia.org/wiki/Headless_browser>
>>
>> Yes, I'm aware of this. But are these are relevant in this context? How
>> many applications use headless browsers *and* need to use XMLHttpRequest?
>>
>>
> I've written a couple...

Can you name them? Or are they just relevant to yourself?

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<t9emak$12htc$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17808&group=comp.lang.javascript#17808

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 11:48:52 +0100
Organization: A little, after lunch
Lines: 19
Message-ID: <t9emak$12htc$2@dont-email.me>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net> <t9cn2i$k39r$2@dont-email.me>
<jhvpj4Ffa9lU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Jun 2022 10:48:52 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4a8a50ec622d5bfaf0433af201401ad7";
logging-data="1132460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Amr7VJNQWURSBGzBuUao77RQWlDqIQGg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:1esxkWCE7tiU/50UjVT3CSw396U=
Content-Language: en-GB
In-Reply-To: <jhvpj4Ffa9lU2@mid.individual.net>
 by: The Natural Philosop - Tue, 28 Jun 2022 10:48 UTC

On 28/06/2022 08:40, Arno Welzel wrote:
> The Natural Philosopher:
>
>> On 25/06/2022 11:06, Arno Welzel wrote:
>>> What kind of*browsers* don't have a user interface?
>>
>> Lib curl?
>
> This is not a browser. No, not every library which is able to send HTTP
> requests and process the response is a "browser".
>
>
Semantics.

--
“There are two ways to be fooled. One is to believe what isn’t true; the
other is to refuse to believe what is true.”

—Soren Kierkegaard

Re: Synchronous XMLHttpRequest deprecated

<t9emtm$12jqr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17809&group=comp.lang.javascript#17809

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 11:59:02 +0100
Organization: A little, after lunch
Lines: 49
Message-ID: <t9emtm$12jqr$1@dont-email.me>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net> <t9cn3k$k39r$3@dont-email.me>
<jhvpluFfa9lU3@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Jun 2022 10:59:02 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4a8a50ec622d5bfaf0433af201401ad7";
logging-data="1134427"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19So4BFAVD5xcLnQd6NN929SHay1G62hNc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:sMRfNSbIfAHFVkhzcIun3FmMTAg=
Content-Language: en-GB
In-Reply-To: <jhvpluFfa9lU3@mid.individual.net>
 by: The Natural Philosop - Tue, 28 Jun 2022 10:59 UTC

On 28/06/2022 08:41, Arno Welzel wrote:
> The Natural Philosopher:
>
>> On 25/06/2022 23:47, Arno Welzel wrote:
>>> Michael Haufe (TNO):
>>>
>>>> On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:
>>>>
>>>>> What kind of *browsers* don't have a user interface?
>>>>
>>>> They are called Headless Browsers:
>>>>
>>>> <https://en.wikipedia.org/wiki/Headless_browser>
>>>
>>> Yes, I'm aware of this. But are these are relevant in this context? How
>>> many applications use headless browsers *and* need to use XMLHttpRequest?
>>>
>>>
>> I've written a couple...
>
> Can you name them? Or are they just relevant to yourself?
>
Oh, just relevant to myself. Ive written apps where the easiest solution
was to implement background tasks from browser to server to update parts
of the web page whilst a real time job - streaming videos TV or music -
was happening in 'foreground'

conceptually these tasks could be considered 'headless browsers', and
they certainly used AJAX style calls and call backs.

But redefining semantics to win arguments doesn't get sound code written
so if you want to challenge that you wont get a response out of me.

The philosophy part of my name means that I make clear distinctions at
all levels between Kant's 'things in themselves' , and our mental
*models* of them.

I don't give a flying fuck if my code is 'true object oriented' '
procedural' 'synchronous' or 'asynchronous' , 'multithreaded' or 'single
user' 'headless' 'tailless'..only that it not be 'pointless'.

I leave all that ego boosting semantics to computer scientists. I care
simply that it works to do the intended job. I am just an engineer.

--
“There are two ways to be fooled. One is to believe what isn’t true; the
other is to refuse to believe what is true.”

—Soren Kierkegaard

Re: Synchronous XMLHttpRequest deprecated

<ji0dfnFief7U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17810&group=comp.lang.javascript#17810

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 15:19:51 +0200
Lines: 50
Message-ID: <ji0dfnFief7U1@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net> <t9cn3k$k39r$3@dont-email.me>
<jhvpluFfa9lU3@mid.individual.net> <t9emtm$12jqr$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net +2qeTvVMzRBn6rXs0uJWEwPN1lmWzpP6AxhXmVQW3LwpO4d58R
Cancel-Lock: sha1:TBUNtazv/MEnLZ9LBj6jCgWuEr4=
Content-Language: de-DE
In-Reply-To: <t9emtm$12jqr$1@dont-email.me>
 by: Arno Welzel - Tue, 28 Jun 2022 13:19 UTC

The Natural Philosopher:

> On 28/06/2022 08:41, Arno Welzel wrote:
>> The Natural Philosopher:
>>
>>> On 25/06/2022 23:47, Arno Welzel wrote:
>>>> Michael Haufe (TNO):
>>>>
>>>>> On Saturday, June 25, 2022 at 5:07:06 AM UTC-5, Arno Welzel wrote:
>>>>>
>>>>>> What kind of *browsers* don't have a user interface?
>>>>>
>>>>> They are called Headless Browsers:
>>>>>
>>>>> <https://en.wikipedia.org/wiki/Headless_browser>
>>>>
>>>> Yes, I'm aware of this. But are these are relevant in this context? How
>>>> many applications use headless browsers *and* need to use XMLHttpRequest?
>>>>
>>>>
>>> I've written a couple...
>>
>> Can you name them? Or are they just relevant to yourself?
>>
> Oh, just relevant to myself. Ive written apps where the easiest solution
> was to implement background tasks from browser to server to update parts
> of the web page whilst a real time job - streaming videos TV or music -
> was happening in 'foreground'
>
> conceptually these tasks could be considered 'headless browsers', and
> they certainly used AJAX style calls and call backs.
>
> But redefining semantics to win arguments doesn't get sound code written
> so if you want to challenge that you wont get a response out of me.

What do you mean with "redefining semantics"?

I just asked about the practical *requirement* for *synchronous*
XMLHttpRequest in headless browers which can not be solved with
*asynchronous* XMLHttpRequest.

I also asked if you can name the apps you have written, so one can see
their relevance. If something is only relevant for yourself than it does
not justify to keep the technology as a whole just because you
personally like to use it.

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<ji0dgcFief7U2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17811&group=comp.lang.javascript#17811

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 15:20:13 +0200
Lines: 22
Message-ID: <ji0dgcFief7U2@mid.individual.net>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net> <t9cn2i$k39r$2@dont-email.me>
<jhvpj4Ffa9lU2@mid.individual.net> <t9emak$12htc$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net HJ9HCv4kwtM8phw+mpNc+QRbosNv4JEkERfz7lux/57Tt3dRV/
Cancel-Lock: sha1:He51mHIvzNUh9jgjjug6I9hQJxU=
Content-Language: de-DE
In-Reply-To: <t9emak$12htc$2@dont-email.me>
 by: Arno Welzel - Tue, 28 Jun 2022 13:20 UTC

The Natural Philosopher:

> On 28/06/2022 08:40, Arno Welzel wrote:
>> The Natural Philosopher:
>>
>>> On 25/06/2022 11:06, Arno Welzel wrote:
>>>> What kind of*browsers* don't have a user interface?
>>>
>>> Lib curl?
>>
>> This is not a browser. No, not every library which is able to send HTTP
>> requests and process the response is a "browser".
>>
>>
> Semantics.

No, facts. curl is not a browser. This has nothing to do with semantics.

--
Arno Welzel
https://arnowelzel.de

Re: Synchronous XMLHttpRequest deprecated

<t9fdli$152tl$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17812&group=comp.lang.javascript#17812

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: niam@jghnorth.org.uk.invalid (John Harris)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 18:27:13 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <t9fdli$152tl$1@dont-email.me>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net> <t9cn3k$k39r$3@dont-email.me>
<jhvpluFfa9lU3@mid.individual.net> <t9emtm$12jqr$1@dont-email.me>
Reply-To: jgharris@ic4life.net
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 Jun 2022 17:27:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4e9d483838fbb6cc2e6e1a72d7ddc5c0";
logging-data="1215413"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dvYZrm9hCjwzOGZK/48mo56sdvq/2c+Y="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.10.0
Cancel-Lock: sha1:3prTVOmb7xhPzyPULbXTxUqbESQ=
In-Reply-To: <t9emtm$12jqr$1@dont-email.me>
Content-Language: en-US
 by: John Harris - Tue, 28 Jun 2022 17:27 UTC

On 28/06/2022 11:59, The Natural Philosopher wrote:

<snip>
> I leave all that ego boosting semantics to computer scientists. I care
> simply that it works to do the intended job. I am just an engineer.

But not an engineer who recognises what he's done. That's not something
that inspires confidence in others.

John

Re: Synchronous XMLHttpRequest deprecated

<t9feib$155a9$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17813&group=comp.lang.javascript#17813

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.lang.javascript
Subject: Re: Synchronous XMLHttpRequest deprecated
Date: Tue, 28 Jun 2022 18:42:34 +0100
Organization: A little, after lunch
Lines: 27
Message-ID: <t9feib$155a9$2@dont-email.me>
References: <mfpsco$mn7$1@dont-email.me>
<5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net>
<5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com>
<jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com>
<jhphk8Ff06mU1@mid.individual.net> <t9cn3k$k39r$3@dont-email.me>
<jhvpluFfa9lU3@mid.individual.net> <t9emtm$12jqr$1@dont-email.me>
<t9fdli$152tl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Jun 2022 17:42:35 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4a8a50ec622d5bfaf0433af201401ad7";
logging-data="1217865"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rAxySpAtrHGqFw+HfFk+7yHqouUIj2Hw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:b+jib7VmW7KEL69Ql8nBlmXO8kw=
In-Reply-To: <t9fdli$152tl$1@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Tue, 28 Jun 2022 17:42 UTC

On 28/06/2022 18:27, John Harris wrote:
> On 28/06/2022 11:59, The Natural Philosopher wrote:
>
>   <snip>
>> I leave all that ego boosting semantics to computer scientists. I care
>> simply that it works to do the intended job. I am just an engineer.
>
> But not an engineer who recognises what he's done. That's not something
> that inspires confidence in others.
>

Oh dear: another 'literalist'

I recognise that I have created code that meets the specification.
In the end it's all just bits in silicon.

>   John
>

--
In todays liberal progressive conflict-free education system, everyone
gets full Marx.

Re: Synchronous XMLHttpRequest deprecated

<edad724b-570d-409f-b73c-05f35e1baa2fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17814&group=comp.lang.javascript#17814

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a5d:5c03:0:b0:21b:90e6:42bc with SMTP id cc3-20020a5d5c03000000b0021b90e642bcmr19708269wrb.36.1656438532698;
Tue, 28 Jun 2022 10:48:52 -0700 (PDT)
X-Received: by 2002:a05:6808:170b:b0:335:1807:e4a2 with SMTP id
bc11-20020a056808170b00b003351807e4a2mr499574oib.89.1656438532056; Tue, 28
Jun 2022 10:48:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Tue, 28 Jun 2022 10:48:51 -0700 (PDT)
In-Reply-To: <jht4nbF25ebU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6000:8900:6915:a872:8a6a:c8ad:9764;
posting-account=hYRygAoAAABkmvJVmPilz9Q1TOjgPQAq
NNTP-Posting-Host: 2603:6000:8900:6915:a872:8a6a:c8ad:9764
References: <mfpsco$mn7$1@dont-email.me> <5521ac06$0$2891$e4fe514c@news2.news.xs4all.nl>
<3049656.CVpVeAz9R9@PointedEars.de> <5523844e$0$2868$e4fe514c@news.xs4all.nl>
<4553250.RFBzHSfbcC@PointedEars.de> <5523d3ad$0$2946$e4fe514c@news.xs4all.nl>
<2512383.9XA8ILVfRL@PointedEars.de> <5523ef84$0$2911$e4fe514c@news.xs4all.nl>
<070420151603306966%timstreater@greenbee.net> <5523fc1b$0$2890$e4fe514c@news.xs4all.nl>
<9585d114-082a-49b0-9c3c-185708e2a256n@googlegroups.com> <jho522F80ueU1@mid.individual.net>
<367f48c7-2d6b-4b24-960e-7159335b18c8n@googlegroups.com> <jhphk8Ff06mU1@mid.individual.net>
<61643bc0-5a4d-4df2-ba58-52defb130141n@googlegroups.com> <jhrhoqFon7lU1@mid.individual.net>
<70515c59-8595-4043-823c-452da4c6a0cbn@googlegroups.com> <jht4nbF25ebU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <edad724b-570d-409f-b73c-05f35e1baa2fn@googlegroups.com>
Subject: Re: Synchronous XMLHttpRequest deprecated
From: tno@thenewobjective.com (Michael Haufe (TNO))
Injection-Date: Tue, 28 Jun 2022 17:48:52 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Michael Haufe (TNO) - Tue, 28 Jun 2022 17:48 UTC

On Monday, June 27, 2022 at 2:32:04 AM UTC-5, Arno Welzel wrote:
> Michael Haufe (TNO):
> > On Sunday, June 26, 2022 at 12:02:27 PM UTC-5, Arno Welzel wrote:
> >> Michael Haufe (TNO):
> >
> >>> Applications that have an automated QA process use this often. You can test scenarios such as:
> >>>
> >>> "When the 'Clear Cart' button is clicked the associated users Shopping Cart is cleared"
> >
> >> I dont't understand why this requires a syncronous XMLHttpRequest. Test
> >> tools like Cypress can wait for events.
> >
> >>> You also have the use case of web scraping from batch scripts. Some CLIs don't support a proper DOM
> >>> such as PowerShell 7.
> >
> >> And web scraping needs XMLHttpRequest? Why?
> >
> > You seem to be drifting or making a point that wasn't expressed clearly.
> > Which question are you asking?
> My question was, why *synchronous* XHR is *required* for tests or web
> scraping. I have done testing with headless browsers myself a lot and
> never needed *synchronous* XHR ever.

Agreed

> Also "web scraping" means first of all just to send requests and wait
> for the result. There is no issue at all if this is done with
> asynchronous XHR.
> > If I'm in a browser (headless or otherwise) I can near trivially walk
> > the hyperlinks of the domain and collect information information such
> > as email addresses. It's just a DFS or BFS walk. The XHR object even
> > has the ability to provide a DOM as a result of a request directly
> > without parsing.
> And why does the XHR to be synchronous?

Right, I think we agree on all points. I don't see any use case for synchronous XHR here either. Walking a graph is parallelizable.


devel / comp.lang.javascript / Re: Synchronous XMLHttpRequest deprecated

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor