<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>82878</bug_id>
          
          <creation_ts>2012-04-02 03:39:39 -0700</creation_ts>
          <short_desc>Remove custom binding for the types attribute in the DOM Clipboard class</short_desc>
          <delta_ts>2015-01-22 04:28:58 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>82888</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vineet Chaudhary (vineetc)">code.vineet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>darin</cc>
    
    <cc>dcheng</cc>
    
    <cc>haraken</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>593311</commentid>
    <comment_count>0</comment_count>
    <who name="Vineet Chaudhary (vineetc)">code.vineet</who>
    <bug_when>2012-04-02 03:39:39 -0700</bug_when>
    <thetext>Remove custom bindings for attribute type Array from Clipboard.idl.
Replace readonly attribute [CustomGetter] Array types;
To      readonly attribute sequence&lt;String&gt; types;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>593322</commentid>
    <comment_count>1</comment_count>
    <who name="Vineet Chaudhary (vineetc)">code.vineet</who>
    <bug_when>2012-04-02 03:52:55 -0700</bug_when>
    <thetext>As part of removing custom bindings of types Array Clipboard.idl also needs to have modified to have sequence&lt;String&gt;.

But according to current implementation of the Clipboard::types() it returns HashSet&lt;String&gt;.
In order to remove the custom bindings it should of type Vector&lt;String&gt;.

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>593366</commentid>
    <comment_count>2</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-04-02 05:08:14 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; To resolve this we have two options.
&gt; 1) Modify JSDombindings.h/V8Bindings.h to support HashSet.
&gt; 2) Modify return type of types() to Vector.
&gt; 
&gt; IMO we should go with 2nd option if there are no objections.

Agreed on the 2nd option.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>