Bug 153765

Summary: object.__lookupGetter__() / object.__lookupSetter__() does not work for native bindings
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, commit-queue, ggaren, joepeck, keith_miller, mark.lam, msaboff, oliver, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar, WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 140575    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2016-02-01 14:05:51 PST
object.__lookupGetter__() / object.__lookupSetter__() does not work for native bindings.

E.g. Element.prototype.__lookupGetter__("tagName") or Element.prototype.__lookupGetter__("nodeName") return undefined instead of a function.
Comment 1 Chris Dumez 2016-02-01 14:06:14 PST
rdar://problem/24439699
Comment 2 Chris Dumez 2016-02-01 21:28:37 PST
Created attachment 270470 [details]
Patch
Comment 3 Chris Dumez 2016-02-01 22:35:14 PST
Comment on attachment 270470 [details]
Patch

Clearing flags on attachment: 270470

Committed r196004: <http://trac.webkit.org/changeset/196004>
Comment 4 Chris Dumez 2016-02-01 22:35:19 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Oliver Hunt 2016-02-02 10:05:41 PST
I find myself thinking that at this point we should probably just write these in JS