[Webkit-unassigned] [Bug 65533] Web Inspector [JSC]: Enable initiator column in network panel.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 20 05:29:04 PDT 2012


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





--- Comment #8 from Vsevolod Vlasov <vsevik at chromium.org>  2012-07-20 05:29:04 PST ---
Here is how the test could be fixed:
LayoutTests/http/tests/inspector/inspector-test.js has an Inspector.reloadPage() method that is used to reload the page in the our test. It uses PageAgent.reload() method. The parameter false passed to it means "soft reload" while in this case we need a "hard reload". 

InspectorTest.hardReloadPage() should fix it if you put the following code to inspexctor-test.js:

InspectorTest.hardReloadPage = function(callback)
{
    InspectorTest._innerReloadPage(true, callback);
}

InspectorTest.reloadPage = function(callback)
{
    InspectorTest._innerReloadPage(false, callback);
}

InspectorTest._innerReloadPage = function(hardReload, callback)
{
    InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(callback);

    if (WebInspector.panels.network)
        WebInspector.panels.network._reset();
    PageAgent.reload(hardReload);
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list