2d.text.measure.selection-rects-exceptions.tentative.html

FAILExpected0 of 1 subtests pass425 ms

Details

Test
/html/canvas/element/text/2d.text.measure.selection-rects-exceptions.tentative.html
Harness
OK

Subtests

StatusSubtestMessage
FAILCheck that TextMetrics::getSelectionRects() throws when using invalid indexes.
assert_throws_dom: function "() => tm.getSelectionRects(text.length + 1, 0)" threw object "TypeError: tm.getSelectionRects is not a function" that is not a DOMException IndexSizeError: property "code"…
assert_throws_dom: function "() => tm.getSelectionRects(text.length + 1, 0)" threw object "TypeError: tm.getSelectionRects is not a function" that is not a DOMException IndexSizeError: property "code"…