|
5 | 5 | }, |
6 | 6 | "algorithms": [ |
7 | 7 | { |
8 | | - "name": "WebAssembly/instantiateStreaming(source, importObject)", |
| 8 | + "name": "WebAssembly/instantiateStreaming(source, importObject, options)", |
9 | 9 | "href": "https://webassembly.github.io/spec/web-api/#dom-webassembly-instantiatestreaming", |
10 | | - "html": "The <dfn class=\"dfn-paneled idl-code has-dfn-panel\" data-dfn-for=\"WebAssembly\" data-dfn-type=\"method\" data-export=\"\" data-lt=\"instantiateStreaming(source, importObject)|instantiateStreaming(source)\" id=\"dom-webassembly-instantiatestreaming\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\"><code>instantiateStreaming(<var>source</var>, <var>importObject</var>)</code></dfn> method, when invoked, performs the following steps:", |
| 10 | + "html": "The <dfn class=\"dfn-paneled idl-code has-dfn-panel\" data-dfn-for=\"WebAssembly\" data-dfn-type=\"method\" data-export=\"\" data-lt=\"instantiateStreaming(source, importObject, options)|instantiateStreaming(source, importObject)|instantiateStreaming(source)\" id=\"dom-webassembly-instantiatestreaming\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\"><code>instantiateStreaming(<var>source</var>, <var>importObject</var>, <var>options</var>)</code></dfn> method, when invoked, performs the following steps:", |
11 | 11 | "rationale": ".algorithm", |
12 | 12 | "steps": [ |
13 | 13 | { |
14 | | - "html": "<p>Let <var>promiseOfModule</var> be the result of <a data-link-type=\"dfn\" href=\"https://webassembly.github.io/spec/web-api/#compile-a-potential-webassembly-response\" id=\"ref-for-compile-a-potential-webassembly-response①\">compiling a potential WebAssembly response</a> with <var>source</var>.</p>" |
| 14 | + "html": "<p>Let <var>promiseOfModule</var> be the result of <a data-link-type=\"dfn\" href=\"https://webassembly.github.io/spec/web-api/#compile-a-potential-webassembly-response\" id=\"ref-for-compile-a-potential-webassembly-response①\">compiling a potential WebAssembly response</a> with <var>source</var> using <var>options</var>.</p>" |
15 | 15 | }, |
16 | 16 | { |
17 | 17 | "html": "<p>Return the result of <a data-link-type=\"dfn\" href=\"https://webassembly.github.io/spec/js-api/#instantiate-a-promise-of-a-module\" id=\"ref-for-instantiate-a-promise-of-a-module\">instantiating the promise of a module</a> <var>promiseOfModule</var> with imports <var>importObject</var>.</p>" |
|
21 | 21 | { |
22 | 22 | "name": "compile a potential WebAssembly response", |
23 | 23 | "href": "https://webassembly.github.io/spec/web-api/#compile-a-potential-webassembly-response", |
24 | | - "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"compile-a-potential-webassembly-response\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">compile a potential WebAssembly response</dfn> with a promise of a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://fetch.spec.whatwg.org/#response\" id=\"ref-for-response②\">Response</a></code> <var>source</var>, perform the following steps:", |
| 24 | + "html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"compile-a-potential-webassembly-response\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">compile a potential WebAssembly response</dfn> with a promise of a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://fetch.spec.whatwg.org/#response\" id=\"ref-for-response②\">Response</a></code> <var>source</var> and <code class=\"idl\"><u class=\"link-error\" data-lt=\"WebAssemblyCompileOptions\" title=\"LINK ERROR: No 'idl' refs found for 'WebAssemblyCompileOptions'.\">WebAssemblyCompileOptions</u></code> <var>options</var>, perform the following steps:", |
25 | 25 | "rationale": ".algorithm", |
26 | 26 | "steps": [ |
27 | 27 | { |
|
63 | 63 | "html": "<p>Let <var>stableBytes</var> be a <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy\" id=\"ref-for-dfn-get-buffer-source-copy\">copy of the bytes held by the buffer</a> <var>bodyArrayBuffer</var>.</p>" |
64 | 64 | }, |
65 | 65 | { |
66 | | - "html": "<p><a data-link-type=\"dfn\" href=\"https://webassembly.github.io/spec/js-api/#asynchronously-compile-a-webassembly-module\" id=\"ref-for-asynchronously-compile-a-webassembly-module\">Asynchronously compile the WebAssembly module</a> <var>stableBytes</var> using the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#networking-task-source\" id=\"ref-for-networking-task-source\">networking task source</a> and <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#resolve\" id=\"ref-for-resolve\">resolve</a> <var>returnValue</var> with the result.</p>" |
| 66 | + "html": "<p><a data-link-type=\"dfn\" href=\"https://webassembly.github.io/spec/js-api/#asynchronously-compile-a-webassembly-module\" id=\"ref-for-asynchronously-compile-a-webassembly-module\">Asynchronously compile the WebAssembly module</a> <var>stableBytes</var> using the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#networking-task-source\" id=\"ref-for-networking-task-source\">networking task source</a> and <var>options</var> and <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#resolve\" id=\"ref-for-resolve\">resolve</a> <var>returnValue</var> with the result.</p>" |
67 | 67 | } |
68 | 68 | ] |
69 | 69 | }, |
|
0 commit comments