Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / input-valueasnumber-unsupported.html
index b5b0005..1039892 100644 (file)
@@ -18,7 +18,7 @@ function checkValueAsNumber(type) {
     input.value = '0';
     input.type = type;
     shouldBe('input.valueAsNumber', 'Number.NaN');
-    shouldThrow('input.valueAsNumber = 0', '"InvalidStateError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': This input element does not support Decimal values."');
+    shouldThrow('input.valueAsNumber = 0', '"InvalidStateError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': This input element does not support Number values."');
 }
 
 checkValueAsNumber('button');