Closed Bug 574914 Opened 14 years ago Closed 14 years ago

Slow script dialog, browser freeze

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set
normal

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)

Attached file page that freezes (deleted) —
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?
Safari loads instantly. IE8, Opera freeze. Live URL is: http://www.facepunch.com/showthread.php?t=958779 zipped in case it changes
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
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.
Loads instantly in tracemonkey-yarr. lulz.
Assignee: general → cdleary
blocking2.0: ? → beta4+
This will be fixed by bug 564953 per comment 4 (which is also a beta 4 blocker)
Depends on: PortYarr
Whiteboard: [to be fixed by bug 564953]
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.

Attachment

General

Created:
Updated:
Size: