diff options
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 9b4a9e857..c7faefcdd 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -587,11 +587,15 @@ delete Intl.v8BreakIterator; configurable: true, enumerable: true, get: webStorage.localStorage, + // Makes this reassignable to make astro work + set: () => {}, }, sessionStorage: { configurable: true, enumerable: true, get: webStorage.sessionStorage, + // Makes this reassignable to make astro work + set: () => {}, }, Storage: util.nonEnumerable(webStorage.Storage), }; |