| Index: Source/modules/imagebitmap/ImageBitmapFactories.cpp
 | 
| diff --git a/Source/modules/imagebitmap/ImageBitmapFactories.cpp b/Source/modules/imagebitmap/ImageBitmapFactories.cpp
 | 
| index eae94095b4a11d2a4ac9e33c00446941b17c99ac..5300a5d0160a53e00b0ed81d1e8f228031a5a9e5 100644
 | 
| --- a/Source/modules/imagebitmap/ImageBitmapFactories.cpp
 | 
| +++ b/Source/modules/imagebitmap/ImageBitmapFactories.cpp
 | 
| @@ -192,7 +192,7 @@ ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget,
 | 
|  ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, Blob* blob, ExceptionState& exceptionState)
 | 
|  {
 | 
|      if (!blob) {
 | 
| -        exceptionState.throwDOMException(TypeError, "The blob provided is invalid.");
 | 
| +        exceptionState.throwTypeError("The blob provided is invalid.");
 | 
|          return ScriptPromise();
 | 
|      }
 | 
|      ScriptPromise promise = ScriptPromise::createPending(eventTarget.executionContext());
 | 
| @@ -206,7 +206,7 @@ ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget,
 | 
|  ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, Blob* blob, int sx, int sy, int sw, int sh, ExceptionState& exceptionState)
 | 
|  {
 | 
|      if (!blob) {
 | 
| -        exceptionState.throwDOMException(TypeError, "The blob provided is invalid.");
 | 
| +        exceptionState.throwTypeError("The blob provided is invalid.");
 | 
|          return ScriptPromise();
 | 
|      }
 | 
|      if (!sw || !sh) {
 | 
| 
 |