From ed07558ccd0a3fb97df4c0fa017ae208489859e9 Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Tue, 1 Oct 2024 03:03:53 +0200 Subject: [PATCH] Editorial: rewrap some source text --- source | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/source b/source index 6d7b20c4cd5..c92960cd1fa 100644 --- a/source +++ b/source @@ -62780,8 +62780,8 @@ document.body.append(script1, script2);

If el does not have an integrity attribute, then set options's integrity metadata to the result of - resolving a module integrity metadata with url and - settings object.

+ resolving a module integrity metadata with url and settings + object.

Fetch an external module script graph given url, settings object, options, and onComplete.

@@ -106618,9 +106618,9 @@ document.querySelector("button").addEventListener("click", bound);
  • Return newOptions.

  • -

    To resolve a module - integrity metadata, given a URL url and an environment - settings object settingsObject:

    +

    To resolve a module integrity + metadata, given a URL url and an environment settings + object settingsObject:

    1. Assert: settingsObject's To fetch the descendants of and link a module script moduleScript, given an environment settings object fetchClient, a destination destination, an - algorithm onComplete, and an optional perform the fetch hook performFetch, run - these steps. onComplete must be an algorithm accepting null (on failure) or a - module script (on success).

      + data-x="concept-request-destination">destination destination, an algorithm + onComplete, and an optional perform the + fetch hook performFetch, run these steps. onComplete must be an + algorithm accepting null (on failure) or a module script (on success).

      1. Let record be moduleScript's module script (on success).

          -
        1. Assert: moduleRequest.[[Attributes]] does not contain any Record - entry such that entry.[[Key]] is not "type", because - we only asked for "type" attributes in +

        2. Assert: moduleRequest.[[Attributes]] does not contain any + Record entry such that entry.[[Key]] is not "type", because we only asked for "type" attributes in HostGetSupportedImportAttributes.

        3. Let moduleType be the result of running the module type from module @@ -109819,16 +109818,17 @@ import "https://example.com/foo/../module2.mjs";

      2. -
      3. Let resolveFunction be ! CreateBuiltinFunction(steps, 1, - "resolve", « »).

      4. +
      5. Let resolveFunction be ! CreateBuiltinFunction(steps, + 1, "resolve", « »).

      6. -
      7. Return « Record { [[Key]]: "url", - [[Value]]: urlString }, Record { [[Key]]: "resolve", [[Value]]: resolveFunction } - ».

      8. +
      9. Return « Record { [[Key]]: "url", [[Value]]: urlString }, + Record { [[Key]]: "resolve", + [[Value]]: resolveFunction } ».

      -
      HostGetSupportedImportAttributes()
      +
      HostGetSupportedImportAttributes()

      The Import Attributes proposal contains an implementation-defined HostGetSupportedImportAttributes