Title: [88340] trunk/LayoutTests
- Revision
- 88340
- Author
- [email protected]
- Date
- 2011-06-08 06:06:24 -0700 (Wed, 08 Jun 2011)
Log Message
2011-06-08 Alexander Pavlov <[email protected]>
[Qt] Unreviewed, attempt to make test pass on Qt.
* inspector/styles/styles-update-from-js.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (88339 => 88340)
--- trunk/LayoutTests/ChangeLog 2011-06-08 12:52:34 UTC (rev 88339)
+++ trunk/LayoutTests/ChangeLog 2011-06-08 13:06:24 UTC (rev 88340)
@@ -1,5 +1,11 @@
2011-06-08 Alexander Pavlov <[email protected]>
+ [Qt] Unreviewed, attempt to make test pass on Qt.
+
+ * inspector/styles/styles-update-from-js.html:
+
+2011-06-08 Alexander Pavlov <[email protected]>
+
Reviewed by Yury Semikhatsky.
Web Inspector: node selection is slow in the Elements panel.
Modified: trunk/LayoutTests/inspector/styles/styles-update-from-js.html (88339 => 88340)
--- trunk/LayoutTests/inspector/styles/styles-update-from-js.html 2011-06-08 12:52:34 UTC (rev 88339)
+++ trunk/LayoutTests/inspector/styles/styles-update-from-js.html 2011-06-08 13:06:24 UTC (rev 88340)
@@ -25,17 +25,14 @@
var sniffCount = 0;
InspectorTest.selectNodeWithId("container");
- InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, "_rebuildUpdate", selectCallback);
+ InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, "_rebuildUpdate", snifferCallback, true);
- function selectCallback()
- {
- InspectorTest.evaluateInPage("modifyStyleAttribute()");
- InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, "_rebuildUpdate", snifferCallback, true);
- }
-
function snifferCallback()
{
- switch (++sniffCount) {
+ switch (sniffCount++) {
+ case 0:
+ InspectorTest.evaluateInPage("modifyStyleAttribute()");
+ break;
case 1:
InspectorTest.addResult("Modified \"style\" attribute");
dumpAttributeAndStyles();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes