<?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>21399</bug_id>
          
          <creation_ts>2013-03-26 15:55:33 +0000</creation_ts>
          <short_desc>[Imports]: Specify how URLs of external resources are resolved.</short_desc>
          <delta_ts>2013-07-18 21:31:00 +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>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>19870</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>
          
          <blocked>20683</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike Kamermans">pomax</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85013</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Kamermans">pomax</who>
    <bug_when>2013-03-26 15:55:33 +0000</bug_when>
    <thetext>&quot;Fetch a resource from LOCATION, with DOCUMENT as override referrer source and block cookies flag set:&quot;

How should locations for script and link elements be resolved? relative to the component.html that is being loaded, or relative to the page that&apos;s loading the components?

ie:

- index.html // &lt;link rel=&quot;component&quot; href=&quot;http://.../components.html&quot;&gt;
- http://.../components.html // &lt;script src=&quot;dependency.js&quot;&gt;&lt;/script&gt;

does the dependency load relative to components.html (I would hope) or relative to index.html? (which would make it hard to encapsulate multi-file components, necessitating putting everything in the .html file).

This might need explicit mention in the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90947</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-07-18 21:31:00 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>