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
This commit is contained in:
André Bargull 2020-06-24 11:43:21 -07:00 committed by GitHub
parent 9dbaa95aed
commit c91c31fe93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.