2010-11-08 Jenn Braithwaite <jennb@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Nov 2010 04:47:55 +0000 (04:47 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Nov 2010 04:47:55 +0000 (04:47 +0000)
        Reviewed by Pavel Feldman.

        _bindResourceURL in ResourceManager.js may not add resource to map
        https://bugs.webkit.org/show_bug.cgi?id=49088

        No new tests. pfeldman working on better test harness and tests.

        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager.prototype._bindResourceURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@71603 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/inspector/front-end/ResourceManager.js

index 11c9b3f..a8390d7 100644 (file)
@@ -1,3 +1,15 @@
+2010-11-08  Jenn Braithwaite  <jennb@chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        _bindResourceURL in ResourceManager.js may not add resource to map
+        https://bugs.webkit.org/show_bug.cgi?id=49088
+
+        No new tests. pfeldman working on better test harness and tests.
+
+        * inspector/front-end/ResourceManager.js:
+        (WebInspector.ResourceManager.prototype._bindResourceURL):
+
 2010-11-08  John Knottenbelt  <jknotten@chromium.org>
 
         Reviewed by Steve Block.
index bb34561..d1220a2 100644 (file)
@@ -404,7 +404,7 @@ WebInspector.ResourceManager.prototype = {
         else if (resourceForURL instanceof Array)
             resourceForURL.push(resource);
         else
-            this._resourcesByURL[resource.url] = [resourceForURL];
+            this._resourcesByURL[resource.url] = [resourceForURL, resource];
     },
 
     _unbindResourceURL: function(resource)