Closed Bug 611181 Opened 16 years ago Closed 15 years ago

get .split() to spec

Categories

(Core :: JavaScript Engine, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: leeoniya, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101110 Firefox/4.0b8pre Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101110 Firefox/4.0b8pre both, latest Chorme nightly and developer preview of IE9 pass all .split() tests at provided URL Reproducible: Always
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 614608
Thanks a lot for these tests! I'm refactoring split (bug 614608) and your tests found a regression. My latest patch passes all your tests (7 failures in FF4) I'd like to add your tests to the test suite. Do we have your permission to release this into the public domain?
unfort, the permission is not mine to give. you may want to contact Steven Levithan for this, those tests are hosted on his site.
I've just released these tests under the MIT License. Certainly, feel free to add them to Mozilla's test suite.
I'll call this fixed now, bug 614608 included these tests, and if it deviates from the spec at all, I doubt it's going to be in the actual code for split (could be/probably are bugs in the underlying regex match functionality that aren't split-specific).
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.