-
Notifications
You must be signed in to change notification settings - Fork 15k
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: restore POST forms that open a new window with target=_blank #21469
Conversation
Restore some of the original conversion logic in order to fix target=_blank post form submissions.
@@ -0,0 +1,8 @@ | |||
<html> |
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.
please put this fixture in spec-main
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.
Wasn't sure of the convention, since all the other fixtures used in chromium-spec.ts
(via fixturesPath
) point to spec/
. Should I change this one or all of them in chromium-spec.ts
? I guess I don't see the value in separating them if there's a chance they'll be used in both.
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.
Seems reasonable to me
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.
We had several converters for the ResourceRequestBody
and it seems that I have kept the outdated one when refactoring.
Thanks for fixing this and adding tests!
Release Notes Persisted
|
I have automatically backported this PR to "8-x-y", please check out #21474 |
Description of Change
Fix a regression introduced in #20719 that caused HTML form submissions to not actually POST data when using
target=_blank
. The original implementation in that PR was inshell/common/native_mate_converters/network_converter.cc
. Not sure if the removal of those fields was intentional or an oversight. @zcbenz to advise.Checklist
npm test
passesRelease Notes
Notes: Fixed POST-ing HTML forms with target=_blank.