Title: [92109] trunk/LayoutTests
Revision
92109
Author
[email protected]
Date
2011-08-01 01:57:05 -0700 (Mon, 01 Aug 2011)

Log Message

2011-08-01  Pavel Feldman  <[email protected]>

        Not reviewed: unflake inspector test that was just added.

        * inspector/debugger/scripts-sorting-expected.txt:
        * inspector/debugger/scripts-sorting.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (92108 => 92109)


--- trunk/LayoutTests/ChangeLog	2011-08-01 08:49:06 UTC (rev 92108)
+++ trunk/LayoutTests/ChangeLog	2011-08-01 08:57:05 UTC (rev 92109)
@@ -1,3 +1,10 @@
+2011-08-01  Pavel Feldman  <[email protected]>
+
+        Not reviewed: unflake inspector test that was just added.
+
+        * inspector/debugger/scripts-sorting-expected.txt:
+        * inspector/debugger/scripts-sorting.html:
+
 2011-08-01  Tony Gentilcore  <[email protected]>
 
         [chromium] fast/css/outline-auto-empty-rects.html broken by r92059

Modified: trunk/LayoutTests/inspector/debugger/scripts-sorting-expected.txt (92108 => 92109)


--- trunk/LayoutTests/inspector/debugger/scripts-sorting-expected.txt	2011-08-01 08:49:06 UTC (rev 92108)
+++ trunk/LayoutTests/inspector/debugger/scripts-sorting-expected.txt	2011-08-01 08:57:05 UTC (rev 92109)
@@ -14,10 +14,10 @@
 /i/js
     jquery-1.5.1.min.js
     jquery.cookie.js
-…cal/google/code/chromium/src/third_party/WebKit/LayoutTests/http/tests/inspector
+LayoutTests/http/tests/inspector
     debugger-test.js
     inspector-test.js
-…local/google/code/chromium/src/third_party/WebKit/LayoutTests/inspector/debugger
+LayoutTests/inspector/debugger
     scripts-sorting.html
 Debugger was disabled.
 

Modified: trunk/LayoutTests/inspector/debugger/scripts-sorting.html (92108 => 92109)


--- trunk/LayoutTests/inspector/debugger/scripts-sorting.html	2011-08-01 08:49:06 UTC (rev 92108)
+++ trunk/LayoutTests/inspector/debugger/scripts-sorting.html	2011-08-01 08:57:05 UTC (rev 92109)
@@ -31,8 +31,12 @@
     function step1()
     {
         var select = WebInspector.panels.scripts._filesSelectElement;
-        for (var i = 0; i < select.length; ++i)
-            InspectorTest.addResult(select[i].textContent.replace(/\u00a0/g, " "));
+        for (var i = 0; i < select.length; ++i) {
+            var text = select[i].textContent.replace(/\u00a0/g, " ");
+            if (text.indexOf("LayoutTests/") !== -1)
+                text = text.substring(text.indexOf("LayoutTests/"));
+            InspectorTest.addResult(text);
+        }
         InspectorTest.completeDebuggerTest();
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to