Bug 243595

Summary: Form Submit incorrect query
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: akeerthi, 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

Description Ahmad Saleem 2022-08-05 10:57:28 PDT
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!
Comment 1 Radar WebKit Bug Importer 2022-08-12 10:58:18 PDT
<rdar://problem/98577265>