| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| index 5d803d1aea23217f49e748486c9c6250250da1c2..476b194a6bc1555428613e94de07e50b24098479 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| @@ -215,7 +215,7 @@ TEST_F(ServiceWorkerContainerTest, Register_NonSecureOriginIsRejected)
|
| testRegisterRejected(
|
| "http://www.example.com/worker.js",
|
| "http://www.example.com/",
|
| - ExpectDOMException("NotSupportedError", "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."));
|
| + ExpectDOMException("SecurityError", "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."));
|
| }
|
|
|
| TEST_F(ServiceWorkerContainerTest, Register_CrossOriginScriptIsRejected)
|
| @@ -241,7 +241,7 @@ TEST_F(ServiceWorkerContainerTest, GetRegistration_NonSecureOriginIsRejected)
|
| setPageURL("http://www.example.com/");
|
| testGetRegistrationRejected(
|
| "http://www.example.com/",
|
| - ExpectDOMException("NotSupportedError", "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."));
|
| + ExpectDOMException("SecurityError", "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."));
|
| }
|
|
|
| TEST_F(ServiceWorkerContainerTest, GetRegistration_CrossOriginURLIsRejected)
|
|
|