-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-js-interopIssues that impact all js interopIssues that impact all js interop
Description
dart:js_interop exposes a importModule API, which does a dynamic import of an ES module.
However, importModule takes a String as the parameter which makes it incompatible with the TrustedTypes API. Basically, TrustedTypes essentially allows the URL to either be a string, or a TrustedScriptURL. So in order for this to actually be supported, importModule probably should take a JSAny.
bivens-dev, srujzs and kevmoo
Metadata
Metadata
Assignees
Labels
area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-js-interopIssues that impact all js interopIssues that impact all js interop
Type
Projects
Status
Done