Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: LayoutTests/http/tests/inspector/cache-storage/cache-entry-deletion.html

Issue 1111563006: [CacheStorage] Entry deletion and cache refresh in Inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test and comments Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/cache-storage/cache-entry-deletion-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/cache-storage/cache-entry-deletion.html
diff --git a/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html b/LayoutTests/http/tests/inspector/cache-storage/cache-entry-deletion.html
similarity index 87%
copy from LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html
copy to LayoutTests/http/tests/inspector/cache-storage/cache-entry-deletion.html
index aef0931739833ea74cd5b987fb0f503cc720eb13..57caaeea735c18de333d44e0643f503b3db65a7e 100644
--- a/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html
+++ b/LayoutTests/http/tests/inspector/cache-storage/cache-entry-deletion.html
@@ -21,14 +21,13 @@ function test()
.then(InspectorTest.dumpCacheTree)
.then(InspectorTest.createCache.bind(this, "testCache1"))
.then(InspectorTest.createCache.bind(this, "testCache2"))
- .then(InspectorTest.dumpCacheTree)
.then(InspectorTest.addCacheEntry.bind(this, "testCache1", "http://fake.request.com/1", "OK"))
.then(InspectorTest.addCacheEntry.bind(this, "testCache1", "http://fake.request.com/2", "Not Found"))
.then(InspectorTest.addCacheEntry.bind(this, "testCache2", "http://fake.request2.com/1", "OK"))
.then(InspectorTest.addCacheEntry.bind(this, "testCache2", "http://fake.request2.com/2", "Not Found"))
.then(InspectorTest.dumpCacheTree)
- .then(InspectorTest.deleteCache.bind(this, "testCache1"))
- .then(InspectorTest.deleteCacheFromInspector.bind(this, "testCache2"))
+ .then(InspectorTest.deleteCacheEntry.bind(this, "testCache1", "http://fake.request.com/2"))
+ .then(InspectorTest.deleteCacheFromInspector.bind(this, "testCache2", "http://fake.request2.com/2"))
.then(InspectorTest.dumpCacheTree)
.then(InspectorTest.clearAllCaches)
.then(InspectorTest.completeTest)
@@ -40,6 +39,6 @@ function test()
</script>
</head>
<body onload="runTest()">
-<p>Tests that cache data is correctly deleted by the inspector.</p>
+<p>Tests that cache entry data is correctly deleted by the inspector.</p>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/cache-storage/cache-entry-deletion-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698