summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/99_main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 59b3a428f..d086a42b2 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -41,6 +41,7 @@ delete Object.prototype.__proto__;
const performance = window.__bootstrap.performance;
const crypto = window.__bootstrap.crypto;
const url = window.__bootstrap.url;
+ const urlPattern = window.__bootstrap.urlPattern;
const headers = window.__bootstrap.headers;
const streams = window.__bootstrap.streams;
const fileReader = window.__bootstrap.fileReader;
@@ -431,8 +432,9 @@ delete Object.prototype.__proto__;
};
const unstableWindowOrWorkerGlobalScope = {
- WebSocketStream: util.nonEnumerable(webSocket.WebSocketStream),
BroadcastChannel: util.nonEnumerable(broadcastChannel.BroadcastChannel),
+ URLPattern: util.nonEnumerable(urlPattern.URLPattern),
+ WebSocketStream: util.nonEnumerable(webSocket.WebSocketStream),
GPU: util.nonEnumerable(webgpu.GPU),
GPUAdapter: util.nonEnumerable(webgpu.GPUAdapter),