mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
shell: add missing try
This commit is contained in:
@@ -40,7 +40,7 @@ fn execJS(
|
|||||||
try js_env.start(alloc);
|
try js_env.start(alloc);
|
||||||
defer js_env.stop();
|
defer js_env.stop();
|
||||||
|
|
||||||
js_env.setUserContext(UserContext{
|
try js_env.setUserContext(UserContext{
|
||||||
.document = doc,
|
.document = doc,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user