Closed
Bug 451580
Opened 15 years ago
Closed 15 years ago
TM: assert in mochitest harness string split
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sayrer, Assigned: sayrer)
References
Details
Attachments
(2 files)
4.48 KB,
text/plain
|
Details | |
2.84 KB,
patch
|
shaver
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•15 years ago
|
||
Assignee | ||
Comment 2•15 years ago
|
||
Comment on attachment 334915 [details] [diff] [review] split returns a JSObject r=shaver, please immediately on tracemonkey ASAP so fast thanks.
Attachment #334915 -
Flags: review+
Assignee | ||
Updated•15 years ago
|
Assignee: general → sayrer
Comment 4•15 years ago
|
||
Testcase fails though. Can't see an obvious reason. split comes back as empty always. Here is Sayre's testcase: function stringSplitTest() { var s = "a,b" var a = null; for (var i = 0; i < 10; ++i) a = s.split(","); return a.join(); } function stringSplitIntoArrayTest() { var s = "a,b" var a = []; for (var i = 0; i < 10; ++i) a[i] = s.split(","); return a.join(); } print(stringSplitTest()) print(stringSplitIntoArrayTest())
Assignee | ||
Comment 5•15 years ago
|
||
http://hg.mozilla.org/index.cgi/tracemonkey/rev/4ccf8dc11ab3
Assignee | ||
Updated•15 years ago
|
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.
Description
•