diff --git a/apps/lightcraft-web/Cargo.toml b/apps/lightcraft-web/Cargo.toml index a5732beeaa..62fb546991 100644 --- a/apps/lightcraft-web/Cargo.toml +++ b/apps/lightcraft-web/Cargo.toml @@ -32,10 +32,14 @@ js-sys = { workspace = true } web-sys = { workspace = true, features = [ "Blob", "BlobPropertyBag", + "CustomEvent", + "CustomEventInit", + "CssStyleDeclaration", "DedicatedWorkerGlobalScope", "Document", "DomStringList", "Element", + "Event", "EventTarget", "File", "FileList", diff --git a/apps/lightcraft-web/src/host.rs b/apps/lightcraft-web/src/host.rs index 4f8eb03bab..b7970dc22e 100644 --- a/apps/lightcraft-web/src/host.rs +++ b/apps/lightcraft-web/src/host.rs @@ -1,6 +1,6 @@ -//! The `postMessage` bridge to a same-origin parent page (`?host=parent`), for pages that embed -//! LightCraft in an `