Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36389
| Path | csiph.com!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost2.xs4all.net!not-for-mail |
|---|---|
| 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 | Mon, 22 Apr 2019 12:20:30 +0200 |
| Message-ID | <XnsAA397D8BC9BA0eejj99@194.109.6.166> (permalink) |
| User-Agent | Xnews/2009.05.01 |
| Lines | 44 |
| NNTP-Posting-Host | 7eec85bf.newszilla.xs4all.nl |
| X-Trace | G=NPQiwp7W,C=U2FsdGVkX19euRMzM53PjhPV+CAGG2+hGqE++bS+DyOPg77hwTEMrhXZ4SoBlnxlXd5iNHRYekBDD7hunGUlCqdLBhekjvvW79yOiAwfkQAVw8mqDNoiLkIAYOAmrfq2 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.javascript:36389 |
Show key headers only | 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
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