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 May 15, 2023

  • Move all handling of default and custom URL strategy to dart:ui_web.
  • Expose urlStrategy getter from dart:ui_web to be able to remove this.

Issue: flutter/flutter#126831

@mdebbar mdebbar requested a review from eyebrowsoffire May 15, 2023 15:50
@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label May 15, 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.

LGTM!

_customUrlStrategy = null;
}

/// Callback that receives the new state of the browser history entry.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops! This was removed by mistake. I'll put it back.

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label May 17, 2023
@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #42043 at sha d8d578d

@auto-submit auto-submit bot merged commit 331c576 into flutter:main May 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 17, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 31, 2023
Remove the following APIs and export them directly from `dart:ui_web`:
- `urlStrategy` getter and setter
- `HashUrlStrategy`
- `PlatformLocation` and `BrowserPlatformLocation` (keep the façades for non-web platforms)

Depends on flutter/engine#42043
Depends on flutter/engine#42252

Part of #126831
@mdebbar mdebbar deleted the url_strategy_getter branch June 22, 2023 21:38
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 will affect goldens

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants