diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-07-26 20:52:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 13:52:59 +0200 |
commit | 865d9ddd51dcc8776bf8c3976057e2f29a1a5af2 (patch) | |
tree | ecaf2293a4534726c56722875c628ea14bfad559 /runtime/js/06_util.js | |
parent | df26a3563edd501380d5d5da5138eb67acb06645 (diff) |
refactor: use `primordials` in runtime, extensions and core (#11500)
Diffstat (limited to 'runtime/js/06_util.js')
-rw-r--r-- | runtime/js/06_util.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js index 88c2edc74..b6a3c3438 100644 --- a/runtime/js/06_util.js +++ b/runtime/js/06_util.js @@ -2,8 +2,14 @@ "use strict"; ((window) => { - const { ObjectDefineProperty, StringPrototypeReplace, TypeError, Promise } = - window.__bootstrap.primordials; + const { + ObjectDefineProperty, + StringPrototypeReplace, + TypeError, + Promise, + decodeURIComponent, + Error, + } = window.__bootstrap.primordials; const { build } = window.__bootstrap.build; const { URL } = window.__bootstrap.url; let logDebug = false; |