Bug 243595 - Form Submit incorrect query
Summary: Form Submit incorrect query
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 15
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-08-05 10:57 PDT by Ahmad Saleem
Modified: 2023-01-15 05:13 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>