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

Conversation

@mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Sep 19, 2023

Instead of doing as JSAny for DOM objects that are defined in static JS interop, let's make them implements JSObject?

cc @eyebrowsoffire @srujzs thoughts?

@github-actions github-actions bot added the platform-web Code specifically for the web engine label Sep 19, 2023
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.

Yes! Thank you for doing this!

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.

LGTM! At some point we may migrate all JS types to extension types for readability, but that'll be further down the road and we'll probably migrate this entire file to extension types before then.

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 19, 2023
@auto-submit auto-submit bot merged commit 58f6fe2 into flutter:main Sep 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 19, 2023
jonahwilliams pushed a commit to flutter/flutter that referenced this pull request Sep 19, 2023
…sions) (#135041)

Manual roll requested by [email protected]

flutter/engine@589bde9...28f14e6

2023-09-19 [email protected] Roll Skia from d54cf63f051b to
d756a2f5665d (5 revisions) (flutter/engine#46048)
2023-09-19 [email protected] Update CI to Chrome 117
(flutter/engine#45842)
2023-09-19 [email protected] [web] DOM objects implement JS object
(flutter/engine#46047)
2023-09-19 [email protected] Roll Skia from 91adc7d289f7 to
d54cf63f051b (3 revisions) (flutter/engine#46043)
2023-09-19 [email protected] Roll Skia from 1e84aa4509cd to
91adc7d289f7 (2 revisions) (flutter/engine#46040)
2023-09-19 [email protected] Roll Dart SDK from
8ad823c03f26 to e7cd697bd0e9 (2 revisions) (flutter/engine#46039)
2023-09-19 [email protected] Roll Fuchsia Mac SDK from
qy5FU4y6sx1FscCpd... to 06g6i7-5u8O-FOTSi... (flutter/engine#46038)
2023-09-19 [email protected] Add more missing Skia
#includes (flutter/engine#46034)
2023-09-19 [email protected] [macOS,iOS] Expose channel buffers
'resize' and 'overflow' control co… (flutter/engine#44848)
2023-09-19 [email protected] Roll Dart SDK from
5b0e7bda1379 to 8ad823c03f26 (3 revisions) (flutter/engine#46028)
2023-09-19 [email protected] Roll Skia from 744807d740c7 to
1e84aa4509cd (4 revisions) (flutter/engine#46026)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from qy5FU4y6sx1F to 06g6i7-5u8O-

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],[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
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 19, 2023
Mairramer pushed a commit to Mairramer/flutter that referenced this pull request Oct 10, 2023
…sions) (flutter#135041)

Manual roll requested by [email protected]

flutter/engine@589bde9...28f14e6

2023-09-19 [email protected] Roll Skia from d54cf63f051b to
d756a2f5665d (5 revisions) (flutter/engine#46048)
2023-09-19 [email protected] Update CI to Chrome 117
(flutter/engine#45842)
2023-09-19 [email protected] [web] DOM objects implement JS object
(flutter/engine#46047)
2023-09-19 [email protected] Roll Skia from 91adc7d289f7 to
d54cf63f051b (3 revisions) (flutter/engine#46043)
2023-09-19 [email protected] Roll Skia from 1e84aa4509cd to
91adc7d289f7 (2 revisions) (flutter/engine#46040)
2023-09-19 [email protected] Roll Dart SDK from
8ad823c03f26 to e7cd697bd0e9 (2 revisions) (flutter/engine#46039)
2023-09-19 [email protected] Roll Fuchsia Mac SDK from
qy5FU4y6sx1FscCpd... to 06g6i7-5u8O-FOTSi... (flutter/engine#46038)
2023-09-19 [email protected] Add more missing Skia
#includes (flutter/engine#46034)
2023-09-19 [email protected] [macOS,iOS] Expose channel buffers
'resize' and 'overflow' control co… (flutter/engine#44848)
2023-09-19 [email protected] Roll Dart SDK from
5b0e7bda1379 to 8ad823c03f26 (3 revisions) (flutter/engine#46028)
2023-09-19 [email protected] Roll Skia from 744807d740c7 to
1e84aa4509cd (4 revisions) (flutter/engine#46026)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from qy5FU4y6sx1F to 06g6i7-5u8O-

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],[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
@mdebbar mdebbar deleted the dom_implements_js_object branch October 20, 2023 20:27
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
Instead of doing `as JSAny` for DOM objects that are defined in static JS interop, let's make them `implements JSObject`?

cc @eyebrowsoffire @srujzs thoughts?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants