DescriptionMake HTMLOptionsCollection report TypeErrors.
Switch exceptions to throw TypeError instead of TypeMismatchError when
handling incorrectly typed values over HTMLOptionsCollection methods
and accessors. This aligns behavior with WebIDL, Gecko and Trident.
(Change also includes a drive-by fix to the TextTrackCue constructor
error message.)
R=mkwst
BUG=270033
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162988
Patch Set 1 #
Total comments: 4
Patch Set 2 : Add TextTrackCue() exception handling test #Messages
Total messages: 7 (0 generated)
|