| Index: LayoutTests/canvas/philip/tests/2d.imageData.put.null.html
|
| diff --git a/LayoutTests/canvas/philip/tests/2d.imageData.put.null.html b/LayoutTests/canvas/philip/tests/2d.imageData.put.null.html
|
| index 85f23a6310255a957b462d0a9c9bc5b13df34c82..42f09051149c84720623b36197819e73932d3813 100644
|
| --- a/LayoutTests/canvas/philip/tests/2d.imageData.put.null.html
|
| +++ b/LayoutTests/canvas/philip/tests/2d.imageData.put.null.html
|
| @@ -14,7 +14,7 @@ _addTest(function(canvas, ctx) {
|
|
|
| try { var _thrown = false;
|
| ctx.putImageData(null, 0, 0);
|
| -} catch (e) { if (e.code != DOMException.TYPE_MISMATCH_ERR) _fail("Failed assertion: expected exception of type TYPE_MISMATCH_ERR, got: "+e.message); _thrown = true; } finally { _assert(_thrown, "should throw exception of type TYPE_MISMATCH_ERR: ctx.putImageData(null, 0, 0)"); }
|
| +} catch (e) { if (e.name != "TypeError") _fail("Failed assertion: expected exception of type TypeError, got: "+e.name); _thrown = true; } finally { _assert(_thrown, "should throw exception of type TypeError: ctx.putImageData(null, 0, 0)"); }
|
|
|
|
|
| });
|
|
|