Preserve advertised metadata in web provider fallback
This commit is contained in:
parent
4bee5c8504
commit
46de0bd309
9 changed files with 103 additions and 16 deletions
|
|
@ -1145,7 +1145,15 @@
|
|||
"expectedSourceSymbols": [
|
||||
{
|
||||
"path": "web/surface.js",
|
||||
"contains": ["loadLocalProviderCatalog", "loadProviderAdvertisement", "publishCommandIntent", "browser.reference"]
|
||||
"contains": ["loadLocalProviderCatalog", "loadProviderAdvertisement", "mergeProviderAdvertisement", "publishCommandIntent", "browser.reference"]
|
||||
},
|
||||
{
|
||||
"path": "web/provider-advertisements.mjs",
|
||||
"contains": ["mergeProviderAdvertisement", "mergeProviderSurface", "findProviderCatalogEntry"]
|
||||
},
|
||||
{
|
||||
"path": "web/provider-advertisements.test.mjs",
|
||||
"contains": ["preserves Sai required and optional nested plugin requirements from advertisement", "merges local fixture transport with advertised Aetheria world interaction", "requiresPlugins", "worldInteraction", "optional-nested", "aetheria.daemon.commands"]
|
||||
},
|
||||
{
|
||||
"path": "web/local-provider-catalog.json",
|
||||
|
|
@ -1181,6 +1189,7 @@
|
|||
"evidencePaths": [
|
||||
"web/index.html",
|
||||
"web/surface.js",
|
||||
"web/provider-advertisements.mjs",
|
||||
"packages/eve-browser-lowering/src/index.ts"
|
||||
],
|
||||
"pendingProofs": [
|
||||
|
|
@ -1193,6 +1202,7 @@
|
|||
"command": "node --test web/eve-dsl.test.mjs && npm --prefix packages/eve-browser-lowering test && powershell -ExecutionPolicy Bypass -File .\\scripts\\run-parity-harness.ps1",
|
||||
"evidencePaths": [
|
||||
"web/eve-dsl.test.mjs",
|
||||
"web/provider-advertisements.test.mjs",
|
||||
"packages/eve-browser-lowering/test/browser-lowering.test.mjs",
|
||||
"tools/parity/parity-manifest.json",
|
||||
"scripts/run-parity-harness.ps1"
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ function createStaticServer(root) {
|
|||
const types = {
|
||||
".html": "text/html; charset=utf-8",
|
||||
".js": "text/javascript; charset=utf-8",
|
||||
".mjs": "text/javascript; charset=utf-8",
|
||||
".css": "text/css; charset=utf-8",
|
||||
".json": "application/json; charset=utf-8",
|
||||
".eve": "text/plain; charset=utf-8",
|
||||
|
|
|
|||
Loading…
Reference in a new issue