<?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>250989</bug_id>
          
          <creation_ts>2023-01-22 14:48:54 -0800</creation_ts>
          <short_desc>HTMLInputElement::setValueForUser should dispatch an input event</short_desc>
          <delta_ts>2023-01-24 10:35:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>226023</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>karlcow</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1927339</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-22 14:48:54 -0800</bug_when>
    <thetext>HTMLInputElement::setValueForUser is used to autofill form elements. It differs from setting the form value normally because it creates a change event to trick websites into detecting user input. However, this is not enough for some websites that look only for input events and not change events to decide whether the user modified the form. On such websites, the user has to enter an extra character and then delete it as a workaround.

This fixes password autofill on https://my.cigna.com and https://myaccount.spireenergy.com. It has to be tested manually since this functionality is not exposed to JavaScript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927340</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-22 14:51:40 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/8957</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927484</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-23 09:47:18 -0800</bug_when>
    <thetext>Probably a duplicate of bug #226023, though not yet certain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927855</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-24 10:35:20 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 226023 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>