Title: [101761] trunk/Source/WebKit/chromium
Revision
101761
Author
[email protected]
Date
2011-12-02 01:09:45 -0800 (Fri, 02 Dec 2011)

Log Message

Web Inspector [chromium]: provisional fix for interactive ui tests
https://bugs.webkit.org/show_bug.cgi?id=73633

Reviewed by Yury Semikhatsky.

* src/js/Tests.js:
(.):
(.TestSuite.prototype._executeCodeWhenScriptsAreParsed):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (101760 => 101761)


--- trunk/Source/WebKit/chromium/ChangeLog	2011-12-02 09:06:09 UTC (rev 101760)
+++ trunk/Source/WebKit/chromium/ChangeLog	2011-12-02 09:09:45 UTC (rev 101761)
@@ -1,3 +1,14 @@
+2011-12-02  Pavel Feldman  <[email protected]>
+
+        Web Inspector [chromium]: provisional fix for interactive ui tests
+        https://bugs.webkit.org/show_bug.cgi?id=73633
+
+        Reviewed by Yury Semikhatsky.
+
+        * src/js/Tests.js:
+        (.):
+        (.TestSuite.prototype._executeCodeWhenScriptsAreParsed):
+
 2011-12-01  David Levin  <[email protected]>
 
         [chromium] Add WebKit API's to support the autosize algorithm in renderer process.

Modified: trunk/Source/WebKit/chromium/src/js/Tests.js (101760 => 101761)


--- trunk/Source/WebKit/chromium/src/js/Tests.js	2011-12-02 09:06:09 UTC (rev 101760)
+++ trunk/Source/WebKit/chromium/src/js/Tests.js	2011-12-02 09:09:45 UTC (rev 101761)
@@ -779,20 +779,13 @@
         new TestSuite().runTest(name);
 }
 
-var oldShowElementsPanel = WebInspector.showElementsPanel;
-WebInspector.showElementsPanel = function()
+var oldLoadCompleted = InspectorFrontendAPI.loadCompleted;
+InspectorFrontendAPI.loadCompleted = function()
 {
-    oldShowElementsPanel.call(this);
+    oldLoadCompleted.call(InspectorFrontendAPI);
     runTests();
 }
 
-var oldShowPanel = WebInspector.showPanel;
-WebInspector.showPanel = function(name)
-{
-    oldShowPanel.call(this, name);
-    runTests();
-}
-
 })();
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to