Index: Source/modules/serviceworkers/CacheTest.cpp |
diff --git a/Source/modules/serviceworkers/CacheTest.cpp b/Source/modules/serviceworkers/CacheTest.cpp |
index 0520a4e07a639e9da68878c752fb31e205774632..af71c8875d98dea20d9f43c7ba32634b098cfb6a 100644 |
--- a/Source/modules/serviceworkers/CacheTest.cpp |
+++ b/Source/modules/serviceworkers/CacheTest.cpp |
@@ -398,7 +398,7 @@ TEST_F(ServiceWorkerCacheTest, BatchOperationArguments) |
request = newRequestFromUrl(url); |
ASSERT(request); |
- ScriptPromise putResult = cache->put(scriptState(), request, response); |
+ ScriptPromise putResult = cache->put(scriptState(), request, response->clone(), exceptionState()); |
EXPECT_EQ("dispatchBatch", testCache->getAndClearLastErrorWebCacheMethodCalled()); |
EXPECT_EQ(kNotImplementedString, getRejectString(putResult)); |