From 6227b7e91913d21157a1265f6e294a7a89f916c4 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Thu, 22 Aug 2019 15:36:23 -0400 Subject: [PATCH] Editorial: update some JavaScript spec references * Use the new tc39.es URLs instead of tc39.github.io. * Reference ECMA-262 for dynamic import, instead of the separate import() proposal. * Move the requirement about implementing ECMAScript Internationalization API down to be a sibling of other related repos. --- source | 228 +++++++++++++++++++++++++++------------------------------ 1 file changed, 109 insertions(+), 119 deletions(-) diff --git a/source b/source index 8d733840cef..7c580a56cdc 100644 --- a/source +++ b/source @@ -2992,9 +2992,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

Some parts of the language described by this specification only support JavaScript as the underlying scripting language.

-

Users agents that support JavaScript must also implement ECMAScript - Internationalization API.

-

The term "JavaScript" is used to refer to ECMA-262, rather than the official term ECMAScript, since the term JavaScript is more widely known. Similarly, the MIME type used to refer to JavaScript in this specification is

- -

User agents that support JavaScript must also implement the import() proposal. - The following terms are defined there, and used in this specification:

- -

User agents that support JavaScript must also implement the import.meta @@ -3127,10 +3118,13 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute spec=JSIMPORTMETA>

+

Users agents that support JavaScript must also implement ECMAScript + Internationalization API.

+

User agents that support JavaScript must also implement the BigInt proposal.

@@ -90102,9 +90096,8 @@ import "https://example.com/foo/../module2.mjs";
specifier)

JavaScript contains an implementation-defined HostResolveImportedModule abstract operation, very - slightly updated by the import() proposal. User agents must use the following - implementation:

+ data-x="js-HostResolveImportedModule">HostResolveImportedModule abstract operation. User + agents must use the following implementation:

  1. Let settings object be the current settings object.

  2. @@ -90171,9 +90164,9 @@ import "https://example.com/foo/../module2.mjs";
    HostImportModuleDynamically(referencingScriptOrModule, specifier, promiseCapability)
    -

    The import() proposal contains an implementation-defined JavaScript contains an implementation-defined HostImportModuleDynamically abstract operation. - User agents must use the following implementation:

    + User agents must use the following implementation:

    1. Let settings object be the current settings object.

    2. @@ -123278,7 +123271,7 @@ INSERT INTERFACES HERE
      (Non-normative) ISO8601: Data elements and interchange formats — Information interchange — Representation of dates and times. ISO.
      [JAVASCRIPT]
      -
      ECMAScript Language Specification. Ecma International.
      +
      ECMAScript Language Specification. Ecma International.
      [JLREQ]
      Requirements for Japanese Text Layout. W3C.
      @@ -123287,19 +123280,16 @@ INSERT INTERFACES HERE
      JPEG File Interchange Format, E. Hamilton.
      [JSBIGINT]
      -
      BigInt. Ecma International.
      +
      BigInt. Ecma International.
      [JSERRORSTACKS]
      (Non-normative) Error Stacks. Ecma International.
      -
      [JSIMPORT]
      -
      import(). Ecma International.
      -
      [JSIMPORTMETA]
      -
      import.meta. Ecma International.
      +
      import.meta. Ecma International.
      [JSINTL]
      -
      ECMAScript Internationalization API Specification. Ecma International.
      +
      ECMAScript Internationalization API Specification. Ecma International.
      [JSON]
      The JavaScript Object Notation (JSON) Data Interchange Format, T. Bray. IETF.