Closed Bug 898189 Opened 11 years ago Closed 8 years ago

Regex fails on a string of length 500006 but not 500005

Categories

(Core :: JavaScript Engine, defect)

6 Branch
x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox22 --- wontfix
firefox23 --- wontfix
firefox24 --- wontfix
firefox25 --- wontfix
firefox26 --- wontfix
firefox27 --- wontfix
firefox28 --- wontfix
firefox-esr17 --- wontfix

People

(Reporter: brian.j.suh, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached file yo.html
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212

Steps to reproduce:

Open the attached HTML file in Firefox.


Actual results:

Two alert dialogs. First one shows regex match results. Second one shows null.


Expected results:

Both alert dialogs should show regex match results. (Works on Chrome)
1st Regression 
  Both fails
  pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0ee09dea0911&tochange=fc6783c960ca
  Suspected: Bug 564953

2nd Regression 
  First one shows regex match results.
  Second one shows null
  Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b69d30cc0b24&tochange=3589f8cefd83
  Suspected: Bug 625600
Assignee: nobody → general
Blocks: PortYarr, 625600
Component: Untriaged → JavaScript Engine
Keywords: regression
OS: Windows 8 → All
Product: Firefox → Core
Version: 22 Branch → 6 Branch
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: general → nobody
It was a specific issue with yarr; now we have irregexp. Tested with latest nightly and couldn't reproduce. Closing as worksforme, any relevant new information should probably be put in its own new bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: