[Webkit-unassigned] [Bug 201692] New: ES Modules should respect <base> tag
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 11 11:50:27 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=201692
Bug ID: 201692
Summary: ES Modules should respect <base> tag
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: guybedford at gmail.com
When using the <base href> tag, the value should affect the resolution of ES modules when resolving top-level module scripts with relative imports.
For example:
```
<base href="/modules/" />
<script type="module">
import './module.js';
</script>
```
should load `/modules/module.js` and not `/module.js`.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190911/831a2245/attachment-0001.html>
More information about the webkit-unassigned
mailing list