dom: expose document.location

This commit is contained in:
Pierre Tachoire
2025-01-23 17:08:02 +01:00
parent 09ba4bcf43
commit 318e2bd1c6
8 changed files with 28 additions and 12 deletions

View File

@@ -98,7 +98,7 @@ fn testExecFn(
// alias global as self and window
var window = Window.create(null, null);
window.replaceDocument(doc);
try window.replaceDocument(doc);
window.setStorageShelf(&storageShelf);
try js_env.bindGlobal(window);