Title: [95792] trunk/LayoutTests
- Revision
- 95792
- Author
- [email protected]
- Date
- 2011-09-23 03:59:59 -0700 (Fri, 23 Sep 2011)
Log Message
Web Inspector: UI performance test for Scripts panel first open experience.
https://bugs.webkit.org/show_bug.cgi?id=68541
The test's body has dummy scripts section copied from inspector-test.jss
Reviewed by Yury Semikhatsky.
* inspector/performance/resources/first-open-scripts.html:
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (95791 => 95792)
--- trunk/LayoutTests/ChangeLog 2011-09-23 10:56:23 UTC (rev 95791)
+++ trunk/LayoutTests/ChangeLog 2011-09-23 10:59:59 UTC (rev 95792)
@@ -1,3 +1,14 @@
+2011-09-22 Ilya Tikhonovsky <[email protected]>
+
+ Web Inspector: UI performance test for Scripts panel first open experience.
+ https://bugs.webkit.org/show_bug.cgi?id=68541
+
+ The test's body has dummy scripts section copied from inspector-test.jss
+
+ Reviewed by Yury Semikhatsky.
+
+ * inspector/performance/resources/first-open-scripts.html:
+
2011-09-23 Rob Buis <[email protected]>
use after free in WebCore::SVGTRefElement::updateReferencedText
Added: trunk/LayoutTests/inspector/performance/resources/first-open-scripts.html (0 => 95792)
--- trunk/LayoutTests/inspector/performance/resources/first-open-scripts.html (rev 0)
+++ trunk/LayoutTests/inspector/performance/resources/first-open-scripts.html 2011-09-23 10:59:59 UTC (rev 95792)
@@ -0,0 +1,43 @@
+<html>
+<head>
+<script src=""
+<script src=""
+<script>
+
+function test()
+{
+ 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;
+ }
+ }
+
+ function test(timer)
+ {
+ WebInspector.showPanel("audits");
+
+ var showPanelTimerCookie = timer.start("first-open-scripts");
+ WebInspector.showPanel("scripts");
+ var count = WebInspector.panels.scripts._visibleView._textViewer._mainPanel._textChunks.length;
+ WebInspector.panels.scripts._visibleView._textViewer._mainPanel._expandChunks(0, count);
+ WebInspector.panels.scripts._visibleView._textViewer._mainPanel._paintScheduledLines();
+ timer.finish(showPanelTimerCookie);
+ timer.done();
+ }
+
+ InspectorTest.runPerformanceTest(test, 5000);
+}
+
+</script>
+
+</head>
+
+<body _onload_="runTest()">
+</body>
+</html>
+
Property changes on: trunk/LayoutTests/inspector/performance/resources/first-open-scripts.html
___________________________________________________________________
Added: svn:eol-style
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes