Closed
Bug 470609
Opened 16 years ago
Closed 13 years ago
TM: convert String objects into primitive strings when invoking String functions on them
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: gal, Unassigned)
Details
Attachments
(1 file)
2.76 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
We used to do this explicitly for match(), but we can easily do this for all String functions. This only works for String objects atm. It might be cleaner to use an imacro for the conversion, and then properly support scripted toString() implementations of arbitrary objects. (If anyone wants to grab this and further improve it, go ahead.)
Attachment #354016 -
Flags: review?(jorendorff)
Reporter | ||
Comment 1•16 years ago
|
||
This is not a blocker for 1.9.1 imo
Updated•16 years ago
|
Attachment #354016 -
Flags: review?(jorendorff) → review+
Comment 2•16 years ago
|
||
Comment on attachment 354016 [details] [diff] [review] v1 I like the change. I'm not a peer on JS though!
Comment 3•16 years ago
|
||
Dangit brendan, rectify this! Now! :-P If I knew we were still using despot for this I'd do it now (think peers have that power) since I know you've expressed surprise at this before, but I'm not sure if despot is relevant or not any more.
Reporter | ||
Comment 4•16 years ago
|
||
Comment on attachment 354016 [details] [diff] [review] v1 You wrote the code I changed so I guess you must be qualified at some level :)
Reporter | ||
Comment 5•16 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/4acb47a25eb5
Flags: wanted1.9.1?
Whiteboard: fixed-in-tracemonkey
Reporter | ||
Comment 6•16 years ago
|
||
Backed out. Makes tinderboxes orange. http://hg.mozilla.org/tracemonkey/rev/083a9f80c6ce
Comment 7•16 years ago
|
||
Obviously by peer-duck-typing, jorendorff is a peer. Problem is we are still using despot and jorendorff was only webmonkey, not cvsuser. I made him cvsuser (sue me, Reed :-P) just to be able to add him as peer. I also moved graydon from member to peer. I'd like to add dmandelin, gal, and danderson but they won't be cvsusers in any future I can foresee, and shouldn't have to go through the hassles. Ah, homebrew tools (despot is still useful, but too tied to CVS). /be
Comment 8•16 years ago
|
||
(In reply to comment #5) > http://hg.mozilla.org/tracemonkey/rev/4acb47a25eb5 with jit enabled, this crashes <http://test.bclary.com/tests/mozilla.org/js/js-test-driver-standards.html?test=ecma%2FString%2F15.5.4.5-1.js;language=type;text/javascript> and <http://test.bclary.com/tests/mozilla.org/js/js-test-driver-standards.html?test=js1_2%2FString%2Fslice.js;language=type;text/javascript>
Comment 9•14 years ago
|
||
It looks like this was backed out, unmarking as fixed-in-tracemonkey. Ping @jorendorff.
Whiteboard: fixed-in-tracemonkey
Comment 10•13 years ago
|
||
Obsolete with the removal of tracejit.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•