Closed
Bug 574914
Opened 14 years ago
Closed 14 years ago
Slow script dialog, browser freeze
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta4+ |
People
(Reporter: dvander, Assigned: cdleary)
References
Details
(Whiteboard: [to be fixed by bug 564953])
Attachments
(1 file)
(deleted),
application/x-zip-compressed
|
Details |
Reporting this for a user. Firefox freezes for a bit and then shows the slow script dialog. Line of code *might* be:
{var index=0;var match=null;while((match=regex.exec(this.code))!=null)
Maybe YARR will magically save us?
Reporter | ||
Comment 1•14 years ago
|
||
Safari loads instantly. IE8, Opera freeze.
Live URL is: http://www.facepunch.com/showthread.php?t=958779
zipped in case it changes
Comment 2•14 years ago
|
||
What is regexp? (I didn't look, please copy and paste for everyone's sake.)
If it's exponential, the complexity limiter will save us on trunk builds, now.
/be
Reporter | ||
Comment 3•14 years ago
|
||
Possibly /"(?:\.|(\\\")|[^\""\n])*"/g against a wall of ASCII.
JS program appears to be a syntax highlighter, choking on a user who accidentally pasted the contents of a DLL.
Changing relimit pref doesn't help in 3.6.4, if that's a thing.
Assignee | ||
Comment 4•14 years ago
|
||
Loads instantly in tracemonkey-yarr. lulz.
Updated•14 years ago
|
Assignee: general → cdleary
Updated•14 years ago
|
blocking2.0: ? → beta4+
Comment 5•14 years ago
|
||
This will be fixed by bug 564953 per comment 4 (which is also a beta 4 blocker)
Depends on: PortYarr
Updated•14 years ago
|
Whiteboard: [to be fixed by bug 564953]
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•