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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-test.js
index 219cfb2dd367f688970adf82979f873a0f690a68..407261149c609e379b2e6e683c8b2958c57be7b9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-test.js
@@ -81,7 +81,7 @@ InspectorTest.dumpApplicationCache = function()
InspectorTest.dumpApplicationCacheTree = function()
{
InspectorTest.addResult("Dumping application cache tree:");
- var applicationCacheTreeElement = UI.panels.resources.applicationCacheListTreeElement;
+ var applicationCacheTreeElement = UI.panels.resources._sidebar.applicationCacheListTreeElement;
if (!applicationCacheTreeElement.childCount()) {
InspectorTest.addResult(" (empty)");
return;
@@ -127,7 +127,7 @@ InspectorTest.applicationCacheStatusToString = function(status)
InspectorTest.dumpApplicationCacheModel = function()
{
InspectorTest.addResult("Dumping application cache model:");
- var model = UI.panels.resources._applicationCacheModel;
+ var model = UI.panels.resources._sidebar._applicationCacheModel;
var frameIds = [];
for (var frameId in model._manifestURLsByFrame)
@@ -154,8 +154,8 @@ InspectorTest.dumpApplicationCacheModel = function()
InspectorTest.waitForFrameManifestURLAndStatus = function(frameId, manifestURL, status, callback)
{
- var frameManifestStatus = UI.panels.resources._applicationCacheModel.frameManifestStatus(frameId);
- var frameManifestURL = UI.panels.resources._applicationCacheModel.frameManifestURL(frameId);
+ var frameManifestStatus = UI.panels.resources._sidebar._applicationCacheModel.frameManifestStatus(frameId);
+ var frameManifestURL = UI.panels.resources._sidebar._applicationCacheModel.frameManifestURL(frameId);
if (frameManifestStatus === status && frameManifestURL.indexOf(manifestURL) !== -1) {
callback();
return;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-storage-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698