[Webkit-unassigned] [Bug 192190] New: Add first-class support for .mjs files in jsc binary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 29 15:10:36 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=192190

            Bug ID: 192190
           Summary: Add first-class support for .mjs files in jsc binary
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mathias at qiwi.be

jsc should treat files with the .mjs extension as modules instead of classic scripts, even when the --module-file=foo flag is not used.

This would make it more convenient to run the same JavaScript modules a) in a browser, b) in Node.js (which currently requires .mjs), and c) in JS engine shells directly such as `jsc`.

FWIW, V8’s `d8` supports this: https://bugs.chromium.org/p/v8/issues/detail?id=7950

-- 
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/20181129/f8195c2f/attachment.html>


More information about the webkit-unassigned mailing list