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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26190</bug_id>
          
          <creation_ts>2014-06-24 21:26:08 +0000</creation_ts>
          <short_desc>Sequence and OpenEndedDictionary should be distinguishable</short_desc>
          <delta_ts>2016-10-17 15:41:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>27008</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ben Kelly">bkelly</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>public-script-coord</cc>
    
    <cc>tobie.langel</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108297</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Kelly">bkelly</who>
    <bug_when>2014-06-24 21:26:08 +0000</bug_when>
    <thetext>Currently the fetch spec is proposing webidl that looks like:

  typedef (Headers or sequence&lt;sequence&lt;ByteString&gt;&gt; or OpenEndedDictionary&lt;ByteString&gt;) HeadersInit;

This is illegal at the moment, however, because Sequence and OpenEndedDictionary are not distinguishable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108298</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-06-24 21:33:09 +0000</bug_when>
    <thetext>In particular, we should try to convert as sequence; if that fails due to non-iterable, then go on to OpenEndedDictionary (or dictionary, for that matter).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127814</commentid>
    <comment_count>2</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2016-10-17 15:41:44 +0000</bug_when>
    <thetext>Fixed by https://github.com/heycam/webidl/commit/1814384</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>