Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / HTMLProgressElement / script-tests / set-progress-properties.js
index f1a4275..bd6d9af 100644 (file)
@@ -27,16 +27,16 @@ shouldBe('p.value', '0');
 shouldBe('p.position', '0');
 
 debug("Set invalid value, should throw");
-shouldThrow('p.value = "200A";', '"TypeError: Failed to set the \'value\' property on \'HTMLProgressElement\': The value provided is not a number."');
+shouldThrow('p.value = "200A";');
 
 debug("Set invalid max, should throw");
-shouldThrow('p.max = "max";', '"TypeError: Failed to set the \'max\' property on \'HTMLProgressElement\': The value provided is not a number."');
+shouldThrow('p.max = "max";');
 
 debug("Set max to Infinity, should throw");
-shouldThrow('p.max = Infinity;', '"TypeError: Failed to set the \'max\' property on \'HTMLProgressElement\': The value provided is infinite."');
+shouldThrow('p.max = Infinity;');
 
 debug("Set value to NaN, should throw");
-shouldThrow('p.value = NaN;', '"TypeError: Failed to set the \'value\' property on \'HTMLProgressElement\': The value provided is not a number."');
+shouldThrow('p.value = NaN;');
 
 debug("Set value to null and max to 0");
 p.value = null;