| Summary: | Android WebView javascript import/export support | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | BartG <bgorski90> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Enhancement | CC: | ap |
| Priority: | P2 | ||
| Version: | WebKit Local Build | ||
| Hardware: | Other | ||
| OS: | Other | ||
Android support has been removed from WebKit many years ago. Please report this issue to whoever maintains the branch now (perhaps Google?) |
I'm trying to run JavaScript modules in my Android WebView and while the script type="module" element is recognized in the html file, the keywords import/export in js files are not ("Unexpected token: export" error). This seems weird, is there a way to enable it? JavaScript works fine other than that. I'm using Android WebView 87.0.4280.141 on Samsung Galaxy A10, but had the same issue on Android emulator. Any ideas?