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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js

Issue 2747123008: [DevTools] Separate old Application tab code (Closed)
Patch Set: [DevTools] Separate old Application tab code Created 3 years, 9 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
Index: third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js
index 1f6c7cb319eeb8c8df930dc3269776c884ea960e..46fd8ae05a2482854e1b45627c477bce83a224a6 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js
@@ -7,9 +7,9 @@ InspectorTest.preloadPanel("resources");
InspectorTest.dumpCacheTree = function()
{
- UI.panels.resources.cacheStorageListTreeElement.expand();
+ UI.panels.resources._sidebar.cacheStorageListTreeElement.expand();
InspectorTest.addResult("Dumping CacheStorage tree:");
- var cachesTreeElement = UI.panels.resources.cacheStorageListTreeElement;
+ var cachesTreeElement = UI.panels.resources._sidebar.cacheStorageListTreeElement;
var promise = new Promise(function(resolve, reject) {
InspectorTest.addSnifferPromise(SDK.ServiceWorkerCacheModel.prototype, "_updateCacheNames").then(crawlCacheTree).catch(reject);
@@ -65,20 +65,20 @@ InspectorTest.dumpCacheTree = function()
}
}
});
- UI.panels.resources.cacheStorageListTreeElement._refreshCaches();
+ UI.panels.resources._sidebar.cacheStorageListTreeElement._refreshCaches();
return promise;
}
// If optionalEntry is not specified, then the whole cache is deleted.
InspectorTest.deleteCacheFromInspector = function(cacheName, optionalEntry)
{
- UI.panels.resources.cacheStorageListTreeElement.expand();
+ UI.panels.resources._sidebar.cacheStorageListTreeElement.expand();
if (optionalEntry) {
InspectorTest.addResult("Deleting CacheStorage entry " + optionalEntry + " in cache " + cacheName);
} else {
InspectorTest.addResult("Deleting CacheStorage cache " + cacheName);
}
- var cachesTreeElement = UI.panels.resources.cacheStorageListTreeElement;
+ var cachesTreeElement = UI.panels.resources._sidebar.cacheStorageListTreeElement;
var promise = new Promise(function(resolve, reject) {
InspectorTest.addSnifferPromise(SDK.ServiceWorkerCacheModel.prototype, "_updateCacheNames")
.then(function() {
@@ -124,7 +124,7 @@ InspectorTest.deleteCacheFromInspector = function(cacheName, optionalEntry)
reject("Error: Could not find CacheStorage cache " + cacheName);
}).catch(reject);
});
- UI.panels.resources.cacheStorageListTreeElement._refreshCaches();
+ UI.panels.resources._sidebar.cacheStorageListTreeElement._refreshCaches();
return promise;
}

Powered by Google App Engine
This is Rietveld 408576698