Changeset 90555 in webkit


Ignore:
Timestamp:
Jul 7, 2011 4:33:41 AM (13 years ago)
Author:
vsevik@chromium.org
Message:

2011-07-07 Vsevolod Vlasov <vsevik@chromium.org>

Web Inspector: Resources panel shows only one resource when multiple resources have the same url.
https://bugs.webkit.org/show_bug.cgi?id=63936

Reviewed by Pavel Feldman.

  • http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt: Added.
  • http/tests/inspector/resource-tree/resource-tree-non-unique-url.html: Added.
  • http/tests/inspector/resource-tree/resource-tree-test.js: (initialize_ResourceTreeTest.InspectorTest.dumpResourcesTree):
  • http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html: Added.
  • http/tests/inspector/resource-tree/resources/styles-non-unique-url.css: Added. (body):

2011-07-07 Vsevolod Vlasov <vsevik@chromium.org>

Web Inspector: Resources panel shows only one resource when multiple resources have the same url.
https://bugs.webkit.org/show_bug.cgi?id=63936

Reviewed by Pavel Feldman.

Test: http/tests/inspector/resource-tree/resource-tree-non-unique-url.html

  • inspector/front-end/ResourcesPanel.js: (WebInspector.FrameTreeElement.prototype.appendResource):
Location:
trunk
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r90554 r90555  
     12011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>
     2
     3        Web Inspector: Resources panel shows only one resource when multiple resources have the same url.
     4        https://bugs.webkit.org/show_bug.cgi?id=63936
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt: Added.
     9        * http/tests/inspector/resource-tree/resource-tree-non-unique-url.html: Added.
     10        * http/tests/inspector/resource-tree/resource-tree-test.js:
     11        (initialize_ResourceTreeTest.InspectorTest.dumpResourcesTree):
     12        * http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html: Added.
     13        * http/tests/inspector/resource-tree/resources/styles-non-unique-url.css: Added.
     14        (body):
     15
    1162011-07-07  Philippe Normand  <pnormand@igalia.com>
    217
  • trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js

    r85186 r90555  
    5252    function dump(treeItem, prefix)
    5353    {
     54        // We don't need to print the bubbles content here.
     55        if (typeof(treeItem._resetBubble) === "function")
     56            treeItem._resetBubble();
     57
    5458        InspectorTest.addResult(prefix + treeItem.listItemElement.textContent);
    5559
  • trunk/Source/WebCore/ChangeLog

    r90553 r90555  
     12011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>
     2
     3        Web Inspector: Resources panel shows only one resource when multiple resources have the same url.
     4        https://bugs.webkit.org/show_bug.cgi?id=63936
     5
     6        Reviewed by Pavel Feldman.
     7
     8        Test: http/tests/inspector/resource-tree/resource-tree-non-unique-url.html
     9
     10        * inspector/front-end/ResourcesPanel.js:
     11        (WebInspector.FrameTreeElement.prototype.appendResource):
     12
    1132011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>
    214
  • trunk/Source/WebCore/inspector/front-end/ResourcesPanel.js

    r90365 r90555  
    11151115    appendResource: function(resource)
    11161116    {
    1117         if (this._treeElementForResource[resource.url])
    1118             return;
    1119 
    11201117        var categoryName = resource.category.name;
    11211118        var categoryElement = resource.category === WebInspector.resourceCategories.documents ? this : this._categoryElements[categoryName];
Note: See TracChangeset for help on using the changeset viewer.