Title: [96199] trunk/LayoutTests
- Revision
- 96199
- Author
- [email protected]
- Date
- 2011-09-28 00:46:21 -0700 (Wed, 28 Sep 2011)
Log Message
Web Inspector: Unreviewed. Slight adjustment of the test content for better representation of the performance.
* inspector/performance/resources/show-panel.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (96198 => 96199)
--- trunk/LayoutTests/ChangeLog 2011-09-28 07:44:19 UTC (rev 96198)
+++ trunk/LayoutTests/ChangeLog 2011-09-28 07:46:21 UTC (rev 96199)
@@ -1,3 +1,9 @@
+2011-09-28 Ilya Tikhonovsky <[email protected]>
+
+ Web Inspector: Unreviewed. Slight adjustment of the test content for better representation of the performance.
+
+ * inspector/performance/resources/show-panel.html:
+
2011-09-28 Shinichiro Hamaji <[email protected]>
Unreviewed rebaseline pservers-grad-14-b again.
Modified: trunk/LayoutTests/inspector/performance/resources/show-panel.html (96198 => 96199)
--- trunk/LayoutTests/inspector/performance/resources/show-panel.html 2011-09-28 07:44:19 UTC (rev 96198)
+++ trunk/LayoutTests/inspector/performance/resources/show-panel.html 2011-09-28 07:46:21 UTC (rev 96199)
@@ -4,11 +4,38 @@
<script src=""
<script>
+function makeXHRRequests(count)
+{
+ for (var i = 0; i < count; ++i) {
+ var xhr = new XMLHttpRequest();
+ xhr.open("GET", document.URL, true);
+ xhr.send();
+ }
+}
+
function test()
{
- WebInspector.showPanel("audits");
+ WebInspector.showPanel("scripts");
+ var files = WebInspector.panels.scripts._filesSelectElement;
+ for (var i = 0; i < files.options.length; ++i) {
+ if (files.options[i].value.indexOf("inspector-test.js") !== -1) {
+ files.selectedIndex = i;
+ WebInspector.panels.scripts._filesSelectChanged();
+ break;
+ }
+ }
- InspectorTest.runPerformanceTest(perfTest, 10000);
+ WebInspector.showPanel("resources");
+ WebInspector.settings.resourcesLastSelectedItem.set(WebInspector.mainResource._documentURL);
+
+ WebInspector.showPanel("network");
+ InspectorTest.evaluateInPage("makeXHRRequests(200)", runTest);
+
+ function runTest()
+ {
+ InspectorTest.runPerformanceTest(perfTest, 10000);
+ }
+
function perfTest(timer)
{
WebInspector.showPanel("audits");
@@ -25,5 +52,15 @@
</head>
<body _onload_="runTest()">
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
+<div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
</body>
</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes