WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
82878
Remove custom binding for the types attribute in the DOM Clipboard class
https://bugs.webkit.org/show_bug.cgi?id=82878
Summary
Remove custom binding for the types attribute in the DOM Clipboard class
Vineet Chaudhary (vineetc)
Reported
2012-04-02 03:39:39 PDT
Remove custom bindings for attribute type Array from Clipboard.idl. Replace readonly attribute [CustomGetter] Array types; To readonly attribute sequence<String> types;
Attachments
Add attachment
proposed patch, testcase, etc.
Vineet Chaudhary (vineetc)
Comment 1
2012-04-02 03:52:55 PDT
As part of removing custom bindings of types Array Clipboard.idl also needs to have modified to have sequence<String>. But according to current implementation of the Clipboard::types() it returns HashSet<String>. In order to remove the custom bindings it should of type Vector<String>. To resolve this we have two options. 1) Modify JSDombindings.h/V8Bindings.h to support HashSet. 2) Modify return type of types() to Vector. IMO we should go with 2nd option if there are no objections. Please let me know If you have any suggestions/thoughts on this.
Kentaro Hara
Comment 2
2012-04-02 05:08:14 PDT
(In reply to
comment #1
)
> To resolve this we have two options. > 1) Modify JSDombindings.h/V8Bindings.h to support HashSet. > 2) Modify return type of types() to Vector. > > IMO we should go with 2nd option if there are no objections.
Agreed on the 2nd option.
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