Commit 16addaf5 authored by pfeldman@chromium.org's avatar pfeldman@chromium.org

2011-03-24 Pavel Feldman <pfeldman@chromium.org>

        Not reviewed: removing newly added inspector test that fails on release bots.

        * http/tests/inspector/network/network-redirect-expected.txt: Removed.
        * http/tests/inspector/network/network-redirect.html: Removed.
        * platform/chromium/test_expectations.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 539f9ea3
2011-03-24 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: removing newly added inspector test that fails on release bots.
* http/tests/inspector/network/network-redirect-expected.txt: Removed.
* http/tests/inspector/network/network-redirect.html: Removed.
* platform/chromium/test_expectations.txt:
2011-03-24 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: updated chromium expectations.
......
CONSOLE MESSAGE: line 15: Done.
Tests network panel redirect.
Model data:
GET: http://127.0.0.1:8000/inspector/network/resources/redirect.php?status=302 -> 302
GET: http://127.0.0.1:8000/inspector/network/resources/redirect.php?redirected=true -> 200
Grid data:
GET: http://127.0.0.1:8000/inspector/network/resources/redirect.php?status=302 -> 302
GET: http://127.0.0.1:8000/inspector/network/resources/redirect.php?redirected=true -> 200
<html>
<head>
<script src="../inspector-test.js"></script>
<script>
function loadIframe()
{
var iframe = document.createElement("iframe");
iframe.src = "resources/redirect.php?status=302";
iframe.onload = iframeLoaded;
document.body.appendChild(iframe);
}
function iframeLoaded()
{
console.log("Done.");
}
function test()
{
InspectorTest.addSniffer(WebInspector.ConsoleView.prototype, "addMessage", step2);
InspectorTest.evaluateInPage("loadIframe()");
function step2()
{
// inspector-test.js appears in network panel occasionally in Safari on
// Mac, so checking two last resources.
InspectorTest.addResult("Model data:");
var resources = WebInspector.panels.network.resources;
for (var i = resources.length - 2; i < resources.length; ++i)
printResource(resources[i]);
InspectorTest.addResult("Grid data:");
var dataGridNodes = WebInspector.panels.network._dataGrid.children;
WebInspector.panels.network.refresh();
for (var i = dataGridNodes.length - 2; i < dataGridNodes.length; ++i)
printResource(dataGridNodes[i]._resource);
InspectorTest.completeTest();
}
function printResource(resource)
{
InspectorTest.addResult(resource.requestMethod + ": " + resource.url + " -> " + resource.statusCode);
}
}
</script>
</head>
<body onload="runTest()">
<p>Tests network panel redirect.</p>
</body>
</html>
......@@ -663,7 +663,6 @@ BUGWK56454 WIN LINUX : inspector/elements/mutate-unknown-node.html = PASS TEXT
BUGWK56602 SKIP : http/tests/inspector/network/network-timing.html = FAIL
BUGWK56602 SKIP : http/tests/inspector/network/network-size.html = FAIL
BUGWK56602 SKIP : http/tests/inspector/network/network-size-chunked.html = FAIL
BUGWK56602 SKIP : http/tests/inspector/network/network-redirect.html = FAIL
BUGJAMESR WIN LINUX : inspector/styles/styles-disable-then-delete.html = TIMEOUT PASS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment