| 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;
|
| }
|
|
|
|
|