blob: 9ab2e149aaecb67851839b7f68f0987727a28d2c [file] [log] [blame]
<html>
<head>
<script src="../inspector-test.js"></script>
<script src="../resources-test.js"></script>
<script src="resource-tree-test.js"></script>
<link rel="stylesheet" href="resources/styles-initial.css">
<script>
function test()
{
WebInspector.showPanel("resources");
InspectorTest.reloadPage(step1);
function step1()
{
InspectorTest.runAfterResourcesAreFinished(["resource-tree-reload-iframe.html", "script-initial.js", "styles-initial-2.css"], step2);
}
function step2()
{
InspectorTest.dumpResourceTreeEverything();
InspectorTest.completeTest();
}
}
</script>
</head>
<body>
<p>
Tests resource tree model on page reload, compares resource tree against golden. Every line is important.
</p>
<iframe src="resources/resource-tree-reload-iframe.html" onload="runTest()">
</body>
</html>