Title: [250639] trunk/Tools
Revision
250639
Author
[email protected]
Date
2019-10-02 17:19:10 -0700 (Wed, 02 Oct 2019)

Log Message

results.webkit.org: Only automatically search when multiple lines are pasted
https://bugs.webkit.org/show_bug.cgi?id=202496

Rubber-stamped by Aakash Jain.

* resultsdbpy/resultsdbpy/view/static/js/search.js:
(SearchBar): If only a single line has been pasted, do not automatically dispatch
the search.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (250638 => 250639)


--- trunk/Tools/ChangeLog	2019-10-02 23:41:28 UTC (rev 250638)
+++ trunk/Tools/ChangeLog	2019-10-03 00:19:10 UTC (rev 250639)
@@ -1,5 +1,16 @@
 2019-10-02  Jonathan Bedard  <[email protected]>
 
+        results.webkit.org: Only automatically search when multiple lines are pasted
+        https://bugs.webkit.org/show_bug.cgi?id=202496
+
+        Rubber-stamped by Aakash Jain.
+
+        * resultsdbpy/resultsdbpy/view/static/js/search.js:
+        (SearchBar): If only a single line has been pasted, do not automatically dispatch
+        the search.
+
+2019-10-02  Jonathan Bedard  <[email protected]>
+
         Python 3: Add test-webkitpy for Python 3 (Follow-up fix)
         https://bugs.webkit.org/show_bug.cgi?id=201954
 

Modified: trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/search.js (250638 => 250639)


--- trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/search.js	2019-10-02 23:41:28 UTC (rev 250638)
+++ trunk/Tools/resultsdbpy/resultsdbpy/view/static/js/search.js	2019-10-03 00:19:10 UTC (rev 250639)
@@ -218,6 +218,8 @@
                     tests.add(str);
                 });
                 tests = [...tests];
+                if (tests.length <= 1)
+                    return;
 
                 let pairs = [];
                 let outstanding = suites.length;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to