diff options
Diffstat (limited to 'runtime/js/98_global_scope_worker.js')
-rw-r--r-- | runtime/js/98_global_scope_worker.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/js/98_global_scope_worker.js b/runtime/js/98_global_scope_worker.js index 8e292108f..4dc615786 100644 --- a/runtime/js/98_global_scope_worker.js +++ b/runtime/js/98_global_scope_worker.js @@ -58,6 +58,7 @@ const workerNavigator = webidl.createBranded(WorkerNavigator); ObjectDefineProperties(WorkerNavigator.prototype, { gpu: { + __proto__: null, configurable: true, enumerable: true, get() { @@ -67,6 +68,7 @@ ObjectDefineProperties(WorkerNavigator.prototype, { }, }, hardwareConcurrency: { + __proto__: null, configurable: true, enumerable: true, get() { @@ -75,6 +77,7 @@ ObjectDefineProperties(WorkerNavigator.prototype, { }, }, userAgent: { + __proto__: null, configurable: true, enumerable: true, get() { @@ -83,6 +86,7 @@ ObjectDefineProperties(WorkerNavigator.prototype, { }, }, language: { + __proto__: null, configurable: true, enumerable: true, get() { @@ -91,6 +95,7 @@ ObjectDefineProperties(WorkerNavigator.prototype, { }, }, languages: { + __proto__: null, configurable: true, enumerable: true, get() { |