| Index: Source/core/html/HTMLMarqueeElement.cpp
|
| diff --git a/Source/core/html/HTMLMarqueeElement.cpp b/Source/core/html/HTMLMarqueeElement.cpp
|
| index 5c1fe6dc7b140ea837ea2d57e0789a1d65b73132..946593bd31f05eda5bb527b74be84e740e51cf48 100644
|
| --- a/Source/core/html/HTMLMarqueeElement.cpp
|
| +++ b/Source/core/html/HTMLMarqueeElement.cpp
|
| @@ -131,7 +131,7 @@ int HTMLMarqueeElement::scrollAmount() const
|
| void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionState& es)
|
| {
|
| if (scrollAmount < 0)
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| else
|
| setIntegralAttribute(scrollamountAttr, scrollAmount);
|
| }
|
| @@ -146,7 +146,7 @@ int HTMLMarqueeElement::scrollDelay() const
|
| void HTMLMarqueeElement::setScrollDelay(int scrollDelay, ExceptionState& es)
|
| {
|
| if (scrollDelay < 0)
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| else
|
| setIntegralAttribute(scrolldelayAttr, scrollDelay);
|
| }
|
| @@ -161,7 +161,7 @@ int HTMLMarqueeElement::loop() const
|
| void HTMLMarqueeElement::setLoop(int loop, ExceptionState& es)
|
| {
|
| if (loop <= 0 && loop != -1)
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| else
|
| setIntegralAttribute(loopAttr, loop);
|
| }
|
|
|