From 52c6a61e3b35b75453c75c7e5cbf76ae12cedeeb Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 24 Mar 2021 09:18:02 -0700 Subject: [PATCH] Editorial: add "Legacy" section (#2125) - co-opts prose from Annex B description - dfn legacy and add emu-not-ref where appropriate - use dash in IDs - don't legacy; clauses are what is legacy Co-authored-by: Jordan Harband Co-authored-by: Michael Ficarra --- spec.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/spec.html b/spec.html index 298964b4cd3..9fc89c25e36 100644 --- a/spec.html +++ b/spec.html @@ -128,8 +128,17 @@

Conformance

A conforming implementation of ECMAScript must not implement any extension that is listed as a Forbidden Extension in subclause .

A conforming implementation of ECMAScript must not redefine any facilities that are not implementation-defined, implementation-approximated, or host-defined.

A conforming implementation of ECMAScript may choose to implement or not implement Normative Optional subclauses. If any Normative Optional behaviour is implemented, all of the behaviour in the containing Normative Optional clause must be implemented. A Normative Optional clause is denoted in this specification with the words "Normative Optional" in a coloured box, as shown below.

- -

Example Clause Heading

+ +

Example Normative Optional Clause Heading

+

Example clause contents.

+
+

A conforming implementation of ECMAScript must implement Legacy subclauses, unless they are also marked as Normative Optional. All of the language features and behaviours specified within Legacy subclauses have one or more undesirable characteristics. However, their continued usage in existing applications prevents their removal from this specification. These features are not considered part of the core ECMAScript language. Programmers should not use or assume the existence of these features and behaviours when writing new ECMAScript code.

+ +

Example Legacy Clause Heading

+

Example clause contents.

+
+ +

Example Legacy Normative Optional Clause Heading

Example clause contents.