Bug 770160 - Page title changes for a brief period when a new page is loaded. r=mfinkle
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Thu, 12 Jul 2012 11:09:40 -0700
changeset 99092 6091c6a6f4b24789c75a94d146dc1e950cfc8fb6
parent 99091 67e09e165ce691bc439ad7a79ac2ca461c32e612
child 99093 34982c7bcd3043d92c76ba62047fc397652f6955
push id11816
push usermleibovic@mozilla.com
push dateThu, 12 Jul 2012 18:09:58 +0000
treeherdermozilla-inbound@34982c7bcd30 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs770160
milestone16.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 770160 - Page title changes for a brief period when a new page is loaded. r=mfinkle
mobile/android/base/GeckoApp.java
--- a/mobile/android/base/GeckoApp.java
+++ b/mobile/android/base/GeckoApp.java
@@ -821,16 +821,17 @@ abstract public class GeckoApp
         tab.setDocumentURI(documentURI);
 
         // We can get a location change event for the same document with an anchor tag
         if (sameDocument)
             return;
 
         tab.setContentType(contentType);
         tab.clearFavicon();
+        tab.updateTitle(null);
         tab.updateIdentityData(null);
         tab.setReaderEnabled(false);
         tab.setAllowZoom(true);
         tab.setDefaultZoom(0);
         tab.setMinZoom(0);
         tab.setMaxZoom(0);
         tab.setHasTouchListeners(false);
         tab.setCheckerboardColor(Color.WHITE);