[Webkit-unassigned] [Bug 71333] New: Object.getOwnPropertyDescriptor().get/set does not behave the same as __lookupGetter__/__lookupSetter__ on window properties
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 1 15:32:51 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=71333
Summary: Object.getOwnPropertyDescriptor().get/set does not
behave the same as __lookupGetter__/__lookupSetter__
on window properties
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: sam at webkit.org
Object.getOwnPropertyDescriptor().get/set does not behave the same as __lookupGetter__/__lookupSetter__ on window properties.
For:
window.y = 1;
window.__defineGetter__("y", function() { return "window.y __getter__"; });
__lookupGetter__ doesn't do the same thing as Object.getOwnPropertyDescriptor:
typeof window.__lookupGetter__('y') != typeof Object.getOwnPropertyDescriptor(window, 'y').get;
--
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