From ec1fce58d93de61462ddf0c9e9c58e6e844d2230 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 13 Apr 2021 18:20:05 +0800 Subject: fix(core): remove wasm-test-streaming flag (#10158) --- cli/dts/lib.deno.shared_globals.d.ts | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'cli/dts/lib.deno.shared_globals.d.ts') diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts index d96d06830..e3fd2bf60 100644 --- a/cli/dts/lib.deno.shared_globals.d.ts +++ b/cli/dts/lib.deno.shared_globals.d.ts @@ -192,7 +192,7 @@ declare namespace WebAssembly { maximum?: number; } - /** The value returned from `WebAssembly.instantiate` and `WebAssembly.instantiateStreaming`. */ + /** The value returned from `WebAssembly.instantiate`. */ export interface WebAssemblyInstantiatedSource { /* A `WebAssembly.Instance` object that contains all the exported WebAssembly functions. */ instance: Instance; @@ -223,18 +223,6 @@ declare namespace WebAssembly { */ export function compile(bytes: BufferSource): Promise; - /** - * The `WebAssembly.compileStreaming()` function compiles a `WebAssembly.Module` - * directly from a streamed underlying source. This function is useful if it - * is necessary to a compile a module before it can be instantiated (otherwise, - * the `WebAssembly.instantiateStreaming()` function should be used). - * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/compileStreaming) - */ - export function compileStreaming( - source: Response | Promise, - ): Promise; - /** * The WebAssembly.instantiate() function allows you to compile and instantiate * WebAssembly code. @@ -266,18 +254,6 @@ declare namespace WebAssembly { importObject?: Imports, ): Promise; - /** - * The `WebAssembly.instantiateStreaming()` function compiles and instantiates a - * WebAssembly module directly from a streamed underlying source. This is the most - * efficient, optimized way to load WebAssembly code. - * - * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiateStreaming) - */ - export function instantiateStreaming( - response: Response | PromiseLike, - importObject?: Imports, - ): Promise; - /** * The `WebAssembly.validate()` function validates a given typed array of * WebAssembly binary code, returning whether the bytes form a valid wasm -- cgit v1.2.3