-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add API to services package that overrides HTTP ban #54243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@Hixie This PR is ready for review. If you prefer me to send the breaking change announcement first, let me know. I thought I would add the API first in case people want to jump ahead and make the change. It will be a noop until I submit the engine change. |
goderbauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please leave the PR template in place and fill it out when opening PRs? It makes it easier to spot whether this change is a breaking change that may require a migration guide. Even though the description talks about a breaking change, this doesn't seem to be one?
|
Also: it appears that one of the new tests is failing on cirrus. |
|
Thanks @goderbauer. No this change itself is not a breaking change. The upcoming engine change will be a breaking change that will be announced. I removed the failing test. I am already doing the connection tests in the Dart SDK and the negative test case here should be enough from Flutter's point of view since all we care is that we are using the right symbol. |
|
OK this is ready for another round. @goderbauer Thanks! |
chunhtai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
This pull request is not suitable for automatic merging in its current state.
|
|
I had to revert this since one of the tests breaks on web. The test needs to access |
This is being submitted in preparation of breaking change described in dart-lang/sdk#40548.
The Dart SDK support for this is added dart-lang/sdk@74a20b7.
Following this PR, I will draft and send out an announcement for flutter-announce@. Afterwards, I will submit the change to engine to ban HTTP by default on iOS and Android.