| Index: LayoutTests/fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js
|
| diff --git a/LayoutTests/fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js b/LayoutTests/fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js
|
| index f1a4275cea2de5a2ccc88940c0b218e4a5f22460..bd6d9af9b894e2d1c96f7b7ba5fc344bc6770ebb 100644
|
| --- a/LayoutTests/fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js
|
| +++ b/LayoutTests/fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js
|
| @@ -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;
|
|
|