<?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>243594</bug_id>
          
          <creation_ts>2022-08-05 10:46:06 -0700</creation_ts>
          <short_desc>submit disabled=&quot;disabled&quot; doesn&apos;t stop form from being posted with ENTER key</short_desc>
          <delta_ts>2023-06-26 09:29:04 -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>Forms</component>
          <version>Safari 15</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=16886</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>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="Ryosuke Niwa">rniwa</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>mathias</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1889159</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-05 10:46:06 -0700</bug_when>
    <thetext>Hi Team,

Going through Chrome bugs - I came across another test cases (actually two of same thing) where Safari 15.6 behave different compared to other browsers.

Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=37402

Chrome Commit - https://src.chromium.org/viewvc/blink?view=revision&amp;revision=162095

_________

Test Case 1 - https://jsfiddle.net/WEM3x/

STEPS TO REPRODUCE:

1) Open above link and type something in the field

2) After typing - hit &quot;Enter&quot;, Safari will navigate and show 404 error.

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

Safari navigated upon hitting &quot;Enter&quot;

&lt;&lt; EXPEXTED RESULT / OTHER BROWSERS [Chrome Canary 106 and Firefox Nightly 105] &gt;&gt;

Don&apos;t navigate and ignore &apos;Enter&apos;

__________-

Test Case 2 - https://jsfiddle.net/HhAAb/

STEPS TO REPRODUCE:

1) Open above link and type something in the field

2) After typing - hit &quot;Enter&quot;, Safari will show dialog box showing &apos;form submitted&apos;.

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

Safari will show &quot;form submitted&quot; dialog

&lt;&lt; EXPEXTED RESULT / OTHER BROWSERS [Chrome Canary 106 and Firefox Nightly 105] &gt;&gt;

Does not show any dialog

______

If it is duplicate, please ignore because I tried to find other but only found bug 81422 but it didn&apos;t had any test case.

Appreciate if this can be fixed. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889579</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-08-07 18:54:53 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3093</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889744</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-08 12:32:24 -0700</bug_when>
    <thetext>Committed 253228@main (7f2b47eeff03): &lt;https://commits.webkit.org/253228@main&gt;

Reviewed commits have been landed. Closing PR #3093 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889745</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-08 12:33:27 -0700</bug_when>
    <thetext>&lt;rdar://problem/98334912&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948591</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2023-04-13 13:36:25 -0700</bug_when>
    <thetext>*** Bug 53296 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>