Bug 751488 - Can't reload the page after clearing private data. r=mfinkle
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Thu, 03 May 2012 13:06:06 -0700
changeset 93027 fa7094b8282d5febaa7c3c6192e213f41ac73b7d
parent 93026 cd1e10a767fd3cc011966a0546875ecea3805454
child 93028 1201088e9f5154d2bc3c534053acfc0d4e2d1bc7
push id8942
push usermleibovic@mozilla.com
push dateThu, 03 May 2012 21:04:43 +0000
treeherdermozilla-inbound@fa7094b8282d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs751488
milestone15.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 751488 - Can't reload the page after clearing private data. r=mfinkle
mobile/android/base/Tab.java
--- a/mobile/android/base/Tab.java
+++ b/mobile/android/base/Tab.java
@@ -417,18 +417,16 @@ public final class Tab {
                     return;
 
                 BrowserDB.removeBookmarksWithURL(mContentResolver, url);
             }
         });
     }
 
     public boolean doReload() {
-        if (mHistory.isEmpty())
-            return false;
         GeckoEvent e = GeckoEvent.createBroadcastEvent("Session:Reload", "");
         GeckoAppShell.sendEventToGecko(e);
         return true;
     }
 
     public boolean doBack() {
         if (mHistoryIndex < 1) {
             return false;