<?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>53790</bug_id>
          
          <creation_ts>2011-02-04 10:53:44 -0800</creation_ts>
          <short_desc>origin header not set when doing cross site worker.importScript.</short_desc>
          <delta_ts>2011-02-04 11:14:47 -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>All</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Levin">levin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>levin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>345613</commentid>
    <comment_count>0</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-02-04 10:53:44 -0800</bug_when>
    <thetext>This is a follow on to bug 50773 which addresses the issue in one place in DocumentLoader but not the place that would fix the issue for worker.importScript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345620</commentid>
    <comment_count>1</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-02-04 11:02:19 -0800</bug_when>
    <thetext>Perhaps this is by design. Adding Adam so he can set me straight.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345626</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-02-04 11:13:00 -0800</bug_when>
    <thetext>Generally, requests get an origin header if their method isn&apos;t GET or HEAD or if they&apos;re using CORS.  My understanding is that importScript is a GET request and does not use CORS.  Therefore, it doesn&apos;t need an Origin header.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>345627</commentid>
    <comment_count>3</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-02-04 11:14:47 -0800</bug_when>
    <thetext>ok, this is invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>