This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Remove some of our hacks around JSPromise now that we have better APIs.#45591
Merged
auto-submit[bot] merged 3 commits intoflutter:mainfrom Sep 11, 2023
Merged
Conversation
srujzs
approved these changes
Sep 8, 2023
| }); | ||
| } | ||
|
|
||
| /// Typedef for the function that initializes the flutter engine. |
Contributor
There was a problem hiding this comment.
It's up to you if you want to make this typed a bit better by having a non-external function that takes in the typedefs, does the toJS conversions, and then forwards them to a (private) external factory function.
Contributor
Author
There was a problem hiding this comment.
Hmm, I guess maybe it's better to keep a little bit of type safety here.
srujzs
approved these changes
Sep 11, 2023
Contributor
|
auto label is removed for flutter/engine/45591, due to - The status or check suite Linux mac_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label. |
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Sep 11, 2023
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Sep 11, 2023
auto-submit bot
pushed a commit
that referenced
this pull request
Sep 11, 2023
…tter APIs." (#45660) Reverts #45591 This is somehow causing some issues with the hot reload tests and blocking engine -> framework rolls. See flutter/flutter#134455
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Sep 11, 2023
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Sep 11, 2023
flutter/engine@0774ddc...06696e7 2023-09-11 [email protected] Revert "Remove some of our hacks around JSPromise now that we have better APIs." (flutter/engine#45660) 2023-09-11 [email protected] Roll Skia from 3ed290acb65f to e6225224fb4e (2 revisions) (flutter/engine#45658) 2023-09-11 [email protected] Update skwasm build to use safer flush call (flutter/engine#45652) 2023-09-11 [email protected] Remove some of our hacks around JSPromise now that we have better APIs. (flutter/engine#45591) 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 [email protected],[email protected] 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Our JSPromise hackery is causing some issues with the new dart roll. We should just use the
JSPromiseandJSFunctionsupport to simplify this. Note that I still have to do some hackery to constructJSPromiseobjects and to invokeJSFunctionobjects, and eventually we'll probably be able to simplify this even more once those APIs are baked intodart:js_interop