[Webkit-unassigned] [Bug 22654] New: Wrong behavior of value() of BooleanObject
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 4 11:45:00 PST 2008
https://bugs.webkit.org/show_bug.cgi?id=22654
Summary: Wrong behavior of value() of BooleanObject
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jade.han at nokia.com
CC: cwzwarich at uwaterloo.ca, tavestbo at trolltech.com
if JSValue value is a type of BooleanObject,
value->value();
will always return true.
You have to call
asBooleanObject(value)->internalValue();
to retrieve the real boolean value.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list