Closed Bug 330684 Opened 20 years ago Closed 19 years ago

Simple Javascript Pattern test that will freeze Firefox

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 307456

People

(Reporter: shaohua.wen, Unassigned)

Details

Attachments

(1 file)

During some extension development,we found a bug of firefox when doning a pattern test. the pattern test just makes firefox occupy 100% cpu and freeze. Please find attached test html file.
Severity: normal → major
Attached file simple test html page
Duplicate of bug 265353 or bug 307456, maybe? Which build are you testing this in?
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
We are trying this with firefox 1.5.0.1,latest nightly builds are not tried yet.
marking in-testsuite- for now since the hang would prevent the test library from completing.
Flags: in-testsuite-
Whiteboard: DUPEME
The automated js browser and shell tests now support timeouts, so adding this test to the suite now. Checking in regress-330684.js; /cvsroot/mozilla/js/tests/ecma_3/RegExp/regress-330684.js,v <-- regress-330684.js initial revision: 1.1
Flags: in-testsuite- → in-testsuite+
(In reply to comment #2) > Duplicate of bug 265353 or bug 307456, maybe? Which build are you testing this > in? > Gavin is right, it is a dup of bug 307456. I confirmed it on my local build with patch. It is fairly easy for one to write a regular expression that takes exponential time in current regex engine. We need some documentation to help web programmers avoid this. *** This bug has been marked as a duplicate of 307456 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: