Changeset 76517 in webkit


Ignore:
Timestamp:
Jan 24, 2011 7:11:30 AM (13 years ago)
Author:
podivilov@chromium.org
Message:

2011-01-24 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: [REGRESSION] AppCache view on resources panel is broken.
https://bugs.webkit.org/show_bug.cgi?id=53002

  • inspector/front-end/ApplicationCacheItemsView.js: (WebInspector.ApplicationCacheItemsView.prototype._update):
  • inspector/front-end/DOMAgent.js: (WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync):
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r76515 r76517  
     12011-01-24  Pavel Podivilov  <podivilov@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: [REGRESSION] AppCache view on resources panel is broken.
     6        https://bugs.webkit.org/show_bug.cgi?id=53002
     7
     8
     9        * inspector/front-end/ApplicationCacheItemsView.js:
     10        (WebInspector.ApplicationCacheItemsView.prototype._update):
     11        * inspector/front-end/DOMAgent.js:
     12        (WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync):
     13
    1142011-01-24  Andreas Kling  <kling@webkit.org>
    215
  • trunk/Source/WebCore/inspector/front-end/ApplicationCacheItemsView.js

    r75714 r76517  
    137137    _update: function()
    138138    {
    139         WebInspector.ApplicationCache.getApplicationCachesAsync(this._updateCallback.bind(this));
     139        WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync(this._updateCallback.bind(this));
    140140    },
    141141
  • trunk/Source/WebCore/inspector/front-end/DOMAgent.js

    r75949 r76517  
    503503}
    504504
     505WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync = function(callback)
     506{
     507    function mycallback(applicationCaches)
     508    {
     509        // FIXME: Currently, this list only returns a single application cache.
     510        if (applicationCaches)
     511            callback(applicationCaches);
     512    }
     513
     514    InspectorBackend.getApplicationCaches(mycallback);
     515}
     516
    505517WebInspector.ApplicationCacheDispatcher.prototype = {
    506     getApplicationCachesAsync: function(callback)
    507     {
    508         function mycallback(applicationCaches)
    509         {
    510             // FIXME: Currently, this list only returns a single application cache.
    511             if (applicationCaches)
    512                 callback(applicationCaches);
    513         }
    514    
    515         InspectorBackend.getApplicationCaches(mycallback);
    516     },
    517        
    518518    updateApplicationCacheStatus: function(status)
    519519    {
Note: See TracChangeset for help on using the changeset viewer.