mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c68721cd2c
--HG-- rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Test lack of legacy window.crypto features when
|
|
MOZ_DISABLE_CRYPTOLEGACY is set</title>
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
|
</head>
|
|
<body>
|
|
<script class="testbody" type="text/javascript">
|
|
|
|
ok("crypto" in window, "crypto in window");
|
|
ok(!("version" in window.crypto), "version not in window.crypto");
|
|
ok(!("enableSmartCardEvents" in window.crypto),
|
|
"enableSmartCardEvents not in window.crypto");
|
|
ok(!("generateCRMFRequest" in window.crypto),
|
|
"generateCRMFRequest not in window.crypto");
|
|
ok(!("importUserCertificates" in window.crypto),
|
|
"importUserCertificates not in window.crypto");
|
|
ok(!("popChallengeResponse" in window.crypto),
|
|
"popChallengeResponse not in window.crypto");
|
|
ok(!("random" in window.crypto), "random not in window.crypto");
|
|
ok(!("signText" in window.crypto), "signText not in window.crypto");
|
|
ok(!("disableRightClick" in window.crypto),
|
|
"disableRightClick not in window.crypto");
|
|
|
|
</script>
|
|
</body></html>
|