Title: [94689] trunk/LayoutTests
Revision
94689
Author
[email protected]
Date
2011-09-07 11:14:50 -0700 (Wed, 07 Sep 2011)

Log Message

2011-09-07  Pavel Podivilov  <[email protected]>

        Unreviewed, build fix after r94674.

        * inspector/debugger/script-formatter.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (94688 => 94689)


--- trunk/LayoutTests/ChangeLog	2011-09-07 17:55:50 UTC (rev 94688)
+++ trunk/LayoutTests/ChangeLog	2011-09-07 18:14:50 UTC (rev 94689)
@@ -1,3 +1,9 @@
+2011-09-07  Pavel Podivilov  <[email protected]>
+
+        Unreviewed, build fix after r94674.
+
+        * inspector/debugger/script-formatter.html:
+
 2011-09-07  Ryosuke Niwa  <[email protected]>
 
         Skip media/media-controls-invalid-url.html on Mac for now because it has been failing.

Modified: trunk/LayoutTests/inspector/debugger/script-formatter.html (94688 => 94689)


--- trunk/LayoutTests/inspector/debugger/script-formatter.html	2011-09-07 17:55:50 UTC (rev 94688)
+++ trunk/LayoutTests/inspector/debugger/script-formatter.html	2011-09-07 18:14:50 UTC (rev 94689)
@@ -185,16 +185,10 @@
             function didEvaluate()
             {
                 dumpConsoleMessageURLs();
-                panel._presentationModel.addEventListener(WebInspector.DebuggerPresentationModel.Events.UISourceCodeReplaced,  uiSourceCodeReplaced);
+                InspectorTest.addSniffer(WebInspector, "formatLinkText", InspectorTest.runAfterPendingDispatches.bind(InspectorTest, didFormatLinkText));
                 panel._toggleFormatSource();
             }
 
-            function uiSourceCodeReplaced(event)
-            {
-                if (event.data.uiSourceCode.url.indexOf("script-formatter.html") !== -1)
-                    InspectorTest.runAfterPendingDispatches(didFormatLinkText);
-            }
-
             function didFormatLinkText()
             {
                 dumpConsoleMessageURLs();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to