An open API service for providing issue and pull request metadata for open source projects.

GitHub / dart-lang/sdk issues and pull requests

Labelled with: web-js-interop

#61567 - createJSInteropWrapper should take in a proto object parameter to instantiate the JS object with

Issue - State: open - Opened by srujzs 2 months ago
Labels: web-js-interop, area-web-js

#61545 - Should dart2wasm wrapper lists around JS values implement equality based on their JS values?

Issue - State: open - Opened by srujzs 2 months ago
Labels: web-js-interop, area-web-js, area-dart2wasm

#61543 - toJS conversions of Dart typed lists create a new typed array even if typed list was a wrapper from toDart

Issue - State: open - Opened by srujzs 2 months ago
Labels: web-js-interop, area-web-js, area-dart2wasm

#61494 - Specify divergent conversion behavior in dart:js_interop APIs within the docs and not in a note

Issue - State: open - Opened by srujzs 3 months ago
Labels: web-js-interop, area-web-js, area-dart2wasm

#61439 - [js_interop] `Function.toJSCaptureThis` should have the same static errors/checks as `Function.toJS`

Issue - State: closed - Opened by sgrekhov 3 months ago - 1 comment
Labels: web-js-interop, dart2js-crash, area-web-js

#61395 - [js_interop] No error on Wasm when `getProperty` returns an incompatible type

Issue - State: closed - Opened by sgrekhov 3 months ago - 1 comment
Labels: web-js-interop, area-web-js

#61379 - [js_interop] No error if a class annotated by `@JSExport()` contains a non-primitive type

Issue - State: closed - Opened by sgrekhov 3 months ago - 1 comment
Labels: web-js-interop, area-web-js

#61329 - [js_interop] Are types from `dart:html` allowed in JS interop types?

Issue - State: closed - Opened by sgrekhov 3 months ago - 1 comment
Labels: web-js-interop, type-question, area-web-js

#61314 - [js_interop] Error to create interop type on JS primitive on dart2js

Issue - State: open - Opened by sgrekhov 3 months ago
Labels: web-js-interop, type-question

#61286 - [js_interop] No error to tear off the primary construcror of a JS ointerop type

Issue - State: open - Opened by sgrekhov 4 months ago
Labels: web-js-interop

#61274 - [js_interop] No warning if a JS interop type constructor is annotated with `@JS()`

Issue - State: open - Opened by sgrekhov 4 months ago
Labels: web-js-interop

#61265 - [js_interop] Different results in dart2wasm and dart2js for `as` conversion

Issue - State: open - Opened by sgrekhov 4 months ago
Labels: web-js-interop, type-question

#61243 - [js_interop] Compile-time error if type argument of `isA` is a extension type on JS primitive

Issue - State: closed - Opened by sgrekhov 4 months ago - 2 comments
Labels: web-js-interop, type-question

#61220 - [js_interop] Support renaming of parameters in constructors

Issue - State: closed - Opened by fuzzybinary 4 months ago - 1 comment
Labels: web-js-interop, area-web-js

#61139 - [js_interop] `dartify()` converts `JSBoxedDartObject` to an empty map

Issue - State: open - Opened by sgrekhov 4 months ago
Labels: web-js-interop, type-question

#61125 - [js_interop] No error if a mixin is annotated with `@JS`, `@anonymous`, or `@staticInterop`

Issue - State: open - Opened by srujzs 4 months ago
Labels: web-js-interop, area-web-js

#61116 - [js_interop] No error or warning when typedef is annotated with the `@anonymous`

Issue - State: open - Opened by sgrekhov 4 months ago
Labels: web-js-interop

#61115 - [js_interop] No error or warning if an enum ia annotated with `@anonymous`

Issue - State: open - Opened by sgrekhov 4 months ago
Labels: web-js-interop

#61096 - [js_interop] JSExport with wrong `name` leads to syntax error

Issue - State: open - Opened by sgrekhov 5 months ago - 3 comments
Labels: web-js-interop, area-web-js

#61085 - [js_interop] No error if a constructor is annotated with `@JSExport`

Issue - State: closed - Opened by sgrekhov 5 months ago - 1 comment
Labels: web-js-interop, area-web-js

#61064 - [js_interop] Can `@JSExport` annotation be applied to not a class?

Issue - State: closed - Opened by sgrekhov 5 months ago - 2 comments
Labels: web-js-interop, type-question

#61054 - Make `NullRejectionException` constructor private

Issue - State: open - Opened by srujzs 5 months ago - 1 comment
Labels: web-js-interop, area-web-js

#61053 - Update @anonymous documentation

Issue - State: open - Opened by srujzs 5 months ago
Labels: web-js-interop, area-web-js

#61018 - [js_interop] No error for an extension type with no factory constructor annotated by `anonymous`

Issue - State: open - Opened by sgrekhov 5 months ago
Labels: web-js-interop, type-question

#61016 - [js_interop] No error in the analyzer for `@anonymous` annotation with no factory constructor

Issue - State: closed - Opened by sgrekhov 5 months ago - 2 comments
Labels: web-js-interop, area-devexp

#60900 - Possible typo in `globalContext` doc comments

Issue - State: closed - Opened by sgrekhov 6 months ago - 2 comments
Labels: type-documentation, web-js-interop, type-question

#60865 - JS Interop suggestion: Make JSTypedArray generic

Issue - State: open - Opened by nex3 6 months ago - 1 comment
Labels: web-js-interop, area-web-js

#60832 - [js_interop] JSAnyOperatorExtension.and() returns wrong value

Issue - State: closed - Opened by sgrekhov 6 months ago - 1 comment
Labels: web-js-interop, type-bug

#60793 - The compiler is broken

Issue - State: closed - Opened by d-markey 6 months ago - 6 comments
Labels: web-dart2js, web-js-interop, area-web-js

#60749 - [dart:js_interop] RegExp.

Issue - State: open - Opened by ykmnkmi 6 months ago - 1 comment
Labels: web-js-interop, type-enhancement, area-web-js

#60746 - [js_interop, dart2js] Ensure static js_interop is efficient with dart2js

Issue - State: open - Opened by rakudrama 6 months ago
Labels: web-dart2js, web-js-interop, area-web-js

#60644 - `JSAnyUtilityExtension.isA<JSBoxedDartObject>()` returns false positives

Issue - State: closed - Opened by nex3 7 months ago - 1 comment
Labels: web-js-interop, area-web-js

#60505 - [js_interop] Consider using a synthesized getter for top-level getters in DDC lowering.

Issue - State: open - Opened by rakudrama 8 months ago
Labels: web-js-interop, web-dev-compiler, area-web

#60357 - JS interop performance of function calls

Issue - State: closed - Opened by mkustermann 8 months ago - 23 comments
Labels: type-performance, web-js-interop, area-web-js, area-dart2wasm

#60224 - Provide a lint to not use `identical` when the arguments are JS types

Issue - State: open - Opened by gmpassos 9 months ago - 5 comments
Labels: devexp-linter, web-js-interop, area-web

#59982 - dart2js using `self` when it should (likely) use `globalThis`

Issue - State: closed - Opened by kevmoo 10 months ago - 10 comments
Labels: web-js-interop, type-bug, area-web-js

#59932 - [Feature Request] `dart:js_interop` needs `isJSAny` and `isJSObject` for real-world use cases.

Issue - State: closed - Opened by gmpassos 10 months ago - 3 comments
Labels: web-js-interop, type-enhancement, area-web, triage-automation

#59837 - Dynamic property access on js object not working on release mode

Issue - State: closed - Opened by MarcoPeli 11 months ago - 3 comments
Labels: web-js-interop, area-web

#59830 - JSArray add method is not working

Issue - State: open - Opened by MarcoPeli 11 months ago - 6 comments
Labels: web-js-interop, type-bug, area-web, triage-automation

#59672 - [dart:jsinterop] Allow function types in function declarations.

Issue - State: closed - Opened by ykmnkmi 12 months ago - 2 comments
Labels: web-js-interop, type-enhancement, area-web, triage-automation

#59651 - Difference in side effects between dart2js and dart2wasm

Issue - State: closed - Opened by koji-1009 12 months ago - 1 comment
Labels: web-js-interop, area-web

#59605 - Compiler crash: `Internal Error: Unknown external method j:method(SensorOptions|constructor#) external factory SensorOptions({`

Issue - State: closed - Opened by mattyg915 about 1 year ago - 2 comments
Labels: web-js-interop, type-bug, area-web, triage-automation

#56977 - `dart compile js` is optimising away a variable store to `globalThis`

Issue - State: closed - Opened by domesticmouse about 1 year ago - 2 comments
Labels: web-dart2js, web-js-interop, type-bug, area-web, triage-automation

#56957 - `asA` to correspond to `isA`

Issue - State: open - Opened by parlough about 1 year ago
Labels: web-js-interop, area-web

#56906 - jsinterop: define a mechanism to export an API without wrapping

Issue - State: open - Opened by sigmundch about 1 year ago
Labels: web-js-interop, P2, area-web

#56905 - Add a `dart:js_interop` API that can determine if a `Object` is a JS value

Issue - State: open - Opened by srujzs about 1 year ago
Labels: web-js-interop, area-web

#56898 - [web] Improve error messages in Future.toJS

Issue - State: open - Opened by ditman about 1 year ago - 1 comment
Labels: web-js-interop, type-enhancement, area-web

#56897 - Regression in allowInterop idempotence in DDC in Dart >=3.3.0 <3.5.0

Issue - State: closed - Opened by greglittlefield-wf about 1 year ago - 4 comments
Labels: web-js-interop, type-bug, web-dev-compiler, area-web

#56792 - Run JS interop checks on `Function.toJS` calls emitted by `createJSInteropWrapper`

Issue - State: open - Opened by srujzs about 1 year ago
Labels: web-js-interop, area-web

#56564 - Build issue with js_interop `isA`

Issue - State: closed - Opened by arnaud-secondlayer over 1 year ago - 2 comments
Labels: web-js-interop, type-bug, area-web

#56539 - [JS-interop] Extension for JSBigint

Issue - State: open - Opened by redDwarf03 over 1 year ago - 13 comments
Labels: web-js-interop, type-enhancement, area-web

#56533 - Issue: Dart Compile JS Fails to Assign External JS Function

Issue - State: closed - Opened by mrtnetwork over 1 year ago - 3 comments
Labels: web-dart2js, web-js-interop, type-bug, area-web

#56531 - [js interop] interop objects sometimes implement Dart types

Issue - State: open - Opened by sigmundch over 1 year ago
Labels: web-js-interop, area-web, dart2js-ddc-discrepancy

#56484 - Add @Since annotations to JS APIs added in 3.6

Issue - State: closed - Opened by kevmoo over 1 year ago - 1 comment
Labels: web-js-interop, type-enhancement, area-web

#56386 - package:js subtype checks inconsistent at compile-time and don't respect transitivity

Issue - State: open - Opened by srujzs over 1 year ago
Labels: web-dart2js, P3, web-js-interop

#56353 - Remove extra type check in dartifyRaw for wrapped Dart functions that then unwraps it

Issue - State: open - Opened by srujzs over 1 year ago
Labels: type-performance, web-js-interop, area-dart2wasm

#56327 - Have any examples show how to export methods from dart to JavaScript?

Issue - State: closed - Opened by 826327700 over 1 year ago - 10 comments
Labels: web-js-interop, type-question, area-web

#56322 - Unexpected TypeError from js_interop only in DDC

Issue - State: closed - Opened by mattrberry over 1 year ago - 1 comment
Labels: web-js-interop, type-bug, web-dev-compiler, area-web, triage-automation

#56130 - Optimize isA calls when the type is a JS type and not a user interop type

Issue - State: open - Opened by srujzs over 1 year ago
Labels: web-js-interop, area-web

#56069 - [dart:js_interop] Add JSArray.from static method.

Issue - State: closed - Opened by ykmnkmi over 1 year ago - 3 comments
Labels: web-js-interop, type-enhancement, area-web

#56032 - Having an issue trying to convert an async function

Issue - State: closed - Opened by andibardhi over 1 year ago - 5 comments
Labels: web-js-interop, type-bug, area-web, triage-automation

#56015 - [breaking change] Remove `Object` from `ExternalDartReference`'s implemented types

Issue - State: closed - Opened by srujzs over 1 year ago - 15 comments
Labels: web-js-interop, breaking-change-request, area-web, breaking-change-approved

#56004 - Inconsistent and incorrect nullability checks for JS interop return types and callback parameter types

Issue - State: closed - Opened by srujzs over 1 year ago
Labels: web-js-interop, area-dart2wasm

#55881 - Function.toJS uses static type for type casts on dart2wasm but runtime type for type casts on dart2js/ddc.

Pull Request - State: open - Opened by srujzs over 1 year ago
Labels: web-js-interop, area-web

#55801 - WASM incorrectly advertises dart.library.js

Issue - State: closed - Opened by nex3 over 1 year ago - 2 comments
Labels: web-js-interop, type-bug, area-web, area-dart2wasm

#55733 - interop & wasm: reconcile import and export mechanisms

Issue - State: open - Opened by sigmundch over 1 year ago
Labels: web-js-interop, area-web, area-dart2wasm

#55715 - Uncaught RuntimeError: illegal cast - when trying to access string passed from Javascript to dart wasm

Issue - State: closed - Opened by akalankavinda over 1 year ago - 4 comments
Labels: web-js-interop, type-question, area-web

#55675 - DDC lowers object literal/anonymous factory constructors using the invocation's ordering

Issue - State: open - Opened by srujzs over 1 year ago
Labels: web-js-interop, web-dev-compiler, area-web

#55581 - [dart:js_interop] Warn that @anonymous and @staticInterop don't do anything on extension types

Issue - State: open - Opened by srujzs over 1 year ago
Labels: web-js-interop, area-web

#55549 - [dart:js_interop] Can't pass an function reference to external function when assertions are enabled.

Issue - State: closed - Opened by ykmnkmi over 1 year ago - 1 comment
Labels: web-js-interop, area-web

#55536 - [dart:js_interop] ExternalDartReference should have a generic argument.

Issue - State: closed - Opened by ykmnkmi over 1 year ago - 2 comments
Labels: web-js-interop, area-web

#55515 - Semantics of `dart:js_interop`s `Function.toJS` extension

Issue - State: closed - Opened by mkustermann over 1 year ago - 2 comments
Labels: web-js-interop, area-web

#55508 - [breaking change] Change parameter type of `importModule` from `String` to `JSAny`

Issue - State: closed - Opened by srujzs over 1 year ago - 9 comments
Labels: web-js-interop, breaking-change-request, area-web, breaking-change-approved

#55496 - Add documentation on how to catch JS interop errors

Issue - State: open - Opened by srujzs over 1 year ago
Labels: web-js-interop, area-web

#55481 - [dart2wasm] JS errors can't be caught using an interop type

Issue - State: open - Opened by srujzs over 1 year ago - 2 comments
Labels: web-js-interop, area-web, area-dart2wasm

#55466 - [Wasm] JS exception not caught in async function

Issue - State: closed - Opened by sma over 1 year ago - 3 comments
Labels: web-js-interop, area-web, area-dart2wasm

#55465 - [js_interop] Sample code to import a JS module (transformer.js)

Issue - State: closed - Opened by fvisticot over 1 year ago - 7 comments
Labels: web-js-interop, type-question, area-web

#55457 - [dart2wasm] Try/catch in an async function doesn't emit `catch_all` for JS exceptions

Issue - State: closed - Opened by eyebrowsoffire over 1 year ago - 7 comments
Labels: web-js-interop, area-dart2wasm

#55429 - `dart:js_interop`'s `importModule` should support `TrustedTypes` API

Issue - State: closed - Opened by eyebrowsoffire over 1 year ago - 5 comments
Labels: web-js-interop, area-web

#55375 - [dart:js_interop] Cannot specify signatures of functions passed as arguments to js_interop extension types

Issue - State: closed - Opened by felix-ht over 1 year ago - 3 comments
Labels: web-js-interop, area-web

#55342 - Using `ExternalDartReference` as a function parameter is expensive

Issue - State: closed - Opened by leonsenft over 1 year ago - 9 comments
Labels: web-js-interop, area-web

#55340 - Extension types on JS types generate suboptimal method invocations

Issue - State: closed - Opened by leonsenft over 1 year ago - 1 comment
Labels: web-js-interop, area-web

#55339 - `ExternalDartReference.toDartObject` and `Object.toExternalReference` should support a `null` receiver

Issue - State: closed - Opened by leonsenft over 1 year ago - 3 comments
Labels: web-js-interop, area-web

#55267 - [breaking change] Change return type of isTruthy and not

Issue - State: closed - Opened by srujzs over 1 year ago - 7 comments
Labels: web-js-interop, breaking-change-request, area-web, breaking-change-approved

#55266 - Remove `dart:js` from dart2wasm

Issue - State: closed - Opened by srujzs over 1 year ago - 8 comments
Labels: web-js-interop, area-web, area-dart2wasm

#55256 - [Web] Error when running on Web `type 'UniqueRef<JavaScriptObject>' is not a subtype of type 'JSObject'`

Issue - State: closed - Opened by huycozy over 1 year ago - 1 comment
Labels: web-js-interop, area-web

#55245 - [dart:js_interop] Add an option to ignore rest arguments when passing Dart functions to methods like Array.map.

Issue - State: closed - Opened by ykmnkmi over 1 year ago - 1 comment
Labels: web-js-interop, area-web

#55238 - [breaking change] Change return type of unsignedRightShift

Issue - State: closed - Opened by srujzs over 1 year ago - 3 comments
Labels: closed-not-planned, web-js-interop, type-enhancement, breaking-change-request, area-web, enhancement-breaking-change

#55222 - [web/interop] New JS interop extensions that provide `jsify()` / `dartify()`

Issue - State: open - Opened by mkustermann over 1 year ago
Labels: web-js-interop

#55187 - Expose JSUnsafeDartObject in dart:js_interop_unsafe

Issue - State: closed - Opened by srujzs over 1 year ago - 6 comments
Labels: web-js-interop, area-web, area-dart2wasm

#55174 - Avoid jsifyRaw to convert primitive types on interop procedures in lowerings

Issue - State: open - Opened by srujzs over 1 year ago
Labels: web-js-interop, area-web, area-dart2wasm

#55107 - External getters/setters/properties on static interop types trigger `Type argument has an object literal constructor` error

Issue - State: closed - Opened by CEksal over 1 year ago - 2 comments
Labels: web-js-interop, area-web

#55024 - Converting `JSBoolean` to `bool` fails in dart2js

Issue - State: closed - Opened by simolus3 over 1 year ago - 3 comments
Labels: web-js-interop, area-web

#55012 - JS interop pain

Issue - State: closed - Opened by travishaagen almost 2 years ago - 7 comments
Labels: web-js-interop, area-web

#54968 - [ddc/dart2js] Compilers assume constructors that are external, only contain named args, and are extension type members are object literal constructors

Issue - State: open - Opened by srujzs almost 2 years ago
Labels: web-dart2js, web-js-interop, web-dev-compiler, area-web

#54958 - Compiler crashes when compiling to WASM

Issue - State: closed - Opened by Schwusch almost 2 years ago - 3 comments
Labels: web-dart2js, web-js-interop, area-web

#54938 - Accessing contentWindow on cross domain iframes with static js interop doesn't work

Issue - State: closed - Opened by jezell almost 2 years ago - 17 comments
Labels: P1, web-js-interop, web-dev-compiler, area-web

#54874 - `@anonymous` classes should not be rename-able or have `static` members

Issue - State: open - Opened by srujzs almost 2 years ago
Labels: web-js-interop, area-web