This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Consider crypto.subtle.importKey("jwk", jwkData). This looks like a very reasonable way to import a JWK key. But it does not work, because keyUsage argument will default to [], and this empty usage will be intersected with key use from inside JWK, yielding an empty usage.
Default arguments were removed by Bug 19705
OK. However, see bug 24759, which asks for a way to import JWK without spelling out parameters.