Skip to content

Avoid using js_util.promiseToFuture, instead prefer the extension on JSPromise<> #143396

@mkustermann

Description

@mkustermann

The flutter web engine should avoid using js_util.promiseToFuture (which operates on Dart types and therefore requires dartify() behavior) and instead use static interop via the extension on JSPromise, see JSPromiseToFuture.toDart

/cc @eyebrowsoffire @srujzs @kevmoo

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.e: wasmIssues related to the wasm build of Flutter Web.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions