Title: [104580] trunk/PerformanceTests
- Revision
- 104580
- Author
- [email protected]
- Date
- 2012-01-10 08:31:28 -0800 (Tue, 10 Jan 2012)
Log Message
Unreviewed. Restore test that was removed during migration from LayoutTests folder.
* inspector/first-open-resources.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/PerformanceTests/ChangeLog (104579 => 104580)
--- trunk/PerformanceTests/ChangeLog 2012-01-10 16:23:54 UTC (rev 104579)
+++ trunk/PerformanceTests/ChangeLog 2012-01-10 16:31:28 UTC (rev 104580)
@@ -1,3 +1,9 @@
+2012-01-10 Ilya Tikhonovsky <[email protected]>
+
+ Unreviewed. Restore test that was removed during migration from LayoutTests folder.
+
+ * inspector/first-open-resources.html: Added.
+
2012-01-09 Ilya Tikhonovsky <[email protected]>
Unreviewed test fix after r103683.
Added: trunk/PerformanceTests/inspector/first-open-resources.html (0 => 104580)
--- trunk/PerformanceTests/inspector/first-open-resources.html (rev 0)
+++ trunk/PerformanceTests/inspector/first-open-resources.html 2012-01-10 16:31:28 UTC (rev 104580)
@@ -0,0 +1,37 @@
+<html>
+<head>
+<script src=""
+<script src=""
+<script>
+
+function test()
+{
+ WebInspector.showPanel("resources");
+console.log("test: " + WebInspector.inspectedPageURL);
+ WebInspector.settings.resourcesLastSelectedItem.set(WebInspector.inspectedPageURL);
+
+ function test(timer)
+ {
+ WebInspector.showPanel("audits");
+
+ var showPanelTimerCookie = timer.start("first-open-resources");
+ InspectorTest.addBackendResponseSniffer(PageAgent, "getResourceTree", function() {
+ timer.finish(showPanelTimerCookie);
+ timer.done("first-open");
+ });
+ WebInspector.panels.resources.reset();
+ WebInspector.panels.resources._initialized = false;
+ WebInspector.resourceTreeModel._fetchResourceTree();
+ WebInspector.showPanel("resources");
+ }
+
+ InspectorTest.runPerformanceTest(test, 5000);
+}
+
+</script>
+</head>
+<body _onload_="runTest()">
+</body>
+</body>
+</html>
+
Property changes on: trunk/PerformanceTests/inspector/first-open-resources.html
___________________________________________________________________
Added: svn:eol-style
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes