(obj)
| 968 | } |
| 969 | |
| 970 | function isKeyObject(obj) { |
| 971 | if (obj == null || typeof obj !== 'object') |
| 972 | return false; |
| 973 | |
| 974 | try { |
| 975 | getKeyObjectSlots(obj); |
| 976 | return true; |
| 977 | } catch { |
| 978 | return false; |
| 979 | } |
| 980 | } |
| 981 | |
| 982 | // CryptoKey is a plain JS class whose prototype's [[Prototype]] is |
| 983 | // Object.prototype, as Web Crypto requires. Instance storage (type enum, |
no outgoing calls
no test coverage detected
searching dependent graphs…