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 3f2e70b1ae4fa13a3c8ca9197b7aa44e6dc93a93..f8aa4355531f95f6ac32f9e35c5c85b4fd42b2a9 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";', '"NotSupportedError: Failed to set the \'value\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
+shouldThrow('m.value = "value";', '"TypeError: Failed to set the \'value\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
debug("Set min to NaN"); |
-shouldThrow('m.min = NaN;', '"NotSupportedError: Failed to set the \'min\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
+shouldThrow('m.min = NaN;', '"TypeError: Failed to set the \'min\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
debug("Set max to Infinity"); |
-shouldThrow('m.max = Infinity;', '"NotSupportedError: Failed to set the \'max\' property on \'HTMLMeterElement\': The value provided is infinite."'); |
+shouldThrow('m.max = Infinity;', '"TypeError: Failed to set the \'max\' property on \'HTMLMeterElement\': The value provided is infinite."'); |
debug("Set low to invalid value"); |
-shouldThrow('m.low = "low";', '"NotSupportedError: Failed to set the \'low\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
+shouldThrow('m.low = "low";', '"TypeError: Failed to set the \'low\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
debug("Set high to NaN"); |
-shouldThrow('m.high = NaN;', '"NotSupportedError: Failed to set the \'high\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
+shouldThrow('m.high = NaN;', '"TypeError: Failed to set the \'high\' property on \'HTMLMeterElement\': The value provided is not a number."'); |
debug("Set optimum to Infinity"); |
-shouldThrow('m.optimum = Infinity;', '"NotSupportedError: Failed to set the \'optimum\' property on \'HTMLMeterElement\': The value provided is infinite."'); |
+shouldThrow('m.optimum = Infinity;', '"TypeError: Failed to set the \'optimum\' property on \'HTMLMeterElement\': The value provided is infinite."'); |
debug("Set attributes to valid numbers"); |
m.setAttribute("min", 0); |