Title: [218696] trunk/LayoutTests
Revision
218696
Author
[email protected]
Date
2017-06-22 08:16:37 -0700 (Thu, 22 Jun 2017)

Log Message

LayoutTests/inspector/indexeddb/requestDatabaseNames.html: Sort database names to prevent flakiness
https://bugs.webkit.org/show_bug.cgi?id=173699

Patch by Joseph Pecoraro <[email protected]> on 2017-06-22
Reviewed by Alex Christensen.

* inspector/indexeddb/requestDatabaseNames.html:
Sort database names (when more than one) to ensure a consistent order.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (218695 => 218696)


--- trunk/LayoutTests/ChangeLog	2017-06-22 13:36:55 UTC (rev 218695)
+++ trunk/LayoutTests/ChangeLog	2017-06-22 15:16:37 UTC (rev 218696)
@@ -1,3 +1,13 @@
+2017-06-22  Joseph Pecoraro  <[email protected]>
+
+        LayoutTests/inspector/indexeddb/requestDatabaseNames.html: Sort database names to prevent flakiness
+        https://bugs.webkit.org/show_bug.cgi?id=173699
+
+        Reviewed by Alex Christensen.
+
+        * inspector/indexeddb/requestDatabaseNames.html:
+        Sort database names (when more than one) to ensure a consistent order.
+
 2017-06-22  Claudio Saavedra  <[email protected]>
 
         [WPE] Skip js geolocation test.

Modified: trunk/LayoutTests/inspector/indexeddb/requestDatabaseNames.html (218695 => 218696)


--- trunk/LayoutTests/inspector/indexeddb/requestDatabaseNames.html	2017-06-22 13:36:55 UTC (rev 218695)
+++ trunk/LayoutTests/inspector/indexeddb/requestDatabaseNames.html	2017-06-22 15:16:37 UTC (rev 218696)
@@ -58,6 +58,7 @@
             .then((event) => {
                 IndexedDBAgent.requestDatabaseNames(WebInspector.frameResourceManager.mainFrame.securityOrigin, (error, names) => {
                     InspectorTest.expectNoError(error);
+                    names.sort();
                     InspectorTest.expectThat(names.length === 2, "Two IndexedDB databases should exist.");
                     InspectorTest.log(JSON.stringify(names));
                     resolve();
@@ -76,6 +77,7 @@
             .then((event) => {
                 IndexedDBAgent.requestDatabaseNames(WebInspector.frameResourceManager.mainFrame.securityOrigin, (error, names) => {
                     InspectorTest.expectNoError(error);
+                    names.sort();
                     InspectorTest.expectThat(names.length === 3, "Three IndexedDB databases should exist.");
                     InspectorTest.log(JSON.stringify(names));
                     resolve();
@@ -94,6 +96,7 @@
             .then((event) => {
                 IndexedDBAgent.requestDatabaseNames(WebInspector.frameResourceManager.mainFrame.securityOrigin, (error, names) => {
                     InspectorTest.expectNoError(error);
+                    names.sort();
                     InspectorTest.expectThat(names.length === 4, "Four IndexedDB databases should exist.");
                     InspectorTest.log(JSON.stringify(names));
                     resolve();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to