Title: [134241] trunk/LayoutTests
Revision
134241
Author
[email protected]
Date
2012-11-12 07:51:57 -0800 (Mon, 12 Nov 2012)

Log Message

Layout Test inspector/debugger/dynamic-scripts.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=99338

Unreviewed inspector tests flakiness fix.

* http/tests/inspector-enabled/dynamic-scripts.html:
* inspector/debugger/dynamic-scripts.html:
* platform/chromium/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (134240 => 134241)


--- trunk/LayoutTests/ChangeLog	2012-11-12 15:43:51 UTC (rev 134240)
+++ trunk/LayoutTests/ChangeLog	2012-11-12 15:51:57 UTC (rev 134241)
@@ -1,3 +1,14 @@
+2012-11-12  Vsevolod Vlasov  <[email protected]>
+
+        Layout Test inspector/debugger/dynamic-scripts.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=99338
+
+        Unreviewed inspector tests flakiness fix.
+
+        * http/tests/inspector-enabled/dynamic-scripts.html:
+        * inspector/debugger/dynamic-scripts.html:
+        * platform/chromium/TestExpectations:
+
 2012-11-12  János Badics  <[email protected]>
 
         [Qt] REGRESSION(r134205): gardening. Skipped 2 failing reftests.

Modified: trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html (134240 => 134241)


--- trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html	2012-11-12 15:43:51 UTC (rev 134240)
+++ trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html	2012-11-12 15:51:57 UTC (rev 134241)
@@ -54,6 +54,19 @@
         var uiSourceCodes = WebInspector.workspace.uiSourceCodes();
         var urls = uiSourceCodes.map(function(uiSourceCode) { return uiSourceCode.parsedURL.lastPathComponent; });
         urls.sort();
+        
+        var whiteList = ["debugger-test.js", "dynamic-script.js", "dynamic-scripts.html", "evalSourceURL.js", "inspector-test.js", "scriptElementContentSourceURL.js"];
+        function filter(url)
+        {
+            for (var i = 0; i < whiteList.length; ++i) {
+                if (url.indexOf(whiteList[i]) !== -1)
+                    return true;
+            }
+                
+            return false;
+        }
+        urls = urls.filter(filter);
+
         InspectorTest.addResult("UISourceCodes:");
         for (var i = 0; i < urls.length; ++i)
             InspectorTest.addResult("    " + urls[i]);

Modified: trunk/LayoutTests/inspector/debugger/dynamic-scripts.html (134240 => 134241)


--- trunk/LayoutTests/inspector/debugger/dynamic-scripts.html	2012-11-12 15:43:51 UTC (rev 134240)
+++ trunk/LayoutTests/inspector/debugger/dynamic-scripts.html	2012-11-12 15:51:57 UTC (rev 134241)
@@ -51,6 +51,19 @@
         var uiSourceCodes = WebInspector.workspace.uiSourceCodes();
         var urls = uiSourceCodes.map(function(uiSourceCode) { return uiSourceCode.parsedURL.lastPathComponent; });
         urls.sort();
+
+        var whiteList = ["debugger-test.js", "dynamic-script.js", "dynamic-scripts.html", "evalSourceURL.js", "inspector-test.js", "scriptElementContentSourceURL.js"];
+        function filter(url)
+        {
+            for (var i = 0; i < whiteList.length; ++i) {
+                if (url.indexOf(whiteList[i]) !== -1)
+                    return true;
+            }
+                
+            return false;
+        }
+        urls = urls.filter(filter);
+
         InspectorTest.addResult("UISourceCodes:");
         for (var i = 0; i < urls.length; ++i)
             InspectorTest.addResult("    " + urls[i]);

Modified: trunk/LayoutTests/platform/chromium/TestExpectations (134240 => 134241)


--- trunk/LayoutTests/platform/chromium/TestExpectations	2012-11-12 15:43:51 UTC (rev 134240)
+++ trunk/LayoutTests/platform/chromium/TestExpectations	2012-11-12 15:51:57 UTC (rev 134241)
@@ -1061,10 +1061,7 @@
 webkit.org/b/75647 http/tests/inspector/network/download.html [ Pass Timeout ]
 
 webkit.org/b/78810 [ Linux Win Debug ] inspector/debugger/script-formatter-console.html [ Pass Slow ]
-webkit.org/b/99338 [ Linux Win ] inspector/debugger/dynamic-scripts.html [ Pass Failure ]
 
-webkit.org/b/100926 [ Win ] http/tests/inspector-enabled/dynamic-scripts.html [ Pass Failure ]
-
 # -----------------------------------------------------------------
 # Editing tests
 # -----------------------------------------------------------------
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to