Skip to content

Conversation

@kevmoo
Copy link
Contributor

@kevmoo kevmoo commented Nov 11, 2024

And cleanup other legacy JS-interop
Also update tests so they pass with WebAssembly

And cleanup other legacy JS-interop
Also update tests so they pass with WebAssembly
@kevmoo kevmoo marked this pull request as ready for review November 13, 2024 20:43
@kevmoo kevmoo requested a review from ditman as a code owner November 13, 2024 20:43
@kevmoo kevmoo changed the title move to wasm [google_identity_services_web] Migrate all types to JSObject Nov 13, 2024
Copy link
Contributor

@srujzs srujzs left a comment

Choose a reason for hiding this comment

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

Thanks again for doing this Kevin!

@kevmoo
Copy link
Contributor Author

kevmoo commented Nov 13, 2024

We have dart functions in these types...that probably should be JSFunction, right?

@srujzs
Copy link
Contributor

srujzs commented Nov 13, 2024

We have dart functions in these types...that probably should be JSFunction, right?

Can you share an example of what you're referring to?

@ditman
Copy link
Member

ditman commented Nov 16, 2024

Which reminds me that we need to run our web integration tests with --wasm enabled! I'll merge this ASAP.

Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

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

LGTM!

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 16, 2024
## 0.3.3

* Move all the JavaScript types to extend `JSObject`.
* Migrates all the JavaScript types to the latest syntax.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, but that doesn't tell the user WHAT changed. The fact that these types are now JSObject is the user-visible change.

Copy link
Member

Choose a reason for hiding this comment

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

Users never see these objects, they don't care about the underlying representation, but let me revert.

@auto-submit auto-submit bot merged commit 38b100c into main Nov 16, 2024
77 checks passed
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 16, 2024
@auto-submit auto-submit bot deleted the move_to_wasm branch November 16, 2024 00:28
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 18, 2024
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Nov 18, 2024
flutter/packages@b164be3...c1eabf5

2024-11-16 49699333+dependabot[bot]@users.noreply.github.com [gradle]:
Bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.4.0 in
/packages/interactive_media_ads/android (flutter/packages#8095)
2024-11-16 kevmoo@users.noreply.github.com
[google_identity_services_web] Migrate all types to JSObject
(flutter/packages#8053)
2024-11-15 49699333+dependabot[bot]@users.noreply.github.com
[file_selector]: Bump androidx.annotation:annotation from 1.9.0 to 1.9.1
in /packages/file_selector/file_selector_android/android
(flutter/packages#7982)
2024-11-15 ditman@gmail.com [web_benchmarks] Remove `WebRenderer` enum.
(flutter/packages#8103)
2024-11-15 kevmoo@users.noreply.github.com [google_maps_flutter] Fix
detection of WebAssembly compatibility (flutter/packages#8102)
2024-11-15 engine-flutter-autoroll@skia.org Roll Flutter from
ed553d1 to 0e2d55e (40 revisions) (flutter/packages#8106)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants