<?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>100537</bug_id>
          
          <creation_ts>2012-10-26 10:24:51 -0700</creation_ts>
          <short_desc>WebKitIDL: sequence&lt;&gt; types incorrectly mapped to native types</short_desc>
          <delta_ts>2012-12-04 12:27:25 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>103642</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Bell">jsbell</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>code.vineet</cc>
    
    <cc>haraken</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>752161</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2012-10-26 10:24:51 -0700</bug_when>
    <thetext>Examples:

Source/WebCore/testing/InternalSettings.idl:    sequence&lt;String&gt; userPreferredLanguages();
Source/WebCore/testing/InternalSettings.idl:    void setUserPreferredLanguages(in sequence&lt;String&gt; languages);
Source/WebCore/testing/Internals.idl:    sequence&lt;String&gt; userPreferredLanguages();
Source/WebCore/testing/Internals.idl:    void setUserPreferredLanguages(in sequence&lt;String&gt; languages);
Source/WebCore/testing/Internals.idl:    [Conditional=INSPECTOR] sequence&lt;String&gt; consoleMessageArgumentCounts(in Document document);

These should be using sequence&lt;DOMString&gt;, but when that is used invalid code is generated. The sequence type needs to be mapped to a native type (e.g. DOMString -&gt; String), appropriate headers need to be pulled in based on the native type, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752352</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-10-26 13:54:29 -0700</bug_when>
    <thetext>This should be an easy change to the code generators.  We already know how to map DOMString to String in other situations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>782710</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2012-12-04 10:53:37 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 103763 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>782802</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2012-12-04 12:27:25 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 103642 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>