| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| index 8070617fe66e95da9f14dbbdb08faf8b45ba1c45..4533f1f8995a1b0a63d470d3997f0532af84e761 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| @@ -118,7 +118,7 @@ ScriptPromise ServiceWorkerClients::openWindow(ScriptState* scriptState, const S
|
| }
|
|
|
| if (!context->securityOrigin()->canDisplay(parsedUrl)) {
|
| - resolver->reject(DOMException::create(SecurityError, "'" + parsedUrl.elidedString() + "' cannot be opened."));
|
| + resolver->reject(V8ThrowException::createTypeError(scriptState->isolate(), "'" + parsedUrl.elidedString() + "' cannot be opened."));
|
| return promise;
|
| }
|
|
|
|
|