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