Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[web] Migrate EventListener's to JS types. #40566

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

joshualitt
Copy link
Contributor

No description provided.

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Mar 23, 2023
@joshualitt
Copy link
Contributor Author

@eyebrowsoffire ptal, @mdebbar @ditman please feel free to review if you like.

This one is kind of a fun one, and I think this is the best pattern for functions moving forward. It gives us the best of both worlds, type safety and sane JS semantics.

@joshualitt
Copy link
Contributor Author

Oh please diff against commit 1, I still need to land the canvaskit changes.

@joshualitt
Copy link
Contributor Author

@eyebrowsoffire okay, ptal. this is ready to go.

Copy link
Contributor

@eyebrowsoffire eyebrowsoffire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@joshualitt joshualitt merged commit 8edd3c0 into flutter:main Apr 4, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 4, 2023
zanderso pushed a commit to flutter/flutter that referenced this pull request Apr 4, 2023
…124136)

flutter/engine@e860fa8...8edd3c0

2023-04-04 joshualitt@google.com [web] Migrate EventListener's to JS
types. (flutter/engine#40566)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on
the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@mdebbar
Copy link
Contributor

mdebbar commented Apr 7, 2023

exaby73 pushed a commit to NevercodeHQ/flutter that referenced this pull request Apr 17, 2023
…lutter#124136)

flutter/engine@e860fa8...8edd3c0

2023-04-04 joshualitt@google.com [web] Migrate EventListener's to JS
types. (flutter/engine#40566)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on
the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants