WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 77451
71493
__defineGetter__/__defineSetter__ should be implemented in terms of JSObject::defineOwnProperty
https://bugs.webkit.org/show_bug.cgi?id=71493
Summary
__defineGetter__/__defineSetter__ should be implemented in terms of JSObject:...
Sam Weinig
Reported
2011-11-03 11:50:13 PDT
Right now, __defineGetter__/__defineSetter__ are implemented by calling virtual (actually static on the MethodTable) JSObject::defineGetter/defineSetter, but we could implement it in terms of JSObject::defineOwnProperty and remove two virtual functions from the MethodTable. This would also be more forward looking, by implementing the legacy __defineGetter__/__defineSetter__ in terms of the now specified defineOwnProperty. If we do this, we need to make sure we continue block the specific uses of __defineGetter__/__defineSetter__ in JSLocation and JSDOMWindow.
Attachments
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2012-02-29 00:26:55 PST
*** This bug has been marked as a duplicate of
bug 77451
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug