Skip to content

[google_identity_services_web] Migrate all types to JSObject - #8053

Merged
auto-submit[bot] merged 5 commits into
mainfrom
move_to_wasm
Nov 16, 2024
Merged

[google_identity_services_web] Migrate all types to JSObject#8053
auto-submit[bot] merged 5 commits into
mainfrom
move_to_wasm

Conversation

@kevmoo

@kevmookevmoo commented Nov 11, 2024

Copy link
Copy Markdown
Contributor

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 ownerNovember 13, 2024 20:43
@kevmookevmoo changed the title move to wasm[google_identity_services_web] Migrate all types to JSObjectNov 13, 2024

@srujzssrujzs left a comment

Copy link
Copy Markdown
Contributor

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!

Comment threadpackages/google_identity_services_web/example/integration_test/utils.dart Outdated
Comment threadpackages/google_identity_services_web/example/integration_test/utils.dart Outdated
Comment threadpackages/google_identity_services_web/example/integration_test/utils.dart Outdated
@kevmoo

Copy link
Copy Markdown
ContributorAuthor

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

@srujzs

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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

@ditmanditman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@ditmanditman 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
Copy Markdown
ContributorAuthor

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 JSObjectis the user-visible change.

Copy link
Copy Markdown
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-submitBot merged commit 38b100c into mainNov 16, 2024
@auto-submitauto-submitBot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 16, 2024
@auto-submit
auto-submitBot deleted the move_to_wasm branch November 16, 2024 00:28
github-merge-queueBot 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
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
…#8053)
And cleanup other legacy JS-interop
Also update tests so they pass with WebAssembly
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
…#8053)
And cleanup other legacy JS-interop
Also update tests so they pass with WebAssembly
Sign up for freeto 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

@kevmoo@srujzs@ditman