<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>243595</bug_id>
          
          <creation_ts>2022-08-05 10:57:28 -0700</creation_ts>
          <short_desc>Form Submit incorrect query</short_desc>
          <delta_ts>2024-10-20 21:42:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>Safari 15</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247545</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>annevk</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1889163</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-05 10:57:28 -0700</bug_when>
    <thetext>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) &quot;Submit&quot; - when the field has AAA in it

&lt;&lt; ACTUAL RESULT &gt;&gt;

Upon Submit, it will open new web page with Google in search of &quot;BBB&quot;

&lt;&lt; EXPECTED RESULT &gt;&gt;

Upon Submit, it will open new web page with Google in search of &quot;AAA&quot;


_______

Both other browsers, show &quot;AAA&quot; as search term upon &quot;submit&quot; and then on return, show value &quot;BBB&quot; 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 &quot;AAA&quot; rather than &quot;BBB&quot;.

_____

Appreciate if this can be fixed and aligned with other browsers. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890940</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-12 10:58:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/98577265&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1925658</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-01-15 05:13:44 -0800</bug_when>
    <thetext>Initial Commit - https://src.chromium.org/viewvc/blink?view=revision&amp;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&amp;revision=201475

___

Few more commits: https://chromium.googlesource.com/chromium/src.git/+/f3468bf880d95d79b516ee19cbe6f1807f7e5c61 &amp; https://chromium.googlesource.com/chromium/src.git/+/e203f7361d30ddf8260c79733c133a033fcb3b92</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2061518</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-09-19 10:37:23 -0700</bug_when>
    <thetext>Related to bug 13012 perhaps?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2061523</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-09-19 10:48:14 -0700</bug_when>
    <thetext>(In reply to Anne van Kesteren from comment #3)
&gt; Related to bug 13012 perhaps?

There is open PR here to fix WPT test - https://github.com/WebKit/WebKit/pull/30734 (against this bug)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069519</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-20 21:42:48 -0700</bug_when>
    <thetext>Committed 285498@main (b1875e2b51b3): &lt;https://commits.webkit.org/285498@main&gt;

Reviewed commits have been landed. Closing PR #30734 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>