Pass | Verify isPointInPath throws exceptions with invalid inputs. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(path, 50, 50, 'gazonk'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:29:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(50, 50, 'gazonk'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:30:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(null, 50, 50); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:33:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(null, 50, 50, 'nonzero'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:34:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(null, 50, 50, 'evenodd'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:35:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(null, 50, 50, null); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:36:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(path, 50, 50, null); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:37:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(undefined, 50, 50); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:38:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(undefined, 50, 50, 'nonzero'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:39:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(undefined, 50, 50, 'evenodd'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:40:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath(undefined, 50, 50, undefined); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:41:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath([], 50, 50); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:42:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath([], 50, 50, 'nonzero'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:43:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath([], 50, 50, 'evenodd'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:44:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath({}, 50, 50); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:45:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath({}, 50, 50, 'nonzero'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:46:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { ctx.isPointInPath({}, 50, 50, 'evenodd'); }")
at /html/canvas/element/path-objects/2d.path.isPointInpath.invalid.html:47:3 |
|