summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2023-11-06 10:24:19 +0100
committerJose <jose@zeroc.com>2023-11-06 10:24:19 +0100
commit0d8c494068b694d42e7d21a1e07d4436619e8ecb (patch)
tree18bc68401eac782d37e8899ff79430497a520398
parentFix build failure building with Python 3.12 on Windows (diff)
downloadice-0d8c494068b694d42e7d21a1e07d4436619e8ecb.tar.bz2
ice-0d8c494068b694d42e7d21a1e07d4436619e8ecb.tar.xz
ice-0d8c494068b694d42e7d21a1e07d4436619e8ecb.zip
Fixed the check in "Ice/binding" test for detecting the browser environmentv3.7.10
-rw-r--r--js/test/Ice/binding/Client.js2
1 files changed, 1 insertions, 1 deletions
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: