[Bug 24848] New: [imports]: ES6 module loader should be aware modules in HTML Imports

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24848

            Bug ID: 24848
           Summary: [imports]: ES6 module loader should be aware modules
                    in HTML Imports
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: morrita@google.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org
            Blocks: 23278

As ES6 modules going to have a way to define a module using
<script> or <module> tag, such JS modules in an import should be able to
imported from another module in linking document.

import_a.html
<module name="a"></module>

import_b.html
<link rel=import href=import_a.html>
<module>
import _ from "a"; // This should work.
</module>

To make this possible, ES6 loader should aware of HTML Imports and
HTML Imports should publish readiness to its possible clients somehow.

One idea is to let these two standards share some commonplace  where the
dependency management coordination happens. Such a place could be HTML, fetch,
or somewhere else.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 28 February 2014 01:41:09 UTC