Index: LayoutTests/fast/canvas/script-tests/canvas-createImageData.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js b/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js |
index c3f2cd391a04a63ee7e65bab4ea9f9b25df7479c..ebbf5455f43bbca1980cb6cc50edb2c0c9cf5eaf 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-createImageData.js |
@@ -2,7 +2,7 @@ description("Test canvas createImageData()"); |
ctx = document.createElement('canvas').getContext('2d'); |
-shouldThrow("ctx.createImageData(null)", '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow("ctx.createImageData(null)", '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
// create a 100x50 imagedata and fill it with white pixels |