DescriptionHave document.evaluate() report TypeError over incorrect resolvers.
Switch from reporting TypeMismatchError to TypeError to align with
other implementations (and WebIDL) when faced with resolver arguments
that do not have a function type.
To help format the error message about an incorrectly typed argument,
introduced ExceptionMessages::incorrectArgumentType().
R=
BUG=270033
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163533
Patch Set 1 #
Total comments: 1
Patch Set 2 : The detail argument is no longer optional. #
Messages
Total messages: 5 (0 generated)
|