<?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>20159</bug_id>
          
          <creation_ts>2012-11-29 14:58:58 +0000</creation_ts>
          <short_desc>Introduce attributes for DOMString coercion</short_desc>
          <delta_ts>2014-11-17 18:37:34 +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>Windows 3.1</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>24581</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="Anne">annevk</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79123</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-11-29 14:58:58 +0000</bug_when>
    <thetext>1) An attribute that converts lone surrogates to U+FFFD as per http://lists.w3.org/Archives/Public/public-script-coord/2012OctDec/thread.html#msg82

2) An attribute to replace ByteString. We should probably not have ByteString as a distinct type per the arguments from Brendan in the thread above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79128</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-11-29 16:11:37 +0000</bug_when>
    <thetext>I would actually prefer a distinct type for ByteString.  On the C++ side, ByteString needs to become some version of char*, while DOMString becomes a Unicode string.  These are typically different C++ classes, not just different conversion code.  And while it&apos;s possible to change the actual type of the object based on extended attributes, it feels pretty weird.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115024</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-11-17 18:37:34 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>