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

[web] Remove workaround for safely removing slots on Safari #47169

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Oct 20, 2023

Now that we want to support multi-view, we need to either:

  1. Remove the workaround to safely remove slot elements in Safari, or
  2. Fix it to support multi-view (can't use flutterViewEmbedder.glassPaneShadow anymore).

According to this comment, this is the right time to remove the workaround 😄 I tested on Desktop Safari and iOS Safari and wasn't able to reproduce the crash reported in flutter/flutter#84832.

Fixes flutter/flutter#85816
Part of flutter/flutter#137287

@mdebbar mdebbar requested a review from ditman October 20, 2023 19:11
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie or stuartmorgan on the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

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

Good riddance! LGTM!

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 20, 2023
@auto-submit auto-submit bot merged commit ebd542b into flutter:main Oct 20, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 20, 2023
…136987)

flutter/engine@b27e1b3...4a65910

2023-10-20 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Multiview pipeline" (flutter/engine#47174)
2023-10-20 [email protected] Multiview pipeline (flutter/engine#44473)
2023-10-20 [email protected] Roll Skia from 9ffd5ef9a9ed to ca69b04f7dd2 (1 revision) (flutter/engine#47171)
2023-10-20 [email protected] Lower the severity of a log message (flutter/engine#47172)
2023-10-20 [email protected] [web] Remove workaround for safely removing slots on Safari (flutter/engine#47169)

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://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
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
Now that we want to support multi-view, we need to either:
1. Remove the workaround to safely remove slot elements in Safari, or
2. Fix it to support multi-view (can't use `flutterViewEmbedder.glassPaneShadow` anymore).

According to [this comment](flutter/flutter#85816 (comment)), this is the right time to remove the workaround � I tested on Desktop Safari and iOS Safari and wasn't able to reproduce the crash reported in flutter/flutter#84832.

Fixes flutter/flutter#85816
Part of flutter/flutter#134443
@mdebbar mdebbar deleted the slot_removal branch October 27, 2023 16:54
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.

Cleanup workaround to delete slotted content in Safari
2 participants