Bug 148418

Summary: Add support for callback interfaces using other callback names than "handleEvent"
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ggaren, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://heycam.github.io/webidl/#es-user-objects
Bug Depends on:    
Bug Blocks: 148415    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Chris Dumez 2015-08-24 21:21:06 PDT
Add support for callback interfaces using other callback names than "handleEvent" [1].

This is a pre-requirement for Bug 148415, as NodeFilter's callback function name is "acceptNode":
https://dom.spec.whatwg.org/#interface-nodefilter

[1] https://heycam.github.io/webidl/#es-user-objects
Comment 1 Chris Dumez 2015-08-24 21:30:44 PDT
Created attachment 259818 [details]
Patch
Comment 2 Chris Dumez 2015-08-24 21:43:03 PDT
Created attachment 259823 [details]
Patch
Comment 3 Chris Dumez 2015-08-24 22:04:01 PDT
Created attachment 259824 [details]
Patch
Comment 4 Chris Dumez 2015-08-25 09:01:30 PDT
Created attachment 259848 [details]
Patch
Comment 5 Chris Dumez 2015-08-25 09:08:28 PDT
Created attachment 259850 [details]
Patch
Comment 6 Chris Dumez 2015-08-25 10:05:00 PDT
Comment on attachment 259850 [details]
Patch

Clearing flags on attachment: 259850

Committed r188913: <http://trac.webkit.org/changeset/188913>
Comment 7 Chris Dumez 2015-08-25 10:05:06 PDT
All reviewed patches have been landed.  Closing bug.