details: https://github.com/nginx/njs/commit/1442b5ea9c2bd3377bcd6de08ae49ffe75143134
branches: master
commit: 1442b5ea9c2bd3377bcd6de08ae49ffe75143134
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed, 4 Dec 2024 17:52:32 -0800
description:
Test262: fixed check for crypto object.
---
test/harness/compatWebcrypto.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel