Bug 836515 - Allow source compression to run while executing the script. r=jorendorff, a=tef+
Bug 837715 - Reduce compression rate for js source. r=benjamin, a=tef+

This cuts the time to compress gaia-email-opt.js from 0.63 seconds to 0.33
seconds.  The result should still be smaller (391K from 321K before) than the
compressing with snappy or lz4 (528K), but decompression time will be worse.
Fortunately, this will only penalize Function.toSource() which I think is an ok
trade off.
Bug 758103 - Return charging time of zero if no battery interface exists. r=mounir, r=dhylands, a=lsblakk

On the PandaBoard, and probably other platforms, no battery exists and
the related kernel interfaces are missing. The HAL returns 'charging' at
a battery level of 100%. The charging time is set to 'unknown'. This is
inconsistent according to the battery manager.

With this patch, the returned charging time is set to zero, which fulfills
the battery manager's requirements. The patch also cleans up and simplifies
the source code.
Bug 822450 - Create a syntheticEventsOk pref for marionette identity tests. r=benadida, a=lsblakk
Bug 824148 - [KEYBOARD] Input type=range should bring up the number keyboard. r=ttaubert, a=lsblakk
Bug 827888 - Fix usage of sIsParing variable. r=echou, r=qdot, a=lsblakk

The variable sIsPairing signals to the Bluetooth pairing response
notifier if pairing is still requested.

Being a boolean value, the variable only supported one pairing request
at a time. To support multiple parallel pairing requests, this patch
converts it into a counter. The counter is atomic, because notifier
calls run in separate threads.

Additionally, we now set sIsPairing before starting the pairing request.
Otherwise the notifier might run before we can increment the variable.
Bug 827888 - Explicitly call notifier if DBUS call completes early. r=echou, r=qdot, a=lsblakk

If a DBUS call completes before we can set the notifier function, the
call's response never gets handled. To workaround this problem, we now
call the notifier explicitly if the call completes this early.

It can still happen that the call's response gets lost, but this
workaround greatly improves the success rate for our problem of handling
errors during Bluetooth device pairing; from maybe 10% to 75%.
Bug 820571 - Don't show remote frame on restyles until reflow finished. r=roc, a=lsblakk

Original work from :roc.
Add check in nsFrameLoader::ShowRemoteFrame() so restyle of subdocument frames
doesn't resize remote content until first reflow finished and size is decided.