| Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| index cd8927c737b2621a7b0cef2106999cd7d6667302..fcec30b2387d2d58f2a913c310e707fc64720593 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp
|
| @@ -108,11 +108,6 @@ ScriptPromise ServiceWorkerClients::openWindow(ScriptState* scriptState, const S
|
| return promise;
|
| }
|
|
|
| - if (!context->securityOrigin()->canRequest(parsedUrl)) {
|
| - resolver->reject(DOMException::create(SecurityError, "'" + parsedUrl.elidedString() + "' is not same-origin with the Worker."));
|
| - return promise;
|
| - }
|
| -
|
| if (!context->isWindowInteractionAllowed()) {
|
| resolver->reject(DOMException::create(InvalidAccessError, "Not allowed to open a window."));
|
| return promise;
|
|
|