Skip to content
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

fix(webkit): fail the 204 navigations #1260

Merged
merged 1 commit into from
Mar 9, 2020
Merged

Conversation

pavelfeldman
Copy link
Member

No description provided.

@pavelfeldman
Copy link
Member Author

@dgozman ^^ 24 hours ping!

@@ -677,6 +677,14 @@ export class WKPage implements PageDelegate {
return;
const response = request.createResponse(event.response);
this._page._frameManager.requestReceivedResponse(response);

if (response.status() === 204) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

isn't this the case only for navigation requests?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it is only returned for main requests

@dgozman dgozman merged commit 2fa2421 into microsoft:master Mar 9, 2020
@pavelfeldman pavelfeldman deleted the h204 branch April 17, 2020 21:12
yury-s added a commit that referenced this pull request Sep 23, 2024
The login being changed was added in
#1260 and is supposed to
only work for navigation requests.

Reference: #32752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants