diff --git a/test-builder/api.ts b/test-builder/api.ts index 99bdc2bd3..d99fa914a 100644 --- a/test-builder/api.ts +++ b/test-builder/api.ts @@ -568,8 +568,8 @@ const buildIDLTests = async (ast, globals, scopes) => { path = `api.${legacyNamespace}.${iface.name}`; } - // Remap WebAssembly API to javascript.builtins.WebAssembly - path = path.replace("api.WebAssembly", "javascript.builtins.WebAssembly"); + // Remap WebAssembly API to webassembly.api + path = path.replace("api.WebAssembly", "webassembly.api"); const members = flattenMembers(iface); if (iface.type === "namespace" && members.length === 0) {