| Index: Source/core/html/HTMLProgressElement.cpp
|
| diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp
|
| index 34ecdb63819e36402547aafa0f74acacfb865c3f..17984378649827fa4aac759af68ba776750accf4 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& es)
|
| {
|
| if (!std::isfinite(value)) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(valueAttr, String::number(value >= 0 ? value : 0));
|
| @@ -116,7 +116,7 @@ double HTMLProgressElement::max() const
|
| void HTMLProgressElement::setMax(double max, ExceptionState& es)
|
| {
|
| if (!std::isfinite(max)) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
| setAttribute(maxAttr, String::number(max > 0 ? max : 1));
|
|
|