Commit Graph

20 Commits

Author SHA1 Message Date
Martyn Haigh
22349a42c7 Bug 1195721 - Set a home page; r=mfinkle 2015-09-14 14:21:14 +01:00
Jim Chen
cea34e4151 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Mark Finkle
c9db446049 Bug 1183724 - Add more complete telemetry coverage of GeckoApp startup actions r=margaret 2015-07-16 17:41:47 -04:00
Michael Comella
7c0556848e Bug 1162423 - Handle Browser.EXTRA_CREATE_NEW_TAB. r=margaret
I simplified the code by passing an Intent into the loadUrl functions rather
than two arguments.
2015-05-11 11:11:18 -07:00
Michael Comella
d632ee27c0 Bug 840574 - Add applicationId to tabs; use it to open new urls in the correct tabs. r=margaret
Note that I'm not actually sure where delayLoad and selected are used by
Gecko and thus the side effects of changing them (but I did set the flags
as I'd expect for them to work).
2015-05-01 15:04:07 -07:00
Michael Comella
f99ab424e1 Bug 1106935 - Remove references to old tablet sidebar. r=mhaigh 2015-04-02 10:45:31 -07:00
Richard Newman
e03ea96bcf Bug 1123688 - Set BrowserDB factory in application startup, not only for GeckoApp subclasses. r=bnicholson
The issue: only by launching GeckoApp (or a subclass) did we specify what kind of DB we wanted. If we don't specify, we get a StubBrowserDB.

The search activity is not a GeckoApp, but it does implicitly access a profile.

The same is true for Sync: a background Sync would eventually cause the CP to touch GeckoProfile to get the profile directory.

Both of these avenues will poison the GeckoProfile cache, storing a profile with a database member that's a StubBrowserDB.

If you subsequently launched the browser you'd get that GeckoProfile instance from the profile cache. StubBrowserDB deliberately returns null for some queries -- such as getTopSites. That causes us to throw here.

The solution I chose: have *GeckoApplication* specify which kind of DB to use, and then have WebappImpl (the only subclass for which we want different behavior) override it.

GeckoView consumers remain unaffected, because they have their own Application class, and so the usual GeckoProfile fallback applies.
2015-01-22 20:23:38 -08:00
Richard Newman
62fa7b6eee Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.
2015-01-11 20:45:09 -08:00
Mark Finkle
98f8a492a4 Bug 937253 - Make pinned tabs work for Homescreen shortcuts r=bnicholson 2015-01-07 23:53:28 -05:00
Richard Newman
9d0c3c4a96 Bug 1090385 - More robust handling of external intents. r=snorp 2014-10-28 14:28:31 -07:00
Chris Kitching
5a6ad29b3e Bug 1081597: Refactor some branches. r=rnewman
* * *
Bug 1081597: Refactor some branches. r=rnewman
2014-10-12 01:41:42 +01:00
Chris Kitching
16733ab9af Bug 1064644: Remove inner-access comments. r=rnewman 2014-09-08 18:11:51 -07:00
Chris Kitching
7e45bcd2dc Bug 1051706: Reduce use of proxy methods and generated getters in 'other' code. r=rnewman 2014-07-28 17:32:59 -07:00
Chris Kitching
6c49e51198 Bug 1041836: Delete redundant initialisers. (generated) r=rnewman 2014-07-25 20:14:47 -07:00
Richard Newman
6a92b2a80a Bug 1021443 - java.lang.IllegalStateException: Already registered Webapps:Postinstall under a different type. r=jchen 2014-06-05 19:38:01 -07:00
Clemens Wilding
f2ee4ae94d Bug 920855 - Replace java.net.URL with java.net.URI wherever possible. r=rnewman 2014-04-16 08:42:15 -07:00
Myk Melez
c808a1ff0a Bug 968129 - load initial tab in WebappImpl:loadStartupTab; r=mfinkle 2014-04-01 23:32:42 -07:00
Myk Melez
02c150a3d3 Bug 982559 - use intent data to start app from legacy shorcut; r=wesj 2014-03-28 11:27:46 -07:00
Myk Melez
656d2e8958 Bug 982557 - migrate old prefs and set apkPackageName after updating app via APK; r=mfinkle 2014-03-22 14:26:43 -07:00
Martyn Haigh
32b676b4dd bug 958358 - make webapp capitalisation consistent; r=wesj 2014-02-11 23:41:05 -08:00