<?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>27879</bug_id>
          
          <creation_ts>2015-01-22 07:39:16 +0000</creation_ts>
          <short_desc>&quot;  [NewObject] Uint8Array encode(optional USVStr...&quot;</short_desc>
          <delta_ts>2015-01-22 08:40:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>Encoding</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jxck">block.rxckin.beats</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <cc>www-international</cc>
          
          <qa_contact>sideshowbarker+encodingspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117419</commentid>
    <comment_count>0</comment_count>
    <who name="Jxck">block.rxckin.beats</who>
    <bug_when>2015-01-22 07:39:16 +0000</bug_when>
    <thetext>https://encoding.spec.whatwg.org/#textencoder

[[
  [NewObject] Uint8Array encode(optional USVString input = &quot;&quot;);

]]

it seems a little strange for me.
&quot;input is a optional&quot; is covered under &quot;input is empty string if omitted&quot;.

so is it enough to describe with no optional ?

[[
  [NewObject] Uint8Array encode(USVString input = &quot;&quot;);

]]

thanks
Jxck</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117420</commentid>
    <comment_count>1</comment_count>
    <who name="Jxck">block.rxckin.beats</who>
    <bug_when>2015-01-22 07:40:49 +0000</bug_when>
    <thetext>sorry, I found it was valid webidl notation.

http://www.w3.org/TR/WebIDL/#dfn-optional-argument-default-value

thanks
Jxck</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>