Pass | Canvas test: 2d.gradient.object.invalidoffset | Asserts runPass | assert_throws_dom("INDEX_SIZE_ERR", function "function() { g.addColorStop(-1, '#000'); }")
at /html/canvas/element/fill-and-stroke-styles/2d.gradient.object.invalidoffset.html:24:3 | Pass | assert_throws_dom("INDEX_SIZE_ERR", function "function() { g.addColorStop(2, '#000'); }")
at /html/canvas/element/fill-and-stroke-styles/2d.gradient.object.invalidoffset.html:25:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { g.addColorStop(Infinity, '#000'); }")
at /html/canvas/element/fill-and-stroke-styles/2d.gradient.object.invalidoffset.html:26:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { g.addColorStop(-Infinity, '#000'); }")
at /html/canvas/element/fill-and-stroke-styles/2d.gradient.object.invalidoffset.html:27:3 | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { g.addColorStop(NaN, '#000'); }")
at /html/canvas/element/fill-and-stroke-styles/2d.gradient.object.invalidoffset.html:28:3 |
|