|
13760 | 13760 | }, |
13761 | 13761 | { |
13762 | 13762 | "case": "\"module\"", |
13763 | | - "html": "<p>If <var>el</var> does not have an <code id=\"script-processing-model:attr-script-integrity-2\"><a href=\"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-integrity\">integrity</a></code>\n attribute, then set <var>options</var>'s <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-script-fetch-options-integrity\" id=\"script-processing-model:concept-script-fetch-options-integrity-2\">integrity metadata</a> to the result of\n <a id=\"script-processing-model:resolving-a-module-integrity-metadata\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#resolving-a-module-integrity-metadata\">resolving a module integrity metadata</a> with <var>url</var> and\n <var>settings object</var>.</p>\n\n <p><a id=\"script-processing-model:fetch-a-module-script-tree\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-module-script-tree\">Fetch an external module script graph</a> given <var>url</var>, <var>settings\n object</var>, <var>options</var>, and <var>onComplete</var>.</p>" |
| 13763 | + "html": "<p>If <var>el</var> does not have an <code id=\"script-processing-model:attr-script-integrity-2\"><a href=\"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-integrity\">integrity</a></code>\n attribute, then set <var>options</var>'s <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-script-fetch-options-integrity\" id=\"script-processing-model:concept-script-fetch-options-integrity-2\">integrity metadata</a> to the result of\n <a id=\"script-processing-model:resolving-a-module-integrity-metadata\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#resolving-a-module-integrity-metadata\">resolving a module integrity metadata</a> with <var>url</var> and <var>settings\n object</var>.</p>\n\n <p><a id=\"script-processing-model:fetch-a-module-script-tree\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-module-script-tree\">Fetch an external module script graph</a> given <var>url</var>, <var>settings\n object</var>, <var>options</var>, and <var>onComplete</var>.</p>" |
13764 | 13764 | } |
13765 | 13765 | ] |
13766 | 13766 | } |
|
30028 | 30028 | { |
30029 | 30029 | "name": "resolve a module integrity metadata", |
30030 | 30030 | "href": "https://html.spec.whatwg.org/multipage/webappapis.html#resolving-a-module-integrity-metadata", |
30031 | | - "html": "To <dfn id=\"resolving-a-module-integrity-metadata\">resolve a module\n integrity metadata</dfn>, given a <a id=\"fetching-scripts:url-2\" href=\"https://url.spec.whatwg.org/#concept-url\" data-x-internal=\"url\">URL</a> <var>url</var> and an <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"fetching-scripts:environment-settings-object-2\">environment\n settings object</a> <var>settingsObject</var>:", |
| 30031 | + "html": "To <dfn id=\"resolving-a-module-integrity-metadata\">resolve a module integrity\n metadata</dfn>, given a <a id=\"fetching-scripts:url-2\" href=\"https://url.spec.whatwg.org/#concept-url\" data-x-internal=\"url\">URL</a> <var>url</var> and an <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"fetching-scripts:environment-settings-object-2\">environment settings\n object</a> <var>settingsObject</var>:", |
30032 | 30032 | "rationale": "assert", |
30033 | 30033 | "steps": [ |
30034 | 30034 | { |
|
30313 | 30313 | { |
30314 | 30314 | "name": "fetch the descendants of and link", |
30315 | 30315 | "href": "https://html.spec.whatwg.org/multipage/webappapis.html#fetch-the-descendants-of-and-link-a-module-script", |
30316 | | - "html": "To <dfn id=\"fetch-the-descendants-of-and-link-a-module-script\">fetch the descendants of and\n link</dfn> a <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#module-script\" id=\"fetching-scripts:module-script-10\">module script</a> <var>moduleScript</var>, given an <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"fetching-scripts:environment-settings-object-16\">environment\n settings object</a> <var>fetchClient</var>, a <a href=\"https://fetch.spec.whatwg.org/#concept-request-destination\" id=\"fetching-scripts:concept-request-destination-8\" data-x-internal=\"concept-request-destination\">destination</a> <var>destination</var>, an\n algorithm <var>onComplete</var>, and an optional <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts-perform-fetch\" id=\"fetching-scripts:fetching-scripts-perform-fetch-7\">perform the fetch hook</a> <var>performFetch</var>, run\n these steps. <var>onComplete</var> must be an algorithm accepting null (on failure) or a\n <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#module-script\" id=\"fetching-scripts:module-script-11\">module script</a> (on success).", |
| 30316 | + "html": "To <dfn id=\"fetch-the-descendants-of-and-link-a-module-script\">fetch the descendants of and\n link</dfn> a <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#module-script\" id=\"fetching-scripts:module-script-10\">module script</a> <var>moduleScript</var>, given an <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"fetching-scripts:environment-settings-object-16\">environment\n settings object</a> <var>fetchClient</var>, a <a href=\"https://fetch.spec.whatwg.org/#concept-request-destination\" id=\"fetching-scripts:concept-request-destination-8\" data-x-internal=\"concept-request-destination\">destination</a> <var>destination</var>, an algorithm\n <var>onComplete</var>, and an optional <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts-perform-fetch\" id=\"fetching-scripts:fetching-scripts-perform-fetch-7\">perform the\n fetch hook</a> <var>performFetch</var>, run these steps. <var>onComplete</var> must be an\n algorithm accepting null (on failure) or a <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#module-script\" id=\"fetching-scripts:module-script-11\">module script</a> (on success).", |
30317 | 30317 | "rationale": "let", |
30318 | 30318 | "steps": [ |
30319 | 30319 | { |
|
30465 | 30465 | "rationale": "assert", |
30466 | 30466 | "steps": [ |
30467 | 30467 | { |
30468 | | - "html": "<p><a id=\"fetching-scripts:assert-3\" href=\"https://infra.spec.whatwg.org/#assert\" data-x-internal=\"assert\">Assert</a>: <var>moduleRequest</var>.[[Attributes]] does not contain any <a id=\"fetching-scripts:record-2\" href=\"https://tc39.es/ecma262/#sec-list-and-record-specification-type\" data-x-internal=\"record\">Record</a>\n <var>entry</var> such that <var>entry</var>.[[Key]] is not \"<code>type</code>\", because\n we only asked for \"<code>type</code>\" attributes in\n <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#hostgetsupportedimportattributes\" id=\"fetching-scripts:hostgetsupportedimportattributes\">HostGetSupportedImportAttributes</a>.</p>" |
| 30468 | + "html": "<p><a id=\"fetching-scripts:assert-3\" href=\"https://infra.spec.whatwg.org/#assert\" data-x-internal=\"assert\">Assert</a>: <var>moduleRequest</var>.[[Attributes]] does not contain any\n <a id=\"fetching-scripts:record-2\" href=\"https://tc39.es/ecma262/#sec-list-and-record-specification-type\" data-x-internal=\"record\">Record</a> <var>entry</var> such that <var>entry</var>.[[Key]] is not \"<code>type</code>\", because we only asked for \"<code>type</code>\" attributes in\n <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#hostgetsupportedimportattributes\" id=\"fetching-scripts:hostgetsupportedimportattributes\">HostGetSupportedImportAttributes</a>.</p>" |
30469 | 30469 | }, |
30470 | 30470 | { |
30471 | 30471 | "html": "<p>Let <var>moduleType</var> be the result of running the <a href=\"https://html.spec.whatwg.org/multipage/webappapis.html#module-type-from-module-request\" id=\"fetching-scripts:module-type-from-module-request-2\">module type from module\n request</a> steps given <var>moduleRequest</var>.</p>" |
@@ -31818,10 +31818,10 @@ |
31818 | 31818 | ] |
31819 | 31819 | }, |
31820 | 31820 | { |
31821 | | - "html": "<p>Let <var>resolveFunction</var> be ! <a id=\"hostgetimportmetaproperties:createbuiltinfunction\" href=\"https://tc39.es/ecma262/#sec-createbuiltinfunction\" data-x-internal=\"createbuiltinfunction\">CreateBuiltinFunction</a>(<var>steps</var>, 1,\n \"<code>resolve</code>\", « »).</p>" |
| 31821 | + "html": "<p>Let <var>resolveFunction</var> be ! <a id=\"hostgetimportmetaproperties:createbuiltinfunction\" href=\"https://tc39.es/ecma262/#sec-createbuiltinfunction\" data-x-internal=\"createbuiltinfunction\">CreateBuiltinFunction</a>(<var>steps</var>,\n 1, \"<code>resolve</code>\", « »).</p>" |
31822 | 31822 | }, |
31823 | 31823 | { |
31824 | | - "html": "<p>Return « <a id=\"hostgetimportmetaproperties:record\" href=\"https://tc39.es/ecma262/#sec-list-and-record-specification-type\" data-x-internal=\"record\">Record</a> { [[Key]]: \"<dfn id=\"import-meta-url\"><code>url</code></dfn>\",\n [[Value]]: <var>urlString</var> }, <a id=\"hostgetimportmetaproperties:record-2\" href=\"https://tc39.es/ecma262/#sec-list-and-record-specification-type\" data-x-internal=\"record\">Record</a> { [[Key]]: \"<dfn id=\"import-meta-resolve\"><code>resolve</code></dfn>\", [[Value]]: <var>resolveFunction</var> }\n ».</p>" |
| 31824 | + "html": "<p>Return « <a id=\"hostgetimportmetaproperties:record\" href=\"https://tc39.es/ecma262/#sec-list-and-record-specification-type\" data-x-internal=\"record\">Record</a> { [[Key]]: \"<dfn id=\"import-meta-url\"><code>url</code></dfn>\", [[Value]]: <var>urlString</var> },\n <a id=\"hostgetimportmetaproperties:record-2\" href=\"https://tc39.es/ecma262/#sec-list-and-record-specification-type\" data-x-internal=\"record\">Record</a> { [[Key]]: \"<dfn id=\"import-meta-resolve\"><code>resolve</code></dfn>\",\n [[Value]]: <var>resolveFunction</var> } ».</p>" |
31825 | 31825 | } |
31826 | 31826 | ] |
31827 | 31827 | }, |
|
0 commit comments