From c91c31fe9345bd7062052d26b6e5994f49d91891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 24 Jun 2020 11:43:21 -0700 Subject: [PATCH] Adjust description for IsHTMLDDA to allow more than one argument (#2674) The following tests call `IsHTMLDDA` with more than one argument: - annexB/built-ins/String/prototype/split/custom-splitter-emulates-undefined.js - annexB/built-ins/String/prototype/replaceAll/custom-replacer-emulates-undefined - annexB/built-ins/String/prototype/replace/custom-replacer-emulates-undefined.js --- INTERPRETING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INTERPRETING.md b/INTERPRETING.md index 7e248dffdf..ea32896ef8 100644 --- a/INTERPRETING.md +++ b/INTERPRETING.md @@ -70,7 +70,7 @@ properties of the global scope prior to test execution. object that: 1. has an [[IsHTMLDDA]] internal slot, and - 2. when called with no arguments or with the single argument `""` (an empty string) returns `null`. + 2. when called with no arguments or with the first argument `""` (an empty string) returns `null`. Note: The peculiar second requirement permits testing algorithms when they also call `document.all` with such arguments, so that testing for correct behavior requires knowing how the call behaves. This is rarely necessary.