Bug 243595
| Summary: | Form Submit incorrect query | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | akeerthi, annevk, ap, bfulgham, cdumez, karlcow, rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 12 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=247545 | ||
Ahmad Saleem
Hi Team,
Another test case from Chrome bug repository where Safari 15.6 is behaving differently compared to other browsers.
Test Case - https://jsfiddle.net/JUxb5/
Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=196640
Chrome Commit - https://chromium.googlesource.com/chromium/src.git/+/e203f7361d30ddf8260c79733c133a033fcb3b92
____
*** STEPS TO REPRODUCE ***
1) Go to JSFiddle Test Case
2) "Submit" - when the field has AAA in it
<< ACTUAL RESULT >>
Upon Submit, it will open new web page with Google in search of "BBB"
<< EXPECTED RESULT >>
Upon Submit, it will open new web page with Google in search of "AAA"
_______
Both other browsers, show "AAA" as search term upon "submit" and then on return, show value "BBB" in the field. Chrome Canary 106 gives error on new page as below:
www.google.com is blockedwww.google.com refused to connect.
ERR_BLOCKED_BY_RESPONSE
Might be cross-origin request block but Firefox Nightly 105 navigates to Google with search term "AAA" rather than "BBB".
_____
Appreciate if this can be fixed and aligned with other browsers. Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/98577265>
Ahmad Saleem
Initial Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=169185
and it pushed the following above:
https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLFormElement.cpp#333
Test Fix - https://src.chromium.org/viewvc/blink?view=revision&revision=201475
___
Few more commits: https://chromium.googlesource.com/chromium/src.git/+/f3468bf880d95d79b516ee19cbe6f1807f7e5c61 & https://chromium.googlesource.com/chromium/src.git/+/e203f7361d30ddf8260c79733c133a033fcb3b92
Anne van Kesteren
Related to bug 13012 perhaps?
Ahmad Saleem
(In reply to Anne van Kesteren from comment #3)
> Related to bug 13012 perhaps?
There is open PR here to fix WPT test - https://github.com/WebKit/WebKit/pull/30734 (against this bug)
EWS
Committed 285498@main (b1875e2b51b3): <https://commits.webkit.org/285498@main>
Reviewed commits have been landed. Closing PR #30734 and removing active labels.