Commit Graph
161 Commits
Author SHA1 Message Date
Jan Henning 253e87dfb3 Bug 1337115 - Part 2 - Send telemetry if session restore completely fails and we're not on the first run. r=sebastian
For a fresh profile it is expected that there are no session files to restore from, however afterwards we should normally always have a valid - if possibly empty - session file available. We try excluding the first run case by checking the first run pref used by Telemetry so far and see whether we get any reasonable results out of this...

MozReview-Commit-ID: 2ZxmLqwhk32
2017-02-17 20:02:33 +01:00
Jan Henning 05d9f4c323 Bug 1337115 - Part 1 - Make "Is first run" pref generally useable. r=sebastian
This pref could be useful for things outside of the TelemetryCorePingDelegate as well, so we have it live in GeckoApp now.

MozReview-Commit-ID: 2JZ3vNqSzcl
2017-02-23 22:16:26 +01:00
Dale Harvey b87295edb9 Bug 1321320 - Track installed manifests. r=marcos, r=s.kaspari 2017-02-17 08:24:06 +00:00
Jim Chen 30c4ea20bf Bug 1339160 - 1. Allow GeckoThread to launch without being initialized; r=snorp
When GeckoThread is launched without being initialized, it will load all
Gecko libs and then wait until it is initialized, before calling the
Gecko entry point. This allows us to preload Gecko libs without actually
running Gecko.
2017-02-15 17:12:56 -05:00
Jim Chen abbf1d1749 Bug 1337290 - 1. Detect ARM emulation for some x86 devices; r=snorp
Some x86 devices set the CPU ABI to ARM (and even change /proc/cpuinfo)
as part of emulating ARM. In that case, we check the kernel release
string find out whether it's really x86 or not.
2017-02-15 17:12:56 -05:00
Jim Chen 3e3643da35 Bug 1337053 - Fix optString conversions; r=sebastian
JSONObject.optString defaults to empty string ("") if the key doesn't
exist, whereas GeckoBundle.getString defaults to null if the key doesn't
exist. So the correct conversion for `json.optString("foo")` should be
`bundle.getString("foo", "")`. This patch fixes the wrong conversions
from before. In case we did default to null, this patch gets rid of the
redundant null second argument to GeckoBundle.getString.
2017-02-08 19:50:33 -05:00
Jim Chen 5e89131e28 Bug 1333590 - 1. Convert GeckoRequest usages to events; r=sebastian
Convert places where we use GeckoRequest (to get a callback from JS to
Java) to bundle events that use the built-in callback support.
2017-02-01 17:35:44 -05:00
Jim Chen 25b8c19ecd Bug 1333589 - 3. Convert SiteIdentityPopup observers to events; r=sebastian
Convert the "Permissions:*" and "Session:Reload" observers to events
that go through GlobalEventDispatcher.
2017-01-25 18:57:32 -05:00
Nevin Chen e8796c5cf9 Bug 1275662 - Close all tabs and clean up session files when "Open Tabs" is selected in "Clear private data on exit" or "Clear private data" pref. r=JanH,sebastian
MozReview-Commit-ID: GoUQVDIzYbI
2016-12-29 14:22:45 +08:00
Dylan Roeh fb5d7b143d Bug 1303362 - Set a flag on custom tabs so that links do not open in a new tab. r=snorp 2017-01-19 09:18:40 -06:00
Dale Harvey daf3f9c959 Bug 1234558 - Use icons from app manifest. r=marcosc, r=sebastian 2017-01-17 18:24:53 +00:00
maliu ca5176d2f8 Bug 1029646 - Update layout direction of configuration and DecorView, r=ahunt
MozReview-Commit-ID: FiDwoX45yV9
2017-01-03 15:14:59 +08:00
Jan Henning 2ac2ca6b9d Bug 1301160 - Part 2 - Update stored parent tab IDs during startup. r=sebastian
As long as the browser remains alive, tab IDs are stable and not reused, however if Firefox is killed and subsequently restarted, the ID sequence is reset and therefore all tabs opened through session restore will most probably be assigned a new tab ID.
Because of this, the stored parent tab IDs will be out of date and have to be refreshed as well so they continue pointing to the correct tab. To achieve this, we therefore create a mapping between old and new tab IDs as they are assigned and then use that to update the stored parent tab IDs, too.

MozReview-Commit-ID: 2GP2H6cUGrx
2017-01-06 19:05:08 +01:00
Jan Henning 91cd0f7e96 Bug 1301160 - Part 0 - Add an explicit string conversion to fix an error in Android Studio. r=sebastian
MozReview-Commit-ID: GLf0zXsAkAI
2016-11-18 20:14:26 +01:00
Wes Kocher e2fbcf154f Backed out changeset 090e52000b34 (bug 1303362) for android failures in test_openWindow.html a=backout
MozReview-Commit-ID: 5Nw8QEy4Z7H
2017-01-11 12:53:11 -08:00
Dylan Roeh 8e55e8b39b Bug 1329664 - Finish a CustomTabsActivity if the corresponding tab has been closed. r=snorp 2017-01-09 09:40:08 -06:00
Dylan Roeh 2b6f595477 Bug 1303362 - Set a flag on custom tabs so that links do not open in a new tab. r=snorp 2017-01-05 16:43:30 -06:00
Jan Henning 974edda741 Bug 1266594 - Part 1 - Wait for Java-side sanitizing to be triggered before exiting the UI. r=jchen
When clearing private data on exit, Gecko sends a "Sanitize:ClearHistory" message back to the Java UI, so the latter can clear the history DB if necessary.
For some users, this process is not working, presumably because there is a race condition depending on whether Gecko gets as far as sending that message before the background thread responsible for receiving that message has already shut down/had its listener unregistered, or not.

Therefore, we now wait until the UI's sanitize handlers have been called before starting to shut it down as well.

MozReview-Commit-ID: HoifMYv3spA
2016-12-31 13:35:38 +01:00
Shan 7d1bbb428a Bug 1316021 - Remove unnecessary static fields; r=sebastian 2016-12-19 17:37:33 +01:00
Nick Alexander 13509b604c Bug 1291366 - Part 2: Add o.m.geckoview.BuildConfig. r=sebastian
This is the first, mostly mechanical, introduction of a GeckoView
specific BuildConfig.

We have a few "debug logging" like checks.  I introduced a
MOZILLA_OFFICIAL abstraction and removed some of the checks as I saw
fit.  Subsequent patches will remove more of these checks.

With this change applied, Gradle is broken, because there will be
duplicate BuildConfig files included in the build.  That will be fixed
in subsequent patches.

MozReview-Commit-ID: KHhV32o5j5A
2016-12-14 20:26:03 -08:00
Nick Alexander 1d34e5b4c4 Bug 1321638 - Part 3: Add ScreenOrientationDelegate. r=jchen
This patch abstracts setting the screen orientation into an interface
(but not into the already overloaded GeckoInterface).

I feel this form obscures the (eventual) connection between the
GeckoView widget and its embedding Activity, but it removes the
explicit getActivity() and it's certainly simpler than previous
iterations.

MozReview-Commit-ID: 8a8bPTlcp3T
2016-12-16 15:45:27 -08:00
Jim Chen 5a3f21320a Bug 1321418 - Use GekcoBundle events in GeckoApp/BrowserApp; r=snorp r=sebastian r=gbrown
Bug 1321418 - 1. Use GekcoBundle events in GeckoApp; r=snorp r=sebastian

Switch GeckoApp to using GeckoBundle events everywhere. UI or Gecko
events are used if the event requires the UI or Gecko thread,
respectively, and background events are used for all other events.

There are changes to some other Java classes, such as SnackbarBuilder
and GeckoAccessibility, due to the switch to GeckoBundle.

For "Snackbar:Show", we need the global EventDispatcher because the
event can be sent to both GeckoApp and GeckoPreferences. Howveer, we
only want one listener registered at the same time, so we register and
unregister in GeckoApp's and GeckoPreferences's onPause and onResume
methods.

Bug 1321418 - 2. Use appropriate JS EventDispatcher to send GeckoApp events; r=snorp r=sebastian

Change JS code that sends events to GeckoApp to use either the global
EventDispatcher or the per-window EventDispatcher.

"Session:StatePurged" is not used so it's removed. "Gecko:Ready" in
geckoview.js is not necessary because it's only used for GeckoApp, so
it's removed from geckoview.js.

Bug 1321418 - 3. Use GeckoBundle events in BrowserApp; r=snorp r=sebastian

Switch BrowserApp to using GeckoBundle events, in a similar vein as
GeckoApp. UI or Gecko events are used if the event handlers required UI
or Gecko thread, respectively, and background events are used for all
other events.

Some other Java classes also have to be modified as a result of
switching to GeckoBundle.

Bug 1321418 - 4. Use global EventDispatcher to send BrowserApp events; r=snorp r=sebastian

Change JS code that sends events to BrowserApp to use the global
EventDispatcher instead of "Messaging".

Bug 1321418 - 5. Update usages of events in tests; r=gbrown

Update cases where we use or wait for events in tests.
2016-12-09 12:32:45 -05:00
Dylan Roeh b17dbbcea3 Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb 2016-11-14 17:22:13 -06:00
maliu 9a9a773cb7 Bug 1318663 - Don't skip load start tab during tab restore if incoming action of intent is VIEW with non-external URL. r=JanH,sebastian
MozReview-Commit-ID: 4DAYikBnzz2
2016-11-29 02:25:29 +08:00
Nevin Chen 2c980f305c Bug 1240560 - After shortcut is created, show the mobile desktop. r=sebastian
MozReview-Commit-ID: 21YzmJfNC6E
2016-11-24 10:57:19 +08:00
Dylan Roeh f456503274 Bug 1317198 - Check if a tab is null before trying to get its id in GeckoApp.onPause() r=sebastian 2016-11-16 09:07:27 -06:00
Jim Chen 0f80faec13 Bug 1307820 - Implement per-GeckoView messaging; r=snorp r=sebastian
Bug 1307820 - 1a. Move GeckoApp EventDispatcher to GeckoView; r=snorp

Make it a GeckoView-specific EventDispatcher instead of
GeckoApp-specific, so that GeckoView consumers can benefit from a
per-view EventDispatcher. In addition, a few events like Gecko:Ready are
moved back to the global EventDispatcher because that makes more sense.

Bug 1307820 - 1b. Don't use GeckoApp EventDispatcher during inflation; r=snorp

During layout inflation, we don't yet have GeckoView and therefore the
GeckoView EventDispatcher, so we should not register events until later,
typically during onAttachedToWindow.

Bug 1307820 - 2. Introduce GeckoBundle; r=snorp

The Android Bundle class has several disadvantages when used for holding
structured data from JS.

The most obvious one is the differentiation between int and double,
which doesn't exist in JS. So when a JS number is converted to either a
Bundle int or double, we run the risk of making a wrong conversion,
resulting in a type mismatch exception when Java uses the Bundle. This
extends to number arrays from JS.

There is one more gotcha when using arrays. When we receive an empty
array from JS, there is no way for us to determine the type of the
array, because even empty arrays in Java have types. We are forced to
pick an arbitrary type like boolean[], which can easily result in a type
mismatch exception when using the array on the Java side.

In addition, Bundle is fairly cumbersome, and we cannot access the inner
structures of Bundle from Java or JNI, making it harder to use.

With these factors in mind, this patch introduces GeckoBundle as a
better choice for Gecko/Java communication. It is almost fully
API-compatible with the Android Bundle; only the Bundle array methods
are different. It resolves the numbers problem by performing conversions
if necessary, and it is a lot more lightweight than Bundle.

Bug 1307820 - 3. Convert BundleEventListener to use GeckoBundle; r=snorp

Convert BundleEventListener from using Bundle to using GeckoBundle.
Because NativeJSContainer still only supports Bundle, we do an extra
conversion when sending Bundle messages, but eventually, as we eliminate
the use of NativeJSContainer, that will go away as well.

Bug 1307820 - 4. Introduce EventDispatcher interfaces; r=snorp

Introduce several new XPCOM interfaces for the new EventDispatcher API,
these interfaces are mostly mirrored after their Java counterparts.

* nsIAndroidEventDispatcher is the main interface for
  registering/unregistering listeners and for dispatching events from
  JS/C++.

* nsIAndroidEventListener is the interface that JS/C++ clients implement
  to receive events.

* nsIAndroidEventCallback is the interface that JS/C++ clients implement
  to receive responses from dispatched events.

* nsIAndroidView is the new interface that every window receives
  that is specific to the window/GeckoView pair. It is passed to chrome
  scripts through window arguments.

Bug 1307820 - 5. Remove EventDispatcher references from gfx code; r=snorp

EventDispatcher was used for JPZC, but NPZC doesn't use it anymore.

Bug 1307820 - 6. General JNI template improvements; r=snorp

This patch includes several improvements to the JNI templates.

* Context::RawClassRef is removed to avoid misuse, as Context::ClassRef
  should be used instead.

* Fix a compile error, in certain usages, in the DisposeNative overload
  in NativeStub.

* Add Ref::IsInstanceOf and Context::IsInstanceOf to mirror the
  JNIEnv::IsInstanceOf call.

* Add Ref::operator* and Context::operator* to provide an easy way to
  get a Context object.

* Add built-in declarations for boxed Java objects (e.g. Boolean,
  Integer, etc).

* Add ObjectArray::New for creating new object arrays of specific types.

* Add lvalue qualifiers to LocalRef::operator= and GlobalRef::operator=,
  to prevent accidentally assigning to rvalues. (e.g.
  `objectArray->GetElement(0) = newObject;`, which won't work as intended.)

Bug 1307820 - 7. Support ownership through RefPtr for native JNI objects; r=snorp

In addition to direct ownership and weak pointer ownership, add a third
ownership model where a native JNI object owns a RefPtr that holds a
strong reference to the actual C++ object. This ownership model works
well with ref-counted objects such as XPCOM objects, and is activated
through the presence of public members AddRef() and Release() in the C++
object.

Bug 1307820 - 8. Implement Gecko-side EventDispatcher; r=snorp

Add a skeletal implementation of EventDispatcher on the Gecko side.
Each widget::EventDispatcher will be associated with a Java
EventDispatcher, so events can be dispatched from Gecko to Java and vice
versa. AndroidBridge and nsWindow will implement
nsIAndroidEventDispatcher through widget::EventDispatcher.

Other patches will add more complete functionality such as
GeckoBundle/JSObject translation and support for callbacks.

Bug 1307820 - 9. Implement dispatching between Gecko/Java; r=snorp

Implement translation between JSObject and GeckoBundle, and use that for
dispatching events from Gecko to Java and vice versa.

Bug 1307820 - 10. Implement callback support; r=snorp

Implement callback support for both Gecko-to-Java events and
Java-to-Gecko events.

For Gecko-to-Java, we translate nsIAndroidEventCallback to a Java
EventCallback through NativeCallbackDelegate and pass it to the Java
listener.

For Java-to-Gecko, we translate EventCallback to a
nsIAndroidEventCallback through JavaCallbackDelegate and pass it to the
Gecko listener.  There is another JavaCallbackDelegate on the Java side
that redirects the callback to a particular thread. For example, if the
event was dispatched from the UI thread, we make sure the callback
happens on the UI thread as well.

Bug 1307820 - 11. Add BundleEventListener support for Gecko thread; r=snorp

Add support for BundleEventListener on the Gecko thread, so that we can
use it to replace any existing GeckoEventListener or NativeEventListener
implementations that require the listener be run synchronously on the
Gecko thread.

Bug 1307820 - 12. Add global EventDispatcher in AndroidBridge; r=snorp

Add an instance of EventDispatcher to AndroidBridge to act as a global
event dispatcher.

Bug 1307820 - 13. Add per-nsWindow EventDispatcher; r=snorp

Add an instance of EventDispatcher to each nsWindow through an
AndroidView object, which implements nsIAndroidView. The nsIAndroidView
is passed to the chrome script through the window argument when opening
the window.

Bug 1307820 - 14. Update auto-generated bindings; r=me

Bug 1307820 - 15. Update testEventDispatcher; r=snorp

Update testEventDispatcher to include new functionalities in
EventDisptcher.

* Add tests for dispatching events to UI/background thread through
  nsIAndroidEventDispatcher::dispatch.

* Add tests for dispatching events to UI/background thread through
  EventDispatcher.dispatch.

* Add tests for dispatching events to Gecko thread through
  EventDispatcher.dispatch.

Each kind of test exercises both the global EventDispatcher through
EventDispatcher.getInstance() and the per-GeckoView EventDispatcher
through GeckoApp.getEventDispatcher().
2016-11-14 21:29:50 +08:00
Dylan Roeh 1df5f79cfe Bug 1305439 - Store the last selected tab in GeckoApp in onPause and switch back to it in onResume. r=sebastian 2016-10-14 14:41:25 -05:00
Dylan Roeh eb240f7c0f Bug 1315359 - Refactor GeckoApp.onBackPressed to allow it to be used by both GeckoApp and CustomTabsActivity. r=snorp 2016-11-04 15:06:09 -05:00
Dylan Roeh f559d00720 Bug 1310195 - Set LayerView paint state to PAINT_BEFORE_FIRST in GeckoApp.initialize. r=jchen 2016-10-31 16:15:54 -05:00
Tushar Saini (:shatur) 71f4aa2ee5 Bug 1264596 - GeckoApp: Remove mCameraView and related code. r=gcp,sebastian
MozReview-Commit-ID: ACgp4iIAigw
2016-10-20 19:27:59 +05:30
Michelangelo De Simone 74c25bed4b Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA
2016-10-17 17:26:51 -07:00
Kartikaya Gupta 6741b7f6c3 Bug 1235513 - Remove the old Fennec SelectionHandler now that it has been replaced by the AccessibleCaret code in platform. r=snorp
MozReview-Commit-ID: FkOmXznyESM
2016-10-06 08:07:02 -04:00
Jim Chen 0044906898 Bug 1305498 - Refactor notification code to be more concise; r=sebastian
Bug 1305498 - 1. Remove NotificationClient task queue; r=sebastian

Not sure why we needed a task queue for NotificationClient actions. The
actions all go through IPC and are non-blocking, so it's perfectly fine
to perform them off of whatever thread we're on.

Bug 1305498 - 2. Integrate NotificationHandler et al into NotificationCllient; r=sebastian

There's no reason to have NotificationHandler, AppNotificationClient,
and ServiceNotificationClient all separate from the base
NotificationClient class. This patch adds the functionality of
those three classes to NotificationClient.

The notifications hash map is changed from a ConcurrentHashMap to a
regular HashMap with synchronization because I think the use case here
doesn't warrant the added performance and overhead of ConcurrentHashMap.

NotificationService is changed to match the new NotificationClient. Now
the only job for NotificationService is to set a notification as
foreground, rather than to manage all notifications like before.

NotificationHandler, AppNotificationClient, and
ServiceNotificationClient will be removed in a later patch.

Bug 1305498 - 3. Set NotificationListener in GeckoApplication; r=sebastian

Set NotificationListener once in GeckoApplication.onCreate, instead of
spreading it out in GeckoApp, BrowserApp, and GeckoService. This is
possible because there's no longer a distinction between
AppNotificationClient and ServiceNotificationClient in the new,
consolidated NotificationClient.

Bug 1305498 - 4. Remove obsolete notification classes; r=sebastian

Remove AppNotificationClient, ServiceNotificationClient, and
NotificationHandler, now that they've all been replaced by the new,
consolidated NotificationClient.

Bug 1305498 - 5. Use NotificationReceiver for web notification callbacks; r=sebastian

Previously, web notification callbacks went to GeckoApp directly, but
that presented some problems such as not being able to implement the
on-close callback, because we don't want to launch GeckoApp when the
notification is closed by swiping. This patch makes us use
NotificationReceiver for callbacks, and let NotificationReceiver launch
GeckoApp if necessary.

Bug 1305498 - 6. Don't keep notification cookie in native code; r=sebastian

Keep the notification cookie a single location (in the notification
intent itself), and simplify the native notification handling code.

Bug 1305498 - 7. Use NotificationReceiver for persistent notifications; r=sebastian

Currently, persistent notification callbacks go through a different code
path, but it'd be more consistent and correct to let persistent
notification callbacks go through NotificationReceiver as well.

This takes care of some housekeeping work that was missing for
persistent notifications, such as deleting the mNotifications entry when
the notification is closed.
2016-10-05 21:52:32 -04:00
Tushar Saini (:shatur) 75462f42df Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian
MozReview-Commit-ID: J4uXtUrjuKr
2016-09-22 21:20:23 +05:30
Dylan Roeh fe71e50630 Bug 1305086 - Move code from GeckoApp.onDestroy() to BrowserApp.onDestroy() so that finishing a CustomTabsActivity doesn't kill the process. r=snorp 2016-09-28 15:44:26 -05:00
Dylan Roeh 45a079c5d5 Bug 1294821 - De-singletonize EventDispatcher and make it application-specific. r=jchen 2016-09-27 11:07:24 -05:00
Jim Chen 1a9c800b6b Bug 1291368 - 2. Move BitmapUtils.getLauncherIcon to GeckoApp; r=snorp
BitmapUtils.getLauncherIcon is only called by GeckoApp, and it has some
dependencies on Fennec resources. It makes sense to move it to GeckoApp
entirely.
2016-09-23 15:27:21 -04:00
Jim Chen 74d6fcb5ba Bug 1304145 - 5. Implement NotificationListener in NotificationClient; r=nalexander
Provide Fennec's implementation of GeckoAppShell.NotificationListener in
NotificationClient. A lot of the code was removed in an earlier patch
from GeckoAppShell, so combined with this patch, we're essentially
moving code from GeckoAppShell to NotificationClient.
2016-09-22 16:38:19 -04:00
Jim Chen 6f4df53375 Bug 1304145 - 2. Change GeckoAppShell's notification interface; r=nalexander
Instead of using NotificationClient directly from GeckoAppShell, add a
NotificationListener interface, which NotificationClient would
implement. This isolates NotificationClient (and the notification
package) from GeckoAppShell and lets us move the notification package to
Fennec. It also makes a cleaner interface for GeckoView consumers to
implement notification support.
2016-09-22 16:38:19 -04:00
Jim Chen 44870b81a5 Bug 1291384 - 2. Convert GeckoProfile.getDB calls to BrowserDB.from calls; r=nalexander
Mass convert GeckoProfile.getDB() calls to BrowserDB.from() calls,
whether using Context or GeckoProfile.
2016-09-14 12:46:50 -04:00
Jim Chen af696a1a37 Bug 1301515 - Remove FormAssistPopup dependency in geckoview; r=sebastian
Remove the input method change notification that GeckoInputConnection
sends to FormAssistPopup, so there's no dependency on FormAssistPopup
from inside GeckoInputConnection or GeckoInterface. Instead,
FormAssistPopup now actively queries the current input method, and
performs blocklisting based on that.
2016-09-14 12:43:36 -04:00
Jim Chen 3f18bef980 Bug 1291385 - 3. Don't send viewport flush message; r=snorp
We used to use it to sync viewport metrics between Gecko and Java, but I
don't think this is needed anymore.
2016-09-14 12:43:36 -04:00
Jim Chen 69399ae804 Bug 1291385 - 1. Remove geckoview dependency on certain GeckoApp constants; r=sebastian
Code in geckoview depends on several string constants in GeckoApp.
This patch moves PREFS_OOM_EXCEPTION and ACTION_ALERT_CALLBACK from
GeckoApp to GeckoAppShell, to reverse the dependency. Ideally, we'd want
those constants to not be used or used differently in geckoview code,
but this is a quick workaround for now. GeckoThread uses
GeckoApp.ACTION_HOMESCREEN_SHORTCUT, but that block of code is actually
obsolete, so this patch removes the code block and the dependency.
2016-09-14 12:43:36 -04:00
Jan Henning 36f3c877bd Bug 1300647 - Part 1 - Don't bother reloading a zombified tab if we're about to exit the app. r=ahunt
When pressing the back button reaches the beginning of session history for a tab opened from an external app, we both close the tab and send Firefox into background. Closing the tab leads to some other tab getting selected instead - if that other tab was zombified, this means that we'll then start restoring it.

This behaviour is
- visibly distracting, as that other tab will be visible for a split second while it starts reloading before Firefox finally disappears into the background
- wasteful of resources - while restoring a zombified tab is usually done from cache, at the very least we'll waste some CPU cycles reloading a tab even though we're in background

Therefore, in this situation the UI now alerts the session store that it needn't bother restoring that other tab if it's in a zombie state. Instead, we'll restore it the next time Firefox comes into foreground - if the tab is still selected by then.

MozReview-Commit-ID: 3FcjCZrJ0Ds
2016-09-13 20:46:03 +02:00
Wes Kocher d38092fe50 Merge m-c to inbound, a=merge 2016-09-07 18:07:21 -07:00
Carsten "Tomcat" Book b95ddfd9ff Merge mozilla-central to autoland 2016-09-07 17:26:11 +02:00
Zero One 13c2bb1540 Bug 1292191 - Remove unneccesary check for mShouldRestore. r=mkaply
MozReview-Commit-ID: 3amKuifhpfu
2016-09-07 16:35:26 -05:00
Farmer Tseng 9eb56eccb7 Bug 846203 - the user activity timer will be reset when the Wakelock is released(for Android). r=snorp
MozReview-Commit-ID: 8GN81YzNjGM
2016-09-05 16:52:18 +08:00
Sebastian Kaspari d24e41ddb2 Bug 1290014 - Remove obsolete code. r=ahunt,Grisha
Most of the code in the favicons package is now obsolete and can be
removed. Most of this code still exists in the icons package (in smaller
chunks).

MozReview-Commit-ID: 6J4pgd5doNt
2016-08-17 17:27:06 +02:00