Skip to content

Remove dart:js from dart2wasm #55266

Closed
dart-archive/crypto
#181
@srujzs

Description

@srujzs

This library was added to support allowInterop. All of the methods throw and importing dart:js returns a static error. However, doing conditional imports e.g. if (dart.library.js) succeeds in dart2wasm, because the library still exists in libraries.json. Since allowInterop is now no longer defined in dart:js, we should just remove this library altogether from the platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart2wasmIssues for the dart2wasm compiler.area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-js-interopIssues that impact all js interop

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions