Changeset 63549 in webkit


Ignore:
Timestamp:
Jul 16, 2010 8:33:30 AM (14 years ago)
Author:
pfeldman@chromium.org
Message:

2010-07-16 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: disable AppCache in chromium.

https://bugs.webkit.org/show_bug.cgi?id=41858

Reviewed by Yury Semikhatsky.

Web Inspector: disable AppCache in chromium.

https://bugs.webkit.org/show_bug.cgi?id=41858

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r63548 r63549  
     12010-07-16  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        Web Inspector: disable AppCache in chromium.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=41858
     8
     9        * inspector/front-end/Settings.js:
     10        * inspector/front-end/StoragePanel.js:
     11        (WebInspector.StoragePanel):
     12        (WebInspector.StoragePanel.prototype.reset):
     13        (WebInspector.StoragePanel.prototype.addApplicationCache):
     14
    1152010-07-16  Yury Semikhatsky  <yurys@chromium.org>
    216
  • trunk/WebCore/inspector/front-end/Settings.js

    r62647 r63549  
    4343    debuggerAlwaysEnabled: false,
    4444    profilerAlwaysEnabled: false,
    45     auditsPanelEnabled: true
     45    auditsPanelEnabled: true,
     46    appCacheEnabled: true
    4647}
    4748
  • trunk/WebCore/inspector/front-end/StoragePanel.js

    r62972 r63549  
    5050    this.cookieListTreeElement.expand();
    5151
    52     this.applicationCacheListTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("APPLICATION CACHE"), {}, true);
    53     this.sidebarTree.appendChild(this.applicationCacheListTreeElement);
    54     this.applicationCacheListTreeElement.expand();
     52    if (Preferences.appCacheEnabled) {
     53        this.applicationCacheListTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("APPLICATION CACHE"), {}, true);
     54        this.sidebarTree.appendChild(this.applicationCacheListTreeElement);
     55        this.applicationCacheListTreeElement.expand();
     56    }
    5557
    5658    this.storageViews = document.createElement("div");
     
    109111        this.sessionStorageListTreeElement.removeChildren();
    110112        this.cookieListTreeElement.removeChildren();
    111         this.applicationCacheListTreeElement.removeChildren();
     113
     114        if (Preferences.appCacheEnabled)
     115            this.applicationCacheListTreeElement.removeChildren();
    112116
    113117        this.storageViews.removeChildren();
     
    147151    addApplicationCache: function(domain)
    148152    {
     153        if (!Preferences.appCacheEnabled)
     154            return;
    149155        var applicationCacheTreeElement = new WebInspector.ApplicationCacheSidebarTreeElement(domain);
    150156        this.applicationCacheListTreeElement.appendChild(applicationCacheTreeElement);
  • trunk/WebKit/chromium/ChangeLog

    r63547 r63549  
     12010-07-16  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        Web Inspector: disable AppCache in chromium.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=41858
     8
     9        * src/js/DevTools.js:
     10        (WebInspector.loaded):
     11
    1122010-07-16  Alexander Pavlov  <apavlov@chromium.org>
    213
  • trunk/WebKit/chromium/src/js/DevTools.js

    r63311 r63549  
    144144    Preferences.profilerAlwaysEnabled = true;
    145145    Preferences.canEditScriptSource = true;
     146    Preferences.appCacheEnabled = false;
    146147
    147148    oldLoaded.call(this);
Note: See TracChangeset for help on using the changeset viewer.