Skip to content

Commit

Permalink
Move WebAssembly API to webassembly.api
Browse files Browse the repository at this point in the history
Sister PR to mdn/browser-compat-data#20609.  Merge when that PR is merged.
  • Loading branch information
queengooborg committed Aug 27, 2023
1 parent c7ce93f commit e66dd4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-builder/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e66dd4a

Please sign in to comment.