Firefox 25 crashes when run WebWorker with infinityloop

UNCONFIRMED
Unassigned

Status

()

P5
normal
UNCONFIRMED
5 years ago
8 months ago

People

(Reporter: witamaster, Unassigned)

Tracking

25 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [bugday-20131125])

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 20131028112627

Steps to reproduce:

Run JavaScript WebWorker contains infinity-loop like:

while(true)
{
  postMessage("Message");
}



Actual results:

On Windows ( 7 Home Premium 64bit ) Firefox (25.0.1).
Firefox crashes and restarts.

On Ubuntu (13.04 64bit) Firefox (25.0).
Ubuntu keeps crashing. System do not respond.

Firefox crashes quicker when "Message" is long (about 500 bytes).


Expected results:

I think Firefox should recognize when WebWorker is not responding and it should display the information or warning. Just like is now in standard JavaScript.

Updated

5 years ago
Component: Untriaged → DOM: Workers
Product: Firefox → Core
See Also: → bug 751457
Whiteboard: [bugday-20131125]

Updated

8 months ago
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.