mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
remove manual test parser.init
This commit is contained in:
@@ -121,7 +121,6 @@ const TestContext = struct {
|
|||||||
if (opts.html) |html| {
|
if (opts.html) |html| {
|
||||||
if (bc.session_id == null) bc.session_id = "SID-X";
|
if (bc.session_id == null) bc.session_id = "SID-X";
|
||||||
parser.deinit();
|
parser.deinit();
|
||||||
try parser.init();
|
|
||||||
const page = try bc.session.createPage();
|
const page = try bc.session.createPage();
|
||||||
page.doc = (try Document.init(html)).doc;
|
page.doc = (try Document.init(html)).doc;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user