Commit ef878554 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

2010-07-09 Sheriff Bot <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r62946.
        http://trac.webkit.org/changeset/62946
        https://bugs.webkit.org/show_bug.cgi?id=41965

        AppCache inspector support should be enabled in WebKit ToT.
        (Requested by pfeldman_ on #webkit).

        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel):
        (WebInspector.StoragePanel.prototype.reset):
        (WebInspector.StoragePanel.prototype.addApplicationCache):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d183ef22
2010-07-09 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r62946.
http://trac.webkit.org/changeset/62946
https://bugs.webkit.org/show_bug.cgi?id=41965
AppCache inspector support should be enabled in WebKit ToT.
(Requested by pfeldman_ on #webkit).
* inspector/front-end/StoragePanel.js:
(WebInspector.StoragePanel):
(WebInspector.StoragePanel.prototype.reset):
(WebInspector.StoragePanel.prototype.addApplicationCache):
2010-07-09 François Sausset <sausset@gmail.com>
 
Reviewed by Kenneth Rohde Christiansen.
......@@ -49,10 +49,9 @@ WebInspector.StoragePanel = function(database)
this.sidebarTree.appendChild(this.cookieListTreeElement);
this.cookieListTreeElement.expand();
// TODO: uncomment when AppCache is implemented.
// this.applicationCacheListTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("APPLICATION CACHE"), {}, true);
// this.sidebarTree.appendChild(this.applicationCacheListTreeElement);
// this.applicationCacheListTreeElement.expand();
this.applicationCacheListTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("APPLICATION CACHE"), {}, true);
this.sidebarTree.appendChild(this.applicationCacheListTreeElement);
this.applicationCacheListTreeElement.expand();
this.storageViews = document.createElement("div");
this.storageViews.id = "storage-views";
......@@ -109,8 +108,7 @@ WebInspector.StoragePanel.prototype = {
this.localStorageListTreeElement.removeChildren();
this.sessionStorageListTreeElement.removeChildren();
this.cookieListTreeElement.removeChildren();
// TODO: uncomment when AppCache is implemented.
// this.applicationCacheListTreeElement.removeChildren();
this.applicationCacheListTreeElement.removeChildren();
this.storageViews.removeChildren();
......@@ -148,9 +146,8 @@ WebInspector.StoragePanel.prototype = {
addApplicationCache: function(domain)
{
// TODO: uncomment when AppCache is implemented.
// var applicationCacheTreeElement = new WebInspector.ApplicationCacheSidebarTreeElement(domain);
// this.applicationCacheListTreeElement.appendChild(applicationCacheTreeElement);
var applicationCacheTreeElement = new WebInspector.ApplicationCacheSidebarTreeElement(domain);
this.applicationCacheListTreeElement.appendChild(applicationCacheTreeElement);
},
selectDatabase: function(databaseId)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment