This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.

commit 487afe9f45a846daaf8aab8b0cc0022dbc92ce09
Author: wolfbeast <[email protected]>
Date:   Tue Feb 12 11:05:16 2019 +0100

    Allow empty string on `location.search` setter.
    
    Fixes #970.
---
 dom/base/Location.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dom/base/Location.cpp b/dom/base/Location.cpp
index 3a39a9e..1483c32 100644
--- a/dom/base/Location.cpp
+++ b/dom/base/Location.cpp
@@ -789,10 +789,6 @@ Location::GetSearch(nsAString& aSearch)
 NS_IMETHODIMP
 Location::SetSearch(const nsAString& aSearch)
 {
-  if (aSearch.IsEmpty()) {
-    return NS_OK; // Ignore empty string
-  }
-
   nsresult rv = SetSearchInternal(aSearch);
   if (NS_FAILED(rv)) {
     return rv;

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/pale-moon.git
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to