mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat(skin): connect v4 runtime prototype to WebClient
This commit is contained in:
1 parent
7993b38eee
commit
7650bd650b
14 files changed
+683
-49
No files matched your search
@@ -50,6 +50,10 @@ test("v4 plugin descriptors recognize Wasm entries and reject a runtime/file mis
|
||||
() => parseSkinRuntimePluginDocument(document([{ ...plugin, runtime: "native" }]) as never),
|
||||
(error: unknown) => error instanceof SkinRuntimePluginValidationError && error.code === "SKIN_RUNTIME_PLUGIN_RUNTIME_INVALID",
|
||||
);
|
||||
assert.throws(
|
||||
() => parseSkinRuntimePluginDocument(document([{ ...plugin, permissions: ["ui.surface.replace"] }]) as never),
|
||||
(error: unknown) => error instanceof SkinRuntimePluginValidationError && error.code === "SKIN_RUNTIME_PLUGIN_PERMISSION_INVALID",
|
||||
);
|
||||
});
|
||||
|
||||
test("surface replacement is an explicit page-scoped plugin capability", () => {
|
||||
|
||||
Reference in new issue
Block a user