Status: Accepted
Owner: [email protected]
CC: [email protected], [email protected]
Labels: Type-Bug Priority-High
New issue 2855 by [email protected]: overriding String.prototype.valueOf
doesn't work in v8
http://code.google.com/p/v8/issues/detail?id=2855
The following test should output in d8 (derived from
fast/js/dfg-to-string-valueOf-becomes-bad.html)
hello
hello
42
42
however, it outputs four times hello.
Note that the reason this passes in WebKit is that WebKit has i18n support
turned on. And in fact, compiling v8 with make i18nsupport=on will make d8
return the correct result.
When compiling i18n support as part of the v8 snapshot, interestingly d8
shows the incorrect result. So I guess it's related to the presence of an
extension or something.
Attachments:
test.js 300 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.