Srujan Gaddam

Results 20 issues of Srujan Gaddam

Some interfaces in the Web IDL have a [`LegacyFactoryFunction`](https://webidl.spec.whatwg.org/#LegacyFactoryFunction) defined in their metadata e.g. `HTMLAudioElement` that tells us that the factory for that interface is defined differently e.g. `HTMLAudioElement` here:...

(purely testing to see the diff here)

We expose a number of `EventStreamProvider`s to make it easier for people to subscribe to various events via `Stream`s: https://github.com/dart-lang/web/blob/main/lib/src/helpers/events/events.dart. However, they're tied to the specifics of the `dart:html` implementation...

We have a small set today, but it would be nice to have more helpers like `html.window.onClick` so you don't have to write `html.EventStreamProvider('click').forTarget(html.window)`.

### MDN URL https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/createOffer ### What specific section or headline is this issue about? Return value ### What information was incorrect, unhelpful, or incomplete? In the main section, the return...

Content:WebAPI
needs triage

ExternalDartReference is now generic, so we can just type it and toDartObject will do the cast for us if needed. Also removes now-stale ignores.

platform-web

**Describe the rule you'd like to see added and to what rule set** `invalid_runtime_check_with_js_interop_types` is a new rule added to address runtime type inconsistencies for JS interop types available through...

type-lint
requires-dart-3.5

Opening a window with a different origin using JS interop (using `JSAny?` to avoid any type checks) and then trying to access a property that is [invalid](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#window) e.g. `devicePixelRatio` succeeds....

https://github.com/dart-lang/ecosystem/tree/main/pkgs/firehose#health Since the surface area of `package:web` is quite large, breaking changes may not always be visible, and updating the version number may be missed. We should add a job...

type-code-health

Historically, it was common for users to treat JS values through interop as Dart types and not JS types, mainly because the concept of "JS types" did not exist yet....

web-js-interop
area-web