Web Inspector: AdvancedSearchController is not stopped then view is hidden.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2012 16:13:05 +0000 (16:13 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2012 16:13:05 +0000 (16:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=86466

Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-05-15
Reviewed by Vsevolod Vlasov.

AdvancedSearchController overrides "wasHidden" method instead of "willHide".

UI event-flow, not tested.

* inspector/front-end/AdvancedSearchController.js:
(WebInspector.SearchView.prototype.willHide): Renamed function.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@117080 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/AdvancedSearchController.js

index 7bbc729..26af325 100644 (file)
@@ -1,3 +1,17 @@
+2012-05-15  Eugene Klyuchnikov  <eustas.bug@gmail.com>
+
+        Web Inspector: AdvancedSearchController is not stopped then view is hidden.
+        https://bugs.webkit.org/show_bug.cgi?id=86466
+
+        Reviewed by Vsevolod Vlasov.
+
+        AdvancedSearchController overrides "wasHidden" method instead of "willHide".
+
+        UI event-flow, not tested.
+
+        * inspector/front-end/AdvancedSearchController.js:
+        (WebInspector.SearchView.prototype.willHide): Renamed function.
+
 2012-05-15  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
 
         [Qt] http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html times out
index 8ee15b2..c215f99 100644 (file)
@@ -356,7 +356,7 @@ WebInspector.SearchView.prototype = {
         this.focus();
     },
 
-    wasHidden: function()
+    willHide: function()
     {
         this._controller.stopSearch();
     },