From b223ac4e1f022c9e26ec6a364ad87e70d5b0e03b Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Fri, 21 Jun 2019 11:18:10 -0400 Subject: [PATCH] INTERPRETING.md: Add $262.gc() and "host-gc-required" feature (#2208) --- INTERPRETING.md | 1 + features.txt | 1 + 2 files changed, 2 insertions(+) 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