deriveBits() incorrectly throws for PBKDF2 algorithm when the password is empty. This is causing Safari to fail subtests in the following WPT test: - https://wpt.live/WebCryptoAPI/derive_bits_keys/pbkdf2.https.any.html?5001-6000 Empty passwords are supported by both Chrome and Firefox.
Created attachment 433155 [details] Patch
I know the patch is over 900k but the code change is actually 3 lines. The rest is tests rebaselines as this causes a LOT of subtests to start passing :)
Comment on attachment 433155 [details] Patch r=me
Committed r279788 (239555@main): <https://commits.webkit.org/239555@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433155 [details].
<rdar://problem/80383544>