Welcome! Log In Create A New Profile

Advanced

[njs] Test262: fixed check for crypto object.

Anonymous User
December 19, 2024 03:20PM
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
Subject Author Views Posted

[njs] Test262: fixed check for crypto object.

Anonymous User 167 December 19, 2024 03:20PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready