Index: Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp b/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp |
index 04f0433e8f460e28853f1c22e537e34a4b78bfb9..90e63eb0afac98e94739ec1c65c24a196e104d48 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp |
@@ -320,11 +320,11 @@ TEST_F(ServiceWorkerContainerTest, RegisterUnregister_NonHttpsSecureOriginDelega |
ScriptState::Scope scriptScope(scriptState()); |
RegistrationOptions options; |
options.setScope("y/"); |
- container->registerServiceWorker(scriptState(), "/z/worker.js", options); |
+ container->registerServiceWorker(scriptState(), "/x/y/worker.js", options); |
EXPECT_EQ(1ul, stubProvider.registerCallCount()); |
EXPECT_EQ(WebURL(KURL(KURL(), "http://localhost/x/y/")), stubProvider.registerScope()); |
- EXPECT_EQ(WebURL(KURL(KURL(), "http://localhost/z/worker.js")), stubProvider.registerScriptURL()); |
+ EXPECT_EQ(WebURL(KURL(KURL(), "http://localhost/x/y/worker.js")), stubProvider.registerScriptURL()); |
} |
container->willBeDetachedFromFrame(); |