Bug 187234 - passwordrules
Summary: passwordrules
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Mac macOS 10.13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-07-01 10:40 PDT by Craig Francis
Modified: 2022-02-10 20:49 PST (History)
5 users (show)

See Also:


Attachments
Example HTML form which includes the passwordrules attribute (1.60 KB, text/html)
2018-07-01 10:40 PDT, Craig Francis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Francis 2018-07-01 10:40:04 PDT
Created attachment 344054 [details]
Example HTML form which includes the passwordrules attribute

The release notes for Preview 58 implies that the "passwordrules" attribute should be working now:

https://webkit.org/blog/8327/safari-technology-preview-58-with-safari-12-features-is-now-available/

https://developer.apple.com/password-rules/

But testing this on Release 59, the attached HTML always generates a 20 character alpha-numeric password with hyphens (no percentage sign to be seen).

I'm also aware that you need to close the tab and re-open the document to get a new 20 character password... otherwise WebKit will keep using the same generated password, even on page reload.

And a note for other web developers... The rules I've used are there to test "passwordrules", I would not recommend these be used in a real system (max of 10 characters, you must be joking).
Comment 1 Radar WebKit Bug Importer 2018-07-01 12:56:58 PDT
<rdar://problem/41700769>
Comment 2 Brent Fulgham 2022-02-10 20:49:52 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.

This should now be fixed in shipping software.