Remove DartObject from the global JS namespace, remove interop.js #14627
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
library-js
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-js-interop
Issues that impact all js interop
DartObject pollutes the JavaScript namespace and creates a single proxy class for all Dart objects regardless of the isolate they originate from, potentially allowing Dart object to leak across isolates.
If we emit a DartObject function/prototype directly from dart2js it'll be accessible from dart:js without being in the global namespace.
The text was updated successfully, but these errors were encountered: