Closed
Bug 941297
Opened 12 years ago
Closed 3 years ago
Firefox 25 crashes when run WebWorker with infinityloop
Categories
(Core :: DOM: Workers, defect, P5)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: witamaster, Unassigned)
References
Details
(Whiteboard: [bugday-20131125])
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•12 years ago
|
Component: Untriaged → DOM: Workers
Product: Firefox → Core
See Also: → 751457
Whiteboard: [bugday-20131125]
Updated•7 years ago
|
Priority: -- → P5
Comment 1•3 years ago
|
||
This was addressed by the introduction of ThrottledEventQueue although it's still quite possible for worker code to be a jerk!
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•