From: Dmitry Volyntsev Date: Thu, 5 Dec 2024 01:52:32 +0000 (-0800) Subject: Test262: fixed check for crypto object. X-Git-Tag: 0.8.9~10 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=1442b5ea9c2bd3377bcd6de08ae49ffe75143134;p=njs.git Test262: fixed check for crypto object. --- diff --git a/test/harness/compatWebcrypto.js b/test/harness/compatWebcrypto.js index aca3ada5..adc0fb41 100644 --- a/test/harness/compatWebcrypto.js +++ b/test/harness/compatWebcrypto.js @@ -3,6 +3,6 @@ if (typeof crypto == 'undefined' && typeof require == 'function') { } function has_webcrypto() { - return (typeof crypto != 'undefied') ? crypto : null; + return (typeof crypto != 'undefined') ? crypto : null; }