[Webkit-unassigned] [Bug 29107] New: Change LayoutTests/fast/js/kde/inbuilt_function_tostring.html so it works for both JSC and V8
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 9 14:52:06 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29107
Summary: Change
LayoutTests/fast/js/kde/inbuilt_function_tostring.html
so it works for both JSC and V8
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: victorw at chromium.org
CC: pam at chromium.org, victorw at chromium.org
toString() function in JSC and V8 does not generate same results. For example,
in JSC, eval.toString()) outputs "function eval(){ [native code] }", while in
V8, it outputs "function eval(x) { if(!(typeof(x)==='string')) ... }.
The layout test "LayoutTests/fast/js/kde/inbuilt_function_tostring.html" uses
ShouldBe function (exact string match) to check whether the test passes, so it
works in JSC but not in Chromium. This test can be modified using regexp so it
works in both cases.
--
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