mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +00:00
window: inject DocumentHTML instead of Document
This commit is contained in:
@@ -23,7 +23,7 @@ fn execJS(
|
||||
|
||||
// alias global as self and window
|
||||
var window = Window.create(null);
|
||||
window.replaceDocument(parser.documentHTMLToDocument(doc));
|
||||
window.replaceDocument(doc);
|
||||
try js_env.bindGlobal(window);
|
||||
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user