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


Groups > comp.lang.javascript > #36389

Re: Asynchronous Loops in the Browser?

Newsgroups comp.lang.javascript
Subject Re: Asynchronous Loops in the Browser?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <loop-20190421161414@ram.dialup.fu-berlin.de> <7e83b9a2-e302-91b9-e1ec-70e73f60c8ff@PointedEars.de> <8736ma1h6z.fsf@bsb.me.uk>
Date 2019-04-22 12:20 +0200
Message-ID <XnsAA397D8BC9BA0eejj99@194.109.6.166> (permalink)

Show all headers | View raw


Ben Bacarisse <ben.usenet@bsb.me.uk> wrote on 22 Apr 2019 in 
comp.lang.javascript:

> Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
> 
>> Stefan Ram wrote:
>>> |>> print(1)
>>> |<- 1
>>> |>> while(1);
>>>
>>>   offering me a new prompt.
>>
>> No, it does not, for the Console tab is stuck then.
> 
> No doubt that sometimes happens, but the behaviour (for the 'while')
> described by Stefan Ram is also a possibility.  It's what I see in the
> three Linux browsers I tested.
> 
> <cut>
>> In Firefox, where there is only one process, the only way to solve the
>> problem (if the warning message does not appear) is to kill the browser
>> process (e.g., Ctrl+Alt+Esc, then click with the death pointer, in the
>> X Window System).
> 
> When I try it with Firefox, I get (as SR suggested) a fresh and
> responsive console prompt, and I can simply close the browser normally
> and the CPU usage goes back to idle.  What one sees, and how to deal
> with it, is obviously system-dependent.
> 
> <cut>

Crossing a motorway is rather dangerous, 
crossing a farmers road less so,
crossing by overpath or subway is a good general alternative.
[Transponders will use other words.]

When programming for others on the web, 
safe programming is the logical and most friendly thing to do.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

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


Thread

Re: Asynchronous Loops in the Browser? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-04-22 02:42 +0200
  Re: Asynchronous Loops in the Browser? Luuk <luuk@invalid.lan> - 2019-04-22 08:54 +0200
  Re: Asynchronous Loops in the Browser? Luuk <luuk@invalid.lan> - 2019-04-22 08:54 +0200
  Re: Asynchronous Loops in the Browser? Luuk <luuk@invalid.lan> - 2019-04-22 08:55 +0200
  Re: Asynchronous Loops in the Browser? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-04-22 11:13 +0100
    Re: Asynchronous Loops in the Browser? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-22 12:20 +0200
    Re: Asynchronous Loops in the Browser? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-04-22 12:53 +0200
      Re: Asynchronous Loops in the Browser? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-04-22 17:05 +0100
        Re: Asynchronous Loops in the Browser? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-04-22 19:19 +0200
          Re: Asynchronous Loops in the Browser? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-04-22 23:49 +0100
            Re: Asynchronous Loops in the Browser? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-04-23 11:58 +0200

csiph-web