Unimplemented methods on window.crypto have been removed

Published: | Categories: DOM


The disableRightClick, popChallengeResponse and random methods have been removed from window.crypto. Those were part of the non-standard Crypto API of Netscape 4 but not implemented in Gecko-based Netscape 6 and Firefox, just throwing a NS_ERROR_NOT_IMPLEMENTED exception. Note that the standardized window.crypto.getRandomValues method is available since Firefox 21 to get cryptographically random values.