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
- - active function object
- - agent and
- agent cluster
- - automatic semicolon insertion
- - The current Realm Record
- - early error
- - invariants of the essential internal methods
- - JavaScript execution context
- - JavaScript execution context stack
- - JavaScript realm
- - running JavaScript execution context
- - surrounding agent
- - Well-Known Symbols, including
+
- active function object
+ - agent and
+ agent cluster
+ - automatic semicolon insertion
+ - The current Realm Record
+ - early error
+ - invariants of the essential internal methods
+ - JavaScript execution context
+ - JavaScript execution context stack
+ - JavaScript realm
+ - running JavaScript execution context
+ - surrounding agent
+ - Well-Known Symbols, including
@@hasInstance,
@@isConcatSpreadable,
@@toPrimitive, and
@@toStringTag
- - Well-Known Intrinsic Objects, including
- %ArrayPrototype%,
- %ErrorPrototype%,
+
- Well-Known Intrinsic Objects, including
+ %ArrayPrototype%,
+ %ErrorPrototype%,
%EvalErrorPrototype%,
- %JSONParse%,
- %ObjProto_valueOf%,
+ %JSONParse%,
+ %ObjProto_valueOf%,
%RangeErrorPrototype%,
%ReferenceErrorPrototype%,
%SyntaxErrorPrototype%,
%TypeErrorPrototype%, and
%URIErrorPrototype%
- - The FunctionBody production
- - The Module production
- - The Pattern production
- - The Script production
-
- - The Type notation
- - The Completion Record specification type
- - The List and
- Record specification types
- - The Property Descriptor specification type
- - The Script Record specification type
- - The Cyclic Module Record specification type
- - The Source Text Module Record specification type and its
- Evaluate and
- Link methods
-
- - The ArrayCreate abstract operation
- - The Call abstract operation
- - The Construct abstract operation
- - The CopyDataBlockBytes abstract operation
- - The CreateByteDataBlock abstract operation
- - The CreateDataProperty abstract operation
- - The DetachArrayBuffer abstract operation
- - The EnqueueJob abstract operation
- - The EnumerableOwnProperties abstract operation
- - The FunctionCreate abstract operation
- - The Get abstract operation
- - The GetActiveScriptOrModule abstract operation
- - The GetFunctionRealm abstract operation
- - The HasOwnProperty abstract operation
- - The HostEnsureCanCompileStrings abstract operation
- - The HostPromiseRejectionTracker abstract operation
- - The HostResolveImportedModule abstract operation
- - The InitializeHostDefinedRealm abstract operation
- - The IsAccessorDescriptor abstract operation
- - The IsCallable abstract operation
- - The IsConstructor abstract operation
- - The IsDataDescriptor abstract operation
- - The IsDetachedBuffer abstract operation
- - The IsSharedArrayBuffer abstract operation
- - The NewObjectEnvironment abstract operation
- - The NormalCompletion abstract operation
+ - The FunctionBody production
+ - The Module production
+ - The Pattern production
+ - The Script production
+
+ - The Type notation
+ - The Completion Record specification type
+ - The List and
+ Record specification types
+ - The Property Descriptor specification type
+ - The Script Record specification type
+ - The Cyclic Module Record specification type
+ - The Source Text Module Record specification type and its
+ Evaluate and
+ Link methods
+
+ - The ArrayCreate abstract operation
+ - The Call abstract operation
+ - The Construct abstract operation
+ - The CopyDataBlockBytes abstract operation
+ - The CreateByteDataBlock abstract operation
+ - The CreateDataProperty abstract operation
+ - The DetachArrayBuffer abstract operation
+ - The EnqueueJob abstract operation
+ - The EnumerableOwnProperties abstract operation
+ - The FinishDynamicImport abstract operation
+ - The FunctionCreate abstract operation
+ - The Get abstract operation
+ - The GetActiveScriptOrModule abstract operation
+ - The GetFunctionRealm abstract operation
+ - The HasOwnProperty abstract operation
+ - The HostEnsureCanCompileStrings abstract operation
+ - The HostImportModuleDynamically abstract operation
+ - The HostPromiseRejectionTracker abstract operation
+ - The HostResolveImportedModule abstract operation
+ - The InitializeHostDefinedRealm abstract operation
+ - The IsAccessorDescriptor abstract operation
+ - The IsCallable abstract operation
+ - The IsConstructor abstract operation
+ - The IsDataDescriptor abstract operation
+ - The IsDetachedBuffer abstract operation
+ - The IsSharedArrayBuffer abstract operation
+ - The NewObjectEnvironment abstract operation
+ - The NormalCompletion abstract operation
- - The OrdinaryGetPrototypeOf abstract operation
- - The OrdinarySetPrototypeOf abstract operation
- - The OrdinaryIsExtensible abstract operation
- - The OrdinaryPreventExtensions abstract operation
- - The OrdinaryGetOwnProperty abstract operation
- - The OrdinaryDefineOwnProperty abstract operation
- - The OrdinaryGet abstract operation
- - The OrdinarySet abstract operation
- - The OrdinaryDelete abstract operation
- - The OrdinaryOwnPropertyKeys abstract operation
- - The ObjectCreate abstract operation
- - The ParseModule abstract operation
- - The ParseScript abstract operation
- - The RunJobs abstract operation
- - The SameValue abstract operation
- - The ScriptEvaluation abstract operation
- - The SetImmutablePrototype abstract operation
- - The ToBoolean abstract operation
- - The ToString abstract operation
- - The ToUint32 abstract operation
- - The TypedArrayCreate abstract operation
-
- - The Abstract Equality Comparison algorithm
- - The Strict Equality Comparison algorithm
- - The
Date
class
- - The
SharedArrayBuffer
class
- - The
TypeError
class
- - The
RangeError
class
- - The
eval()
function
- - The [[IsHTMLDDA]] internal slot
- - The
typeof
operator
- - The
delete
operator
- - The TypedArray Constructors table
-
-
- User agents that support JavaScript must also implement the import() proposal.
- The following terms are defined there, and used in this specification:
-
-
- import()
- - The HostImportModuleDynamically abstract operation
- - The FinishDynamicImport abstract operation
+ - The OrdinaryGetPrototypeOf abstract operation
+ - The OrdinarySetPrototypeOf abstract operation
+ - The OrdinaryIsExtensible abstract operation
+ - The OrdinaryPreventExtensions abstract operation
+ - The OrdinaryGetOwnProperty abstract operation
+ - The OrdinaryDefineOwnProperty abstract operation
+ - The OrdinaryGet abstract operation
+ - The OrdinarySet abstract operation
+ - The OrdinaryDelete abstract operation
+ - The OrdinaryOwnPropertyKeys abstract operation
+ - The ObjectCreate abstract operation
+ - The ParseModule abstract operation
+ - The ParseScript abstract operation
+ - The RunJobs abstract operation
+ - The SameValue abstract operation
+ - The ScriptEvaluation abstract operation
+ - The SetImmutablePrototype abstract operation
+ - The ToBoolean abstract operation
+ - The ToString abstract operation
+ - The ToUint32 abstract operation
+ - The TypedArrayCreate abstract operation
+
+ - The Abstract Equality Comparison algorithm
+ - The Strict Equality Comparison algorithm
+ - The
Date
class
+ - The
SharedArrayBuffer
class
+ - The
TypeError
class
+ - The
RangeError
class
+ - The
eval()
function
+ - The [[IsHTMLDDA]] internal slot
+ import()
+ - The
typeof
operator
+ - The
delete
operator
+ - The TypedArray Constructors table
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>
- import.meta
- - The HostGetImportMetaProperties abstract operation
+ import.meta
+ - The HostGetImportMetaProperties abstract operation
+ 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:
Let settings object be the current settings object.
@@ -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: [
]
Let settings object be the current settings object.
@@ -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.