Index: Source/modules/serviceworkers/FetchManager.cpp |
diff --git a/Source/modules/serviceworkers/FetchManager.cpp b/Source/modules/serviceworkers/FetchManager.cpp |
index 13e416c26af123d8ed16bbe52b637ee4b7304fb5..430b6e8cf4f28e7e0bb107f0e97a7f1638a980c7 100644 |
--- a/Source/modules/serviceworkers/FetchManager.cpp |
+++ b/Source/modules/serviceworkers/FetchManager.cpp |
@@ -5,6 +5,7 @@ |
#include "config.h" |
#include "FetchManager.h" |
+#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/V8ThrowException.h" |
@@ -85,7 +86,8 @@ void FetchManager::Loader::didFinishLoading(unsigned long, double) |
// FIXME: fill options. |
RefPtrWillBeRawPtr<Blob> blob = Blob::create(BlobDataHandle::create(blobData.release(), m_downloadedBlobLength)); |
// FIXME: Handle response status correctly. |
- m_resolver->resolve(Response::create(blob.get(), responseInit)); |
+ NonThrowableExceptionState exceptionState; |
+ m_resolver->resolve(Response::create(blob.get(), responseInit, exceptionState)); |
notifyFinished(); |
} |