[Webkit-unassigned] [Bug 79588] New: [[Get]]/[[Put]] for primitives should not wrap on strict accessor call
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 25 17:18:33 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=79588
Summary: [[Get]]/[[Put]] for primitives should not wrap on
strict accessor call
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: geoffers+webkit at gmail.com
Created an attachment (id=128896)
--> (https://bugs.webkit.org/attachment.cgi?id=128896&action=review)
Test cases
See attached TC.
The special [[Get]]/[[Put]] defined in ES5.1 §8.7 calls accessors with the primitive value as thisArg; in the non-strict accessor case §10.4.3 calls ToObject on thisArg before entering the function code, whereas in the strict accessor case thisArg is passed through untouched (i.e., as a primitive).
Currently SM (730632), JSC, and Carakan (CORE-44789) all always wrap, V8 never does (about to be reported).
--
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