<?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>25715</bug_id>
          
          <creation_ts>2014-05-14 18:00:41 +0000</creation_ts>
          <short_desc>[imports]: Unify loading and dependency resolution model with ES6 modules</short_desc>
          <delta_ts>2015-07-06 08:18:13 +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>MOVED</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>
          
          <blocked>17842</blocked>
    
    <blocked>20683</blocked>
    
    <blocked>25378</blocked>
    
    <blocked>25943</blocked>
    
    <blocked>26546</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>dherman</cc>
    
    <cc>eoconnor</cc>
    
    <cc>erik.arvidsson</cc>
    
    <cc>ggaren</cc>
    
    <cc>gkrizsanits</cc>
    
    <cc>ian</cc>
    
    <cc>jdopazo</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>rniwa</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105982</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-05-14 18:00:41 +0000</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105989</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-05-14 19:06:14 +0000</bug_when>
    <thetext>Will start digging into https://people.mozilla.org/~jorendorff/es6-draft.html#sec-runtime-semantics-loader-state.

It&apos;s nice and dense. Any help/guidance would be appreciated :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106679</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-22 22:22:19 +0000</bug_when>
    <thetext>We should deal with this sooner rather than later because I&apos;m about to add my own dependency system to HTML for &lt;script needs&gt; and so on. I _really_ don&apos;t want us to end up with three separate systems...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106682</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-22 22:57:38 +0000</bug_when>
    <thetext>I think what might make the most sense is for HTML to define the dependency fetching system, including things like delaying loads until something needs the dependency, precaching, deferring, etc, whether loads should block other scripts from executing, whether to early-execute or late-execute when there&apos;s a dependency chain, etc, and for the JS module system to just have hooks that HTML bootstraps into this system. (We&apos;re going to need to have hooks anyway for actually fetching things over HTTP.)

In the case of modules in particular, having all this would allow us to hook modules into the dependency tree before actually fetching any files, so that they could be lazily loaded without requiring multiple round-trips to fetch all the dependencies once they _are_ needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111447</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-12 17:37:36 +0000</bug_when>
    <thetext>Reassigning to dglazkov since he&apos;s organising a summit or something for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121761</commentid>
    <comment_count>5</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-07-06 08:18:13 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/188</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>