Bug 854880 - Make canceling a RunnableFunction actually cancel the task. r=bent
Bug 854924 - Change "can't allocate graphics resources" in TabParent to an NS_WARNING. r=bent

We hit this assertion during our tests, which sometimes complete before
the subprocess is Show()'n.  This isn't a bug, as far as I can tell.

Changing the NS_ERROR to NS_WARNING keeps us from failing on tryserver.
Bug 852847 - Part 1: Disable browserElement_oop_KeyEvents.html. r=kk1ff

In fact this test was already disabled; the OOP version was the same as
the in-process version because the test explicitly disabled OOP tabs.
Bug 852847 - Part 2: Do things later in our browser-element tests, thus avoiding doing things before the browser-element machinery has loaded. r=kk1ff

Also set network.disable.ipc.security to true and leave it that way. This prevents security errors in the tests which happen when we pop the pref.
Bug 852847 - Part 3: Re-enable some browser-element tests. r=kk1ff
Bug 856006 - Try to fix intermittent failures in KeyEvents browser-element test.

The intermittent failures are coming from events with keyCodes 34, 93,
and 95, corresponding to ", ], and _.  The test doesn't send any of
these keys; I don't know where they're coming from.  But at the very
least, we can not turn the test orange when we receive these events.

This change also removes some comments in the test about keypresses
being preventDefault'ed that, as far as I can tell, are incorrect.
Bug 844323 - WIP: Move procesprioritymanager to main process.

Don't forget to remove ProcessPriorityManager-old.cpp
Bug 844323 - ProcessPriorityManager tests.
Adding test_Visibility.html.
Bug XXX - Remove some warnings in toolkit/xre/nsAppRunner.cpp.
Bug XXX - Remove a warning in the startupcache.
Use a pref to in nsHTMLMediaElement to control whether we talk to the audio service.

Previously, we used #ifdef B2G.  Using a pref allows us to write mochitests which run in desktop Firefox that test the audio service and its interaction with other components.
Adding audio process priority test.