RESOLVED WONTFIX 124695
invalid keygen keytypes are not returning an empty string
https://bugs.webkit.org/show_bug.cgi?id=124695
Summary invalid keygen keytypes are not returning an empty string
Patrick Kettner
Reported 2013-11-20 18:13:20 PST
If you go to data:text/html, <keygen keytype="notrsa">, and use javascript to query to keytype, it returns 'notrsa' According to the spec (http://www.w3.org/TR/2012/WD-html5-20121025/the-keygen-element.html#attr-keygen-keytype), if the keytype is not 'rsa', it should return an empty string. The reasoning is to allow for feature detection on browsers that can't provide native encryption. This bug is particular troubling because it means there is no easy way to detect wether or not iOS/Android browsers support encryption.
Attachments
Patrick Kettner
Comment 1 2014-01-16 09:04:55 PST
Ahmad Saleem
Comment 2 2022-08-09 17:06:22 PDT
<keygen> related code was deleted as part of this commit: https://github.com/WebKit/WebKit/commit/eb67381495b5815bca642c03f8f5171a8b59c551 Marking this bug as "RESOLVED WONTFIX". Thanks!
Note You need to log in before you can comment on or make changes to this bug.