Commit 85a4826
authored
Remove dead writes to CryptoKey.extractable in HKDF/PBKDF2.importKey (#379)
When these steps execute, it is know due to an earlier step that the
argument 'extractable' is false, and that the internal slot will not be
read before being overwritten again by SubtleCrypto.importKey:
https://w3c.github.io/webcrypto/#SubtleCrypto-method-importKey
Therefore, it is a dead write. Removing it makes it more similar to all
other importKey operations, which do not write the [[extractable]]
internal slot either.1 parent d278fcb commit 85a4826
1 file changed
+0
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13206 | 13206 | | |
13207 | 13207 | | |
13208 | 13208 | | |
13209 | | - | |
13210 | | - | |
13211 | | - | |
13212 | | - | |
13213 | | - | |
13214 | | - | |
13215 | 13209 | | |
13216 | 13210 | | |
13217 | 13211 | | |
| |||
13407 | 13401 | | |
13408 | 13402 | | |
13409 | 13403 | | |
13410 | | - | |
13411 | | - | |
13412 | | - | |
13413 | | - | |
13414 | | - | |
13415 | | - | |
13416 | 13404 | | |
13417 | 13405 | | |
13418 | 13406 | | |
| |||
0 commit comments