Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36388
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Asynchronous Loops in the Browser? |
| Date | 2019-04-22 11:13 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <8736ma1h6z.fsf@bsb.me.uk> (permalink) |
| References | <loop-20190421161414@ram.dialup.fu-berlin.de> <7e83b9a2-e302-91b9-e1ec-70e73f60c8ff@PointedEars.de> |
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> -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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