From 0d8c494068b694d42e7d21a1e07d4436619e8ecb Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 6 Nov 2023 10:24:19 +0100 Subject: [PATCH] Fixed the check in "Ice/binding" test for detecting the browser environment --- js/test/Ice/binding/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/test/Ice/binding/Client.js b/js/test/Ice/binding/Client.js index ef2c9816f18..7a794005031 100644 --- a/js/test/Ice/binding/Client.js +++ b/js/test/Ice/binding/Client.js @@ -581,7 +581,7 @@ { const out = this.getWriter(); [communicator, args] = this.initialize(args); - if(typeof navigator !== 'undefined' && isSafari() && isWorker()) + if(isBrowser && isSafari() && isWorker()) { // // BUGFIX: