diff --git a/cli/tsc/dts/lib.deno.shared_globals.d.ts b/cli/tsc/dts/lib.deno.shared_globals.d.ts
index ba872ef46e..96790fb665 100644
--- a/cli/tsc/dts/lib.deno.shared_globals.d.ts
+++ b/cli/tsc/dts/lib.deno.shared_globals.d.ts
@@ -15,14 +15,14 @@
///
///
-/** @category WASM */
+/** @category Wasm */
declare namespace WebAssembly {
/**
* The `WebAssembly.CompileError` object indicates an error during WebAssembly decoding or validation.
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/CompileError)
*
- * @category WASM
+ * @category Wasm
*/
export class CompileError extends Error {
/** Creates a new `WebAssembly.CompileError` object. */
@@ -36,7 +36,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Global)
*
- * @category WASM
+ * @category Wasm
*/
export class Global {
/** Creates a new `Global` object. */
@@ -59,7 +59,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance)
*
- * @category WASM
+ * @category Wasm
*/
export class Instance {
/** Creates a new Instance object. */
@@ -79,7 +79,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/LinkError)
*
- * @category WASM
+ * @category Wasm
*/
export class LinkError extends Error {
/** Creates a new WebAssembly.LinkError object. */
@@ -95,7 +95,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory)
*
- * @category WASM
+ * @category Wasm
*/
export class Memory {
/** Creates a new `Memory` object. */
@@ -117,7 +117,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module)
*
- * @category WASM
+ * @category Wasm
*/
export class Module {
/** Creates a new `Module` object. */
@@ -145,7 +145,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/RuntimeError)
*
- * @category WASM
+ * @category Wasm
*/
export class RuntimeError extends Error {
/** Creates a new `WebAssembly.RuntimeError` object. */
@@ -160,7 +160,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Table)
*
- * @category WASM
+ * @category Wasm
*/
export class Table {
/** Creates a new `Table` object. */
@@ -182,7 +182,7 @@ declare namespace WebAssembly {
/** The `GlobalDescriptor` describes the options you can pass to
* `new WebAssembly.Global()`.
*
- * @category WASM
+ * @category Wasm
*/
export interface GlobalDescriptor {
mutable?: boolean;
@@ -192,7 +192,7 @@ declare namespace WebAssembly {
/** The `MemoryDescriptor` describes the options you can pass to
* `new WebAssembly.Memory()`.
*
- * @category WASM
+ * @category Wasm
*/
export interface MemoryDescriptor {
initial: number;
@@ -203,7 +203,7 @@ declare namespace WebAssembly {
/** A `ModuleExportDescriptor` is the description of a declared export in a
* `WebAssembly.Module`.
*
- * @category WASM
+ * @category Wasm
*/
export interface ModuleExportDescriptor {
kind: ImportExportKind;
@@ -213,7 +213,7 @@ declare namespace WebAssembly {
/** A `ModuleImportDescriptor` is the description of a declared import in a
* `WebAssembly.Module`.
*
- * @category WASM
+ * @category Wasm
*/
export interface ModuleImportDescriptor {
kind: ImportExportKind;
@@ -224,7 +224,7 @@ declare namespace WebAssembly {
/** The `TableDescriptor` describes the options you can pass to
* `new WebAssembly.Table()`.
*
- * @category WASM
+ * @category Wasm
*/
export interface TableDescriptor {
element: TableKind;
@@ -234,7 +234,7 @@ declare namespace WebAssembly {
/** The value returned from `WebAssembly.instantiate`.
*
- * @category WASM
+ * @category Wasm
*/
export interface WebAssemblyInstantiatedSource {
/* A `WebAssembly.Instance` object that contains all the exported WebAssembly functions. */
@@ -247,21 +247,21 @@ declare namespace WebAssembly {
module: Module;
}
- /** @category WASM */
+ /** @category Wasm */
export type ImportExportKind = "function" | "global" | "memory" | "table";
- /** @category WASM */
+ /** @category Wasm */
export type TableKind = "anyfunc";
- /** @category WASM */
+ /** @category Wasm */
export type ValueType = "f32" | "f64" | "i32" | "i64";
- /** @category WASM */
+ /** @category Wasm */
export type ExportValue = Function | Global | Memory | Table;
- /** @category WASM */
+ /** @category Wasm */
export type Exports = Record;
- /** @category WASM */
+ /** @category Wasm */
export type ImportValue = ExportValue | number;
- /** @category WASM */
+ /** @category Wasm */
export type ModuleImports = Record;
- /** @category WASM */
+ /** @category Wasm */
export type Imports = Record;
/**
@@ -272,7 +272,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/compile)
*
- * @category WASM
+ * @category Wasm
*/
export function compile(bytes: BufferSource): Promise;
@@ -284,7 +284,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/compileStreaming)
*
- * @category WASM
+ * @category Wasm
*/
export function compileStreaming(
source: Response | Promise,
@@ -301,7 +301,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiate)
*
- * @category WASM
+ * @category Wasm
*/
export function instantiate(
bytes: BufferSource,
@@ -318,7 +318,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiate)
*
- * @category WASM
+ * @category Wasm
*/
export function instantiate(
moduleObject: Module,
@@ -332,7 +332,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiateStreaming)
*
- * @category WASM
+ * @category Wasm
*/
export function instantiateStreaming(
response: Response | PromiseLike,
@@ -346,7 +346,7 @@ declare namespace WebAssembly {
*
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/validate)
*
- * @category WASM
+ * @category Wasm
*/
export function validate(bytes: BufferSource): boolean;
}
diff --git a/tests/specs/run/worker_close_in_wasm_reactions/close_in_wasm_reactions.js b/tests/specs/run/worker_close_in_wasm_reactions/close_in_wasm_reactions.js
index abe5731085..2cb0e4a768 100644
--- a/tests/specs/run/worker_close_in_wasm_reactions/close_in_wasm_reactions.js
+++ b/tests/specs/run/worker_close_in_wasm_reactions/close_in_wasm_reactions.js
@@ -1,6 +1,6 @@
// https://github.com/denoland/deno/issues/12263
// Test for a panic that happens when a worker is closed in the reactions of a
-// WASM async operation.
+// Wasm async operation.
// The minimum valid wasm module, plus two additional zero bytes.
const buffer = new Uint8Array([
diff --git a/tests/specs/run/worker_close_in_wasm_reactions/worker_close_in_wasm_reactions.js b/tests/specs/run/worker_close_in_wasm_reactions/worker_close_in_wasm_reactions.js
index 828320a240..2f62707eff 100644
--- a/tests/specs/run/worker_close_in_wasm_reactions/worker_close_in_wasm_reactions.js
+++ b/tests/specs/run/worker_close_in_wasm_reactions/worker_close_in_wasm_reactions.js
@@ -2,7 +2,7 @@
// https://github.com/denoland/deno/issues/12263
// Test for a panic that happens when a worker is closed in the reactions of a
-// WASM async operation.
+// Wasm async operation.
new Worker(
import.meta.resolve("./close_in_wasm_reactions.js"),
diff --git a/tests/testdata/workers/close_in_wasm_reactions.js b/tests/testdata/workers/close_in_wasm_reactions.js
index abe5731085..2cb0e4a768 100644
--- a/tests/testdata/workers/close_in_wasm_reactions.js
+++ b/tests/testdata/workers/close_in_wasm_reactions.js
@@ -1,6 +1,6 @@
// https://github.com/denoland/deno/issues/12263
// Test for a panic that happens when a worker is closed in the reactions of a
-// WASM async operation.
+// Wasm async operation.
// The minimum valid wasm module, plus two additional zero bytes.
const buffer = new Uint8Array([
diff --git a/tests/unit/wasm_test.ts b/tests/unit/wasm_test.ts
index e0db41ed0e..8ee9392f93 100644
--- a/tests/unit/wasm_test.ts
+++ b/tests/unit/wasm_test.ts
@@ -32,7 +32,7 @@ Deno.test(async function wasmInstantiateWorksWithBuffer() {
});
// V8's default implementation of `WebAssembly.instantiateStreaming()` if you
-// don't set the WASM streaming callback, is to take a byte source. Here we
+// don't set the Wasm streaming callback, is to take a byte source. Here we
// check that our implementation of the callback disallows it.
Deno.test(
async function wasmInstantiateStreamingFailsWithBuffer() {
@@ -95,7 +95,7 @@ Deno.test(
Deno.test(
{ permissions: { net: true } },
async function wasmStreamingNonTrivial() {
- // deno-dom's WASM file is a real-world non-trivial case that gave us
+ // deno-dom's Wasm file is a real-world non-trivial case that gave us
// trouble when implementing this.
await WebAssembly.instantiateStreaming(fetch(
"http://localhost:4545/assets/deno_dom_0.1.3-alpha2.wasm",