Bug 76148

Summary: Allow accessor get/set property to be set to undefined
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fix oliver: review+

Description Gavin Barraclough 2012-01-11 22:59:41 PST
AccessorDescriptor properties may have their get & set properties defined to reference a function (Callable object) or, or be set to undefined.  Valid PropertyDescriptors created by toPropertyDescriptor (defined from JS code via Object.defineProperty, etc) have get and set properties that are in one of three states (1) nonexistent (c++ null  JSValue), (2) JS undefined, or (3) a function (or any Callable).
Comment 1 Gavin Barraclough 2012-01-12 00:26:29 PST
Created attachment 122178 [details]
Fix
Comment 2 Gavin Barraclough 2012-01-12 10:38:42 PST
Fixed in r104836