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


Groups > comp.lang.javascript > #40931

Re: Synchronous XMLHttpRequest deprecated

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: Synchronous XMLHttpRequest deprecated
Date 2022-06-26 19:02 +0200
Message-ID <jhrhoqFon7lU1@mid.individual.net> (permalink)
References (10 earlier) <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>

Show all headers | View raw


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

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


Thread

Re: Synchronous XMLHttpRequest deprecated Robert Zeurunkl <bzeurunkl@gmail.com> - 2022-06-22 16:44 -0700
  Re: Synchronous XMLHttpRequest deprecated doctor@doctor.nl2k.ab.ca (The Doctor) - 2022-06-23 00:27 +0000
    Re: Synchronous XMLHttpRequest deprecated Jan Bruns <ebay@abnuto.de> - 2022-06-23 08:46 +0000
  Re: Synchronous XMLHttpRequest deprecated Scott Sauyet <scott@sauyet.com> - 2022-06-24 07:43 -0700
  Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-25 12:06 +0200
    Re: Synchronous XMLHttpRequest deprecated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-06-25 09:47 -0700
      Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-26 00:47 +0200
        Re: Synchronous XMLHttpRequest deprecated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-06-26 09:38 -0700
          Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-26 19:02 +0200
            Re: Synchronous XMLHttpRequest deprecated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-06-26 15:38 -0700
              Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-27 09:31 +0200
                Re: Synchronous XMLHttpRequest deprecated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2022-06-28 10:48 -0700
        Re: Synchronous XMLHttpRequest deprecated The Natural Philosopher <tnp@invalid.invalid> - 2022-06-27 17:49 +0100
          Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-28 09:41 +0200
            Re: Synchronous XMLHttpRequest deprecated The Natural Philosopher <tnp@invalid.invalid> - 2022-06-28 11:59 +0100
              Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-28 15:19 +0200
              Re: Synchronous XMLHttpRequest deprecated John Harris <niam@jghnorth.org.uk.invalid> - 2022-06-28 18:27 +0100
                Re: Synchronous XMLHttpRequest deprecated The Natural Philosopher <tnp@invalid.invalid> - 2022-06-28 18:42 +0100
    Re: Synchronous XMLHttpRequest deprecated The Natural Philosopher <tnp@invalid.invalid> - 2022-06-27 17:49 +0100
      Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-28 09:40 +0200
        Re: Synchronous XMLHttpRequest deprecated The Natural Philosopher <tnp@invalid.invalid> - 2022-06-28 11:48 +0100
          Re: Synchronous XMLHttpRequest deprecated Arno Welzel <usenet@arnowelzel.de> - 2022-06-28 15:20 +0200

csiph-web