| Index: Source/core/html/HTMLProgressElement.cpp
|
| diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp
|
| index 46df7632eb91392e1dbddcbfd4bd193d84d2da9c..3baeb6506a6fbf3b35dc769255c80436ec8957fa 100644
|
| --- a/Source/core/html/HTMLProgressElement.cpp
|
| +++ b/Source/core/html/HTMLProgressElement.cpp
|
| @@ -101,7 +101,7 @@ double HTMLProgressElement::value() const
|
| void HTMLProgressElement::setValue(double value, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(value)) {
|
| - exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::failedToSet("value", "HTMLProgressElement", ExceptionMessages::notAFiniteNumber(value)));
|
| + exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::notAFiniteNumber(value));
|
| return;
|
| }
|
| setFloatingPointAttribute(valueAttr, std::max(value, 0.));
|
| @@ -116,7 +116,7 @@ double HTMLProgressElement::max() const
|
| void HTMLProgressElement::setMax(double max, ExceptionState& exceptionState)
|
| {
|
| if (!std::isfinite(max)) {
|
| - exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::failedToSet("max", "HTMLProgressElement", ExceptionMessages::notAFiniteNumber(max)));
|
| + exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::notAFiniteNumber(max));
|
| return;
|
| }
|
| // FIXME: The specification says we should ignore the input value if it is inferior or equal to 0.
|
|
|