Index: LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt |
diff --git a/LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt b/LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt |
index af67a06e66c80b7721cdd94d3b3a503296f00ea1..6c80b0dd4d26c148d7f552fbc617e14fcc2aa288 100644 |
--- a/LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt |
+++ b/LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt |
@@ -11,11 +11,11 @@ NotSupportedError exception tests |
PASS context.addHitRegion() threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
PASS context.addHitRegion({ id : '' }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
PASS context.addHitRegion({ id : undefined }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
-PASS context.addHitRegion({ control : {} }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
+PASS context.addHitRegion({ control : {} }) threw exception TypeError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member control is not of type Element.. |
PASS context.addHitRegion({ control : null }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
PASS context.addHitRegion({ control : undefined }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
-PASS context.addHitRegion({ id : '', control : {} }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
-PASS context.addHitRegion({ id : undefined, control : {} }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
+PASS context.addHitRegion({ id : '', control : {} }) threw exception TypeError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member control is not of type Element.. |
+PASS context.addHitRegion({ id : undefined, control : {} }) threw exception TypeError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': member control is not of type Element.. |
PASS context.addHitRegion({ id : '', control : null }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
PASS context.addHitRegion({ id : undefined, control : null }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |
PASS context.addHitRegion({ id : '', control : undefined }) threw exception NotSupportedError: Failed to execute 'addHitRegion' on 'CanvasRenderingContext2D': Both id and control are null.. |