diff --git a/INTERPRETING.md b/INTERPRETING.md index 377fcf5c3b..6aa16fadbd 100644 --- a/INTERPRETING.md +++ b/INTERPRETING.md @@ -63,6 +63,7 @@ properties of the global scope prior to test execution. 5. Let status be ScriptEvaluation(s). 6. Return Completion(status). + - **`gc`** - a function that wraps the host's garbage collection invocation mechanism, if such a capability exists. Must throw an exception if no capability exists. This is necessary for testing the semantics of any feature that relies on garbage collection, e.g. the `WeakRef` API. - **`global`** - a reference to the global object on which `$262` was initially defined - **`IsHTMLDDA`** - (present only in implementations that can provide it) an object that 1) has an [[IsHTMLDDA]] internal slot, and 2) when called with diff --git a/features.txt b/features.txt index 68c459cb24..26df0d6982 100644 --- a/features.txt +++ b/features.txt @@ -218,3 +218,4 @@ WeakSet # object, go here. IsHTMLDDA +host-gc-required