| Index: Source/core/html/canvas/DataView.cpp
|
| diff --git a/Source/core/html/canvas/DataView.cpp b/Source/core/html/canvas/DataView.cpp
|
| index b35984dd43e85a9eb8d47a3c6a2bcbc262596fcf..914a14a31097247620b4a7a5e313094c43998c8b 100644
|
| --- a/Source/core/html/canvas/DataView.cpp
|
| +++ b/Source/core/html/canvas/DataView.cpp
|
| @@ -133,7 +133,7 @@ template<typename T>
|
| T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionState& es) const
|
| {
|
| if (beyondRange<T>(byteOffset)) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return 0;
|
| }
|
|
|
| @@ -148,7 +148,7 @@ template<typename T>
|
| void DataView::setData(unsigned byteOffset, T value, bool littleEndian, ExceptionState& es)
|
| {
|
| if (beyondRange<T>(byteOffset)) {
|
| - es.throwDOMException(IndexSizeError);
|
| + es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return;
|
| }
|
|
|
|
|