2d.path.arc.negative

arc() with negative radius throws INDEX_SIZE_ERR

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
Passarc() with negative radius throws INDEX_SIZE_ERR
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() { ctx.arc(0, 0, -1, 0, 0, true); }")
    at Test.<anonymous> ( /html/canvas/offscreen/path-objects/2d.path.arc.negative.html:24:3)
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() { path.arc(10, 10, -5, 0, 1, false); }")
    at Test.<anonymous> ( /html/canvas/offscreen/path-objects/2d.path.arc.negative.html:26:3)