From 5b526e5d1734ddb6ef4c5ee7b59a5f45e70a38e5 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 29 Sep 2021 10:42:32 +0200 Subject: [PATCH] feat: stabilize URLPattern API (#12256) --- runtime/js/99_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index b16fabe8ad..9bbc069719 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -395,6 +395,7 @@ delete Object.prototype.__proto__; TextEncoderStream: util.nonEnumerable(encoding.TextEncoderStream), TransformStream: util.nonEnumerable(streams.TransformStream), URL: util.nonEnumerable(url.URL), + URLPattern: util.nonEnumerable(urlPattern.URLPattern), URLSearchParams: util.nonEnumerable(url.URLSearchParams), WebSocket: util.nonEnumerable(webSocket.WebSocket), MessageChannel: util.nonEnumerable(messagePort.MessageChannel), @@ -435,7 +436,6 @@ delete Object.prototype.__proto__; const unstableWindowOrWorkerGlobalScope = { BroadcastChannel: util.nonEnumerable(broadcastChannel.BroadcastChannel), - URLPattern: util.nonEnumerable(urlPattern.URLPattern), WebSocketStream: util.nonEnumerable(webSocket.WebSocketStream), GPU: util.nonEnumerable(webgpu.GPU),