diff options
author | Jose <jose@zeroc.com> | 2018-10-23 19:44:50 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-10-23 19:44:50 +0200 |
commit | 02914c716c671f7900861e6d611be27afe673cf4 (patch) | |
tree | 241017bd97aa87bd986490b0f2030250938cd7a9 /js/src/Ice/browser/TimerUtil.js | |
parent | Fixed slice2matlab generated code type for dictionary data members (diff) | |
download | ice-02914c716c671f7900861e6d611be27afe673cf4.tar.bz2 ice-02914c716c671f7900861e6d611be27afe673cf4.tar.xz ice-02914c716c671f7900861e6d611be27afe673cf4.zip |
Fix JavaScript Safari es5/worker tests not working
Diffstat (limited to 'js/src/Ice/browser/TimerUtil.js')
-rw-r--r-- | js/src/Ice/browser/TimerUtil.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/Ice/browser/TimerUtil.js b/js/src/Ice/browser/TimerUtil.js index abe9ddfde97..f3f66c33da2 100644 --- a/js/src/Ice/browser/TimerUtil.js +++ b/js/src/Ice/browser/TimerUtil.js @@ -191,7 +191,7 @@ if(typeof navigator !== "undefined" && // Ice.Timer = createTimerObject(); } -else if(typeof WorkerGlobalScope !== 'undefined' && this instanceof WorkerGlobalScope) +else if(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) { // // If we are running in a worker don't spawn a separate worker for the timer |