[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

apavlov at chromium.org apavlov at chromium.org
Wed Dec 22 11:16:56 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8febffd1faee8472aeeba6662bb16f0ba5a827d3
Author: apavlov at chromium.org <apavlov at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 16 16:28:43 2010 +0000

    2010-07-16  Alexander Pavlov  <apavlov at chromium.org>
    
            Reviewed by Pavel Feldman.
    
            Web Inspector: Shift-Enter does not do a reverse search. It searches forward.
            https://bugs.webkit.org/show_bug.cgi?id=42459
    
            * inspector/front-end/inspector.js:
            (WebInspector.performSearch):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63558 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 297b54f..7e02040 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-07-16  Alexander Pavlov  <apavlov at chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: Shift-Enter does not do a reverse search. It searches forward.
+        https://bugs.webkit.org/show_bug.cgi?id=42459
+
+        * inspector/front-end/inspector.js:
+        (WebInspector.performSearch):
+
 2010-07-16  Pavel Feldman  <pfeldman at chromium.org>
 
         Reviewed by Yury Semikhatsky.
diff --git a/WebCore/inspector/front-end/inspector.js b/WebCore/inspector/front-end/inspector.js
index f0eef5e..4ccdf6f 100644
--- a/WebCore/inspector/front-end/inspector.js
+++ b/WebCore/inspector/front-end/inspector.js
@@ -1879,8 +1879,13 @@ WebInspector.performSearch = function(event)
     if (query === this.currentPanel.currentQuery && this.currentPanel.currentQuery === this.currentQuery) {
         // When this is the same query and a forced search, jump to the next
         // search result for a good user experience.
-        if (forceSearch && this.currentPanel.jumpToNextSearchResult)
-            this.currentPanel.jumpToNextSearchResult();
+        if (forceSearch) {
+            var backward = event.shiftKey;
+            if (!backward && this.currentPanel.jumpToNextSearchResult)
+                this.currentPanel.jumpToNextSearchResult();
+            else if (backward && this.currentPanel.jumpToPreviousSearchResult)
+                this.currentPanel.jumpToPreviousSearchResult();
+        }
         return;
     }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list