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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25879</bug_id>
          
          <creation_ts>2014-05-23 23:31:44 +0000</creation_ts>
          <short_desc>Given that Firefox[1], Chrome[2], and IE[3] have now disabled autocomplete=off for password fields,  [...]</short_desc>
          <delta_ts>2014-09-19 23:43:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#autofilling-form-controls:-the-autocomplete-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>dbeam</cc>
    
    <cc>estade</cc>
    
    <cc>gcasto</cc>
    
    <cc>ian</cc>
    
    <cc>manishearth</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106750</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-05-23 23:31:44 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html
Multipage: http://www.whatwg.org/C#autofilling-form-controls:-the-autocomplete-attribute
Complete: http://www.whatwg.org/c#autofilling-form-controls:-the-autocomplete-attribute
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html

Comment:
Given that Firefox[1], Chrome[2], and IE[3] have now disabled autocomplete=off
for password fields, maybe we should update the spec with a more concrete
definition for autofill that explicitly mentions the password manager, and
accordingly remove references to password-type fields from this section.


 [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=956906
 [2]:
http://www.theregister.co.uk/2014/04/09/chrome_makes_new_password_grab_in_vers
ion_34/
 [3]: http://stackoverflow.com/a/18242266/1198729

Posted from: 103.21.126.78
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106751</commentid>
    <comment_count>1</comment_count>
    <who name="Manish Goregaokar">manishearth</who>
    <bug_when>2014-05-23 23:32:34 +0000</bug_when>
    <thetext>ccing self.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109618</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-30 22:32:40 +0000</bug_when>
    <thetext>Are we sure Chrome in particular has disabled this entirely? I still find that Chrome doesn&apos;t offer to save passwords sometimes unless I manually strip the autocomplete=off attributes using the DOM inspector.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109621</commentid>
    <comment_count>3</comment_count>
    <who name="Evan Stade">estade</who>
    <bug_when>2014-07-30 22:44:22 +0000</bug_when>
    <thetext>+gcasto to respond to Ian&apos;s comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109625</commentid>
    <comment_count>4</comment_count>
    <who name="Garrett Casto">gcasto</who>
    <bug_when>2014-07-30 23:32:23 +0000</bug_when>
    <thetext>autocomplete=off should have no affect on password fields at this point. If you know of cases where this isn&apos;t true, please forward them to me as it&apos;s a bug.

Note that you can get the old behavior by using a flag (&apos;--do-not-ignore-autocomplete-off&apos;) in case you accidentally have that set somehow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109669</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-31 15:26:45 +0000</bug_when>
    <thetext>Does autocomplete=off on &lt;form&gt;s or on the username field still block password saving?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109674</commentid>
    <comment_count>6</comment_count>
    <who name="Manish Goregaokar">manishearth</who>
    <bug_when>2014-07-31 15:44:24 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #5)
&gt; Does autocomplete=off on &lt;form&gt;s or on the username field still block
&gt; password saving?

This is not the case for Firefox[1]. It doesn&apos;t seem to be the case for Chrome either, but I&apos;m not sure.


 [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=425145</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109676</commentid>
    <comment_count>7</comment_count>
    <who name="Garrett Casto">gcasto</who>
    <bug_when>2014-07-31 15:51:36 +0000</bug_when>
    <thetext>It is not the case for Chrome either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109724</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-31 23:22:06 +0000</bug_when>
    <thetext>So if there&apos;s a form with a username field, a password field, and some other field (say a two-factor-auth field), and all the fields and the form have autocomplete=off, Firefox and Chrome will remember the username and password, but not the other field?


I&apos;ve definitely had Chrome not remember passwords on pages with autocomplete=off in the recent past. I didn&apos;t realise this was now a bug. I&apos;ll try to take note of it in the future and report it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111212</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-08 23:17:14 +0000</bug_when>
    <thetext>I cannot get either Chrome to remember the passwords on this form:

   http://www.hixie.ch/tests/adhoc/html/forms/autocomplete/004.html

Firefox offers to, and does show them if you visit 004.html again. However, on 003.html which is identical except for having autocomplete=off, the password isn&apos;t prefilled. In Chrome, neither form saves the password and neither refills it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111213</commentid>
    <comment_count>10</comment_count>
    <who name="Evan Stade">estade</who>
    <bug_when>2014-09-08 23:22:35 +0000</bug_when>
    <thetext>Chrome might require https?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111214</commentid>
    <comment_count>11</comment_count>
    <who name="Manish Goregaokar">manishearth</who>
    <bug_when>2014-09-08 23:26:27 +0000</bug_when>
    <thetext>I get the prompt when I try to log in to HTTP Wikipedia

http://en.wikipedia.org/w/index.php?title=Special:UserLogin&amp;returnto=Main+Pag</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111215</commentid>
    <comment_count>12</comment_count>
    <who name="Manish Goregaokar">manishearth</who>
    <bug_when>2014-09-08 23:28:55 +0000</bug_when>
    <thetext>Adding autocomplete=false to the pwd field or the form on the Wikipedia page linked to above doesn&apos;t stop the prompt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111217</commentid>
    <comment_count>13</comment_count>
    <who name="Evan Stade">estade</who>
    <bug_when>2014-09-08 23:34:11 +0000</bug_when>
    <thetext>http wikipedia redirects to https wikipedia (for me anyway)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111219</commentid>
    <comment_count>14</comment_count>
    <who name="Manish Goregaokar">manishearth</who>
    <bug_when>2014-09-08 23:36:15 +0000</bug_when>
    <thetext>it seems like if you open https wikipedia and then explicitly edit out the https for the page you&apos;re on, it doesn&apos;t redirect. *shrug*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111227</commentid>
    <comment_count>15</comment_count>
    <who name="Garrett Casto">gcasto</who>
    <bug_when>2014-09-09 00:33:17 +0000</bug_when>
    <thetext>Chrome assumes that if the same form (for a loose definition of same) is present after form submission, then submission failed and we shouldn&apos;t prompt the user to save the password. If you changed the submit to go to a different page, it will prompt to save.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111846</commentid>
    <comment_count>16</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-19 20:49:37 +0000</bug_when>
    <thetext>Aha, the issue in comment 15 is what was breaking my testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111847</commentid>
    <comment_count>17</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-19 21:16:02 +0000</bug_when>
    <thetext>How&apos;s this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111848</commentid>
    <comment_count>18</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-09-19 21:16:30 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8794.
Check-in comment: autofill: Encourage password saving.
https://html5.org/tools/web-apps-tracker?from=8793&amp;to=8794</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111865</commentid>
    <comment_count>19</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-19 23:43:46 +0000</bug_when>
    <thetext>Please reopen the bug if it&apos;s not perfect. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>