Uh oh!
There was an error while loading. Please reload this page.
[webview_flutter_platform_interface] Adds WebResourceRequest to HttpResponseError - #4025
[webview_flutter_platform_interface] Adds WebResourceRequest to HttpResponseError#4025HugoOlthof wants to merge 9 commits into
Conversation
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 on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on 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. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bparrishMines
left a comment
There was a problem hiding this comment.
LGTM with a couple of nits
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
stuartmorgan-g
commented
Jun 29, 2023
@HugoOlthof Are you still planning on updating this based on the feedback above? |
HugoOlthof
commented
Jun 30, 2023
@stuartmorgan I am, I was on vacation for a few weeks :) I will update the PR as soon as possible. |
1d50f39 to
b3b50f1CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
stuartmorgan-g
commented
Aug 10, 2023
@HugoOlthof Are you planning on addressing the remaining review comments here? |
b3b50f1 to
8fa0424Comparestuartmorgan-g
commented
Aug 24, 2023
@HugoOlthof I see there are commits since my last comment; was this ready for re-review? |
HugoOlthof
commented
Aug 24, 2023
@stuartmorgan Yes it is :) |
stuartmorgan-g
commented
Sep 7, 2023
The stuck |
Hixie
commented
Sep 12, 2023
@HugoOlthof Thanks for the contribution! Will you be able to do the merge to get this landed? |
8fa0424 to
b7e23a8Comparestuartmorgan-g
commented
Sep 29, 2023
@bparrishMines Ping on this second review |
Uh oh!
There was an error while loading. Please reload this page.
Hixie
commented
Oct 24, 2023
What is the next step here? |
There was a problem hiding this comment.
In all of the discussion I lost track of the fact that this is missing tests.
The new data types should have trivial tests that they work as expected, and we should have a test that would have caught the missing export (e.g., something that imports just types.dart and then tries to construct a HttpResponseError with all of its fields.
| }); | ||
| /// The URI that this response is associated with. | ||
| final String? uri; |
There was a problem hiding this comment.
Sorry, I know I said we should go back to String? above, but now that I'm looking at it again in the context of not asking it to be changed to a request object: shouldn't it be Uri??
There was a problem hiding this comment.
types.dart needs to export both of these new files, unless I'm missing something, since it exports http_response_error.dart and these are now part of that class's public interface.
stuartmorgan-g
commented
Jan 23, 2024
Obsoleted by #5790 |
As requested in #3695 this PR adds the WebResourceRequest object to HttpResponseError so it's possible for the client to know which request failed.
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.mdto add a description of the change, [following repository CHANGELOG style].///).