3 <script src=
"../inspector-test.js"></script>
4 <script src=
"../resources-test.js"></script>
5 <script src=
"resource-tree-test.js"></script>
7 <link rel=
"stylesheet" href=
"resources/styles-initial.css">
13 // Resources panel has heavy initialization that does not work well with reloading-from-test.
14 InspectorTest
.runAfterPendingDispatches(function() {
15 InspectorTest
.reloadPage(step1
);
20 InspectorTest
.runAfterResourcesAreFinished(["resource-tree-reload-iframe.html", "script-initial.js", "styles-initial-2.css"], step2
);
25 InspectorTest
.dumpResourceTreeEverything();
26 InspectorTest
.completeTest();
36 Tests resource tree model on page reload, compares resource tree against golden. Every line is important.
39 <iframe src=
"resources/resource-tree-reload-iframe.html" onload=
"runTest()">