mirror of https://github.com/tc39/test262.git
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:
parent
9dbaa95aed
commit
c91c31fe93
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue