-
Notifications
You must be signed in to change notification settings - Fork 6k
[web] Migrate EventListener's to JS types. #40566
Conversation
@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. |
Oh please diff against commit 1, I still need to land the canvaskit changes. |
@eyebrowsoffire okay, ptal. this is ready to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…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
Not sure why exactly, but it looks like a CK benchmark improved with this change: |
@jonahwilliams I know this is confusing, but the chart you linked to is Here's the real average for the benchmark, and it remained stable before and after this PR: |
…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
No description provided.