No unresponsive dialog with mootools class and firebug

UNCONFIRMED
Unassigned

Status

()

Core
JavaScript Engine
UNCONFIRMED
6 years ago
3 years ago

People

(Reporter: Trev, Unassigned)

Tracking

12 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 585422 [details]
infinite_recursion.html - This will lock up the browser

User Agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:12.0a1) Gecko/20120103 Firefox/12.0a1
Build ID: 20120103035128

Steps to reproduce:

I have a webpage that just loops through all the items that are added to the boolean object by mootools.  It runs for a long time, freezes the browser, eats up a lot of memory, and never shows the "unresponsive dialog".  If I don't use a mootools class (so the functions are just global functions), I get the "unresponsive dialog".

You also need Firebug enabled with the script debugging turned on.

I'm attaching both the scripts.  Just click "Kill Me" to run it.
(Reporter)

Comment 1

6 years ago
Created attachment 585424 [details]
nice recursion - This will show the dialog after a while
(Reporter)

Updated

6 years ago
Attachment #585424 - Attachment mime type: text/plain → text/html
(Reporter)

Updated

6 years ago
Attachment #585422 - Attachment mime type: text/plain → text/html
> You also need Firebug enabled with the script debugging turned on.

Chances are, this confuses the "which script is running" state so we think that it's not just one script that's running forever.
(Assignee)

Updated

3 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.