mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
Fix shell main
This commit is contained in:
@@ -54,7 +54,7 @@ fn execJS(
|
|||||||
defer storageShelf.deinit();
|
defer storageShelf.deinit();
|
||||||
|
|
||||||
// alias global as self and window
|
// alias global as self and window
|
||||||
var window = Window.create(null);
|
var window = Window.create(null, null);
|
||||||
window.replaceDocument(doc);
|
window.replaceDocument(doc);
|
||||||
window.setStorageShelf(&storageShelf);
|
window.setStorageShelf(&storageShelf);
|
||||||
try js_env.bindGlobal(window);
|
try js_env.bindGlobal(window);
|
||||||
|
|||||||
Reference in New Issue
Block a user