<?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>23823</bug_id>
          
          <creation_ts>2013-11-14 04:48:01 +0000</creation_ts>
          <short_desc>Should the Worker and SharedWorker constructors resolve the URL using utf-8 (like WebSocket)?</short_desc>
          <delta_ts>2014-01-16 17:15:47 +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>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23822</dup_id>
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#dedicated-workers-and-the-worker-interface</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96290</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-11-14 04:48:01 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#dedicated-workers-and-the-worker-interface
Complete: http://www.whatwg.org/c#dedicated-workers-and-the-worker-interface
Referrer: 

Comment:
Should the Worker and SharedWorker constructors resolve the URL using utf-8
(like WebSocket)?

Posted from: 59.37.57.226
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.26 Safari/537.36 OPR/18.0.1284.11 (Edition Next)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96675</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-21 23:32:13 +0000</bug_when>
    <thetext>Nah. WebSocket does it because it&apos;s a new protocol that uses UTF-8 throughout. Workers just use a regular HTTP GET.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97714</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-12-16 23:14:22 +0000</bug_when>
    <thetext>Workers use utf-8 throughout as well. Also, the encoding override thing is a legacy thing. We shouldn&apos;t use it for new APIs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98537</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-15 22:56:40 +0000</bug_when>
    <thetext>In a worker, sure, this API will use UTF-8. But this bug is about what happens outside the worker, in the document. See bug 23822.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98565</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-16 10:55:10 +0000</bug_when>
    <thetext>Indeed, see bug 23822 comment 4 :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98630</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-16 17:15:47 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>