Index: LayoutTests/fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js |
diff --git a/LayoutTests/fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js b/LayoutTests/fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js |
index dfaca69a776a7787f4604a27305f4b94d718ec54..f1d6c83bb2f5dee1dce74cf2cb77c78f855afb02 100644 |
--- a/LayoutTests/fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js |
+++ b/LayoutTests/fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js |
@@ -77,22 +77,22 @@ shouldBe("m.high", "200.0"); |
shouldBe("m.optimum", "12.5"); |
debug("Set value to invalid value"); |
-shouldThrow('m.value = "value";', '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow('m.value = "value";', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
debug("Set min to NaN"); |
-shouldThrow('m.min = NaN;', '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow('m.min = NaN;', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
debug("Set max to Infinity"); |
-shouldThrow('m.max = Infinity;', '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow('m.max = Infinity;', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
debug("Set low to invalid value"); |
-shouldThrow('m.low = "low";', '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow('m.low = "low";', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
debug("Set high to NaN"); |
-shouldThrow('m.high = NaN;', '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow('m.high = NaN;', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
debug("Set optimum to Infinity"); |
-shouldThrow('m.optimum = Infinity;', '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow('m.optimum = Infinity;', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
debug("Set attributes to valid numbers"); |
m.setAttribute("min", 0); |