Status: Untriaged
Owner: [email protected]
CC: [email protected],  [email protected],  [email protected],   
[email protected]
Labels: Type-Bug Pri-2 OS-All Area-Misc Size-Medium

New issue 21498 by [email protected]: Fix toString function in V8 to be  
compatible with JSC
http://code.google.com/p/chromium/issues/detail?id=21498

Layout test LayoutTests/fast/js/kde/inbuilt_function_tostring.html uses
toString function and fails in V8. This is because toString() in V8 and JSC
generate different outputs. For example, in JSC, eval.toString()) outputs
"function eval(){ [native code] }", while in V8, it outputs "function  
eval(x)
{ if(!(typeof(x)==='string')) ... }.

Per discussion in https://bugs.webkit.org/show_bug.cgi?id=29107, this may
cause compatibility issue. We should fix toString in V8 so it outputs the
same results as the function in JSC.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to