[Webkit-unassigned] [Bug 29107] LayoutTests/fast/js/kde/inbuilt_function_tostring.html fails in V8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 10 01:13:19 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29107





--- Comment #3 from Mads Ager <ager at chromium.org>  2009-09-10 01:13:18 PDT ---
In V8, we print the exact function code that we receive including the exact
whitespace amount.  It seems that JSC changes at least the whitespace amount. 
I'm not sure I understand the reason for doing that.

We have some of the basic functions (such as eval) implemented in JavaScript in
V8 and we expose the code if people print those functions.  We could change
that, but I don't see the point in doing so.  Showing the code is nice and I
doubt that there are any compatibility issues here.  I have seen no pages that
break because of this.

I think it would be nice to change the tests that involve testing the actual
toString output for functions to at least allow differences in the amount of
whitespace.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list