Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector [JSC]: Enable initiator column in network panel. · b9e941d4
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=65533
    
    Patch by Anthony Scian <ascian@rim.com> on 2012-07-24
    Reviewed by Vsevolod Vlasov.
    
    Source/WebCore:
    
    With 40118 fixed for webkit, Preferences.displayInitiator should be set to true.
    Removed references to it since the optionality is no longer required.
    
    Test: http/tests/inspector/network/network-initiator.html
    
    * inspector/front-end/NetworkPanel.js:
    (WebInspector.NetworkLogView.prototype._createTable):
    (WebInspector.NetworkLogView.prototype.switchToDetailedView):
    (WebInspector.NetworkLogView.prototype.switchToBriefView):
    (WebInspector.NetworkDataGridNode.prototype.createCells):
    (WebInspector.NetworkDataGridNode.prototype.refreshRequest):
    * inspector/front-end/Settings.js:
    
    Source/WebKit/chromium:
    
    With 40118 fixed for webkit, Preferences.displayInitiator should be set to true.
    Removed references to it since the optionality is no longer required.
    
    Test: http/tests/inspector/network/network-initiator.html
    
    * src/js/DevTools.js:
    
    LayoutTests:
    
    Bug https://bugs.webkit.org/show_bug.cgi?id=65105 caused
    network-initiator.html to be disabled due to caching CSS information.
    Tweaked the test so that reloads could be forced to avoid the cache
    copy (thanks to Vsevolod Vlasov for help on this); test works now and
    is updated for availability of stack traces fixed in 40118. Consolidated
    results into common expected results output.
    
    * http/tests/inspector/inspector-test.js:
    (initialize_InspectorTest.InspectorTest.hardReloadPage):
    (initialize_InspectorTest.InspectorTest.reloadPage):
    (initialize_InspectorTest.InspectorTest._innerReloadPage):
    * http/tests/inspector/network/network-initiator-expected.txt:
    * http/tests/inspector/network/network-initiator.html:
    * platform/chromium/TestExpectations:
    * platform/chromium/http/tests/inspector/network/network-initiated-expected.txt: Removed.
    * platform/mac/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b9e941d4