Live data from Hacker News

Issue 914451: Autofill does not respect autocomplete="off"

bugs.chromium.org

71–80 of 383 posts

Re: Issue 914451: Autofill does not respect autocomplete="off"

#71
post #39
post #17

Earlier quoted context omitted.

You still had a choice, nowadays being a Web Developer is almost a synonym for Chrome Developer and it was the IE hatting crowd that made it happen.

Except Chrome is still far below the user-base of IE in its heyday. And the most "valuable" users are all on mobile Safari. So it still makes sense to at least test with that.

Mobile Safari is only relevant on first tier countries.

Plenty of web sites aren't for international consumption.

Re: Issue 914451: Autofill does not respect autocomplete="off"

#72

Explanation from the 'rogue Chromium dev' is linked to in comment 19 of this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=914451... https://bugs.chromium.org/p/chromium/issues/detail?id=468153...

> somewhere along the journey of the web autocomplete=off become a default for many form fields, without any real thought being given as to whether or not that was good for users

And here I was, all along, thinking that website authors were in control of how their websites behaved. How silly of me!

Re: Issue 914451: Autofill does not respect autocomplete="off"

#73
post #40

I guess this will lead to a horrible coding style where instead of having this in the form: We will see stuff like this: Where developers use some type of abstraction that generates a random id for each field and then assigns it to the original value server side or in javascript. Just like they already randomise asset filenames to avoid caching.

It's like Internet Explorer 6 all over again. SAD.

Re: Issue 914451: Autofill does not respect autocomplete="off"

#74
post #17

Earlier quoted context omitted.

You still had a choice, nowadays being a Web Developer is almost a synonym for Chrome Developer and it was the IE hatting crowd that made it happen.

You didn't have a choice. That was the whole problem!

Well, shortly you won't have a choice anymore.

And there was a choice, back then alternatives like Opera, did actually ship their own engine.

Re: Issue 914451: Autofill does not respect autocomplete="off"

#75
post #64
post #40

I guess this will lead to a horrible coding style where instead of having this in the form: We will see stuff like this: Where developers use some type of abstraction that generates a random id for each field and then assigns it to the original value server side or in javascript. Just like they already randomise asset filenames to avoid caching.

lol, years and years ago (like 2005) as an attempt at stopping XSS and CSRF attacks and bots I came up with a system that named all the inputs a salted MD5 of the intended name with the salt randomly generated then stored in the users server side session. It’s still a reasonably effective solution for CSRF, though there are much simpler options, but today’s bots largely have cookie jars so you will likely need a CAPT…

How would it stop XSS? Is it meant to stop attackers from getting JS execution on your site, or to mitigate the attackers' abilities after they have JS execution? I don't see how it would do either.

Re: Issue 914451: Autofill does not respect autocomplete="off"

#76
post #42

I do not get from where it comes that it is a rogue developer. I have worked in many companies where developers make mistakes. And, it is always the ways of working, giving more priority to features than quality, and similar cultural attributes of the company at fault. The only time I saw this being a rogue developer was a commit and run done by a guy on his last day. It is easy to blame one person when actually is a…

I agree - and in fact, I think accusing this guy of being rogue is an unnecessary direct attack on him/her.

They are just doing their job, and in this case, acting in what they believe is best way for users. Here on HN, it seems most disagree, but that is still no reason to accuse someone of being rogue.

Headline should be "Google Chrome actively ignores HTML5 standard"

Re: Issue 914451: Autofill does not respect autocomplete="off"

#77

It's odd that the linked bug report references and complains about W3C specs when browser/HTML specs have been coming from WHATWG for well over ten years now. W3C has ceased publishing HTML with W3C HTML 5.2 in 2017, and has announced an intent to merely publish WHATWG snapshots going forward; so far, I'm not aware of any actual work under this model by W3C. But OTOH that Chromium interprets form field names heuristi…

Indeed. Chrome and Firefox both autocomplete my user name and password into GitHub's new user registration form, even though I already have an account. It's flaky and just asking to be abused.

Re: Issue 914451: Autofill does not respect autocomplete="off"

#78
post #25
post #19

Earlier quoted context omitted.

Ok, but how is that abuse? And if autocomplete=off is part of the html standard, how are the password managers spec compliant if they can't deal with it? Are people doing this just to annoy users who prefer password managers?

>Are people doing this just to annoy users who prefer password managers? People are doing it because they don't understand password managers, and think blocking them makes people more secure. They believe that if a password is in a manager, that password is less secure than if that password was purely in the user's head.

If a bug in the password manager leaked the password to your bank to a third party, many users wouldn't want to pay for any associated costs/expenses when a bad guy steals their money.

Yet the bank also doesn't want to take on security audits for code entirely outside their control.

Re: Issue 914451: Autofill does not respect autocomplete="off"

#79
post #7
post #3

I would love it if someone explained how 'autocomplete=off' can lead to abuse of some kind. It seems to reduce the potential for security leaks.

> It seems to reduce the potential for security leaks Misguided views like this are exactly how. Turning off autocomplete doesn't improve any sort of security, since the site already needs to trust the browser. It serves no purpose other than to frustrate the user, and might even reduce security if it prevents the user from easily making use of a password manager.

When user experience is bad, the website suffers, not chrome.

When chrome devs believe it is their role to alter ux, they are backseat driving.

Re: Issue 914451: Autofill does not respect autocomplete="off"

#80

Overall, I still believe that neither of the extreme strategies ("always honor autocomplete=off" Is it “extreme” now for a computer to do what the user wants and not what a random Google employee wants? How does this differ from malware?

It's also in the spec.

People might not like the spec or it might be incomplete, but adhering to it is a very important part of improving it until it's a good one.

Now I'm no webdev, but I could very well imagine that the spec is already a good one. So the situation might be even worse.

Post reply on HN