Commit Graph

12039 Commits

Author SHA1 Message Date
Justin Lebar
2d28f43dab Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
523e77abbd Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Justin Lebar
f1f9579558 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
81e5bc4c3f Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 15:41:29 -05:00
Justin Lebar
2479e627f8 Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 15:41:29 -05:00
Justin Lebar
f4358d3449 Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones 2013-02-14 15:41:29 -05:00
Masatoshi Kimura
b9f50fa45b Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Dave Hylands
2a64897757 Bug 839422 - Don't enable adb when toggling USB Tethering. r=qdot 2013-02-14 12:21:08 -08:00
Trevor Saunders
56e8ed5cca bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Trevor Saunders
dacbf11a24 bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Alexandre Poirot
de5f64d948 Bug 834515 - Updating to a packaged app with a new name via introducing a locale override allows changing the app name r=fabrice 2013-02-14 09:23:58 -08:00
Adam Roach [:abr]
5461f0563c Bug 840344: Prevent multiple creations of local SDP r=ekr,jsmith 2013-02-14 10:04:09 -06:00
Andrea Marchesini
c614e41e70 Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Eric Chou
e08bf536bc Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
Fernando Jiménez
6d34d98eba Bug 840078 - onerror callback is never triggered over the DOMRequest returned by mozIDOMApplication.launch; r=fabrice 2013-02-14 11:56:30 +01:00
Bobby Holley
b0206bf82e Bug 841067 - Fix sandbox xhr tests. r=bz 2013-02-14 10:40:15 +01:00
Ed Morley
5d6a7991c8 Backed out changeset 1651dcb62397 (bug 835563) on a CLOSED TREE 2013-02-14 10:03:30 +00:00
Ed Morley
d32c6a8452 Backed out changeset 1cb87cc6b6a8 (bug 840277) 2013-02-14 10:02:54 +00:00
Ed Morley
6b838a5150 Backed out changeset fc2132ad05a1 (bug 836654) 2013-02-14 10:02:52 +00:00
Ed Morley
00545ca012 Backed out changeset 1862aa4b43ce (bug 836654) 2013-02-14 10:02:41 +00:00
Ed Morley
3ad7657314 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley
a76fd1be2c Backed out changeset 693868d079cd (bug 836654) 2013-02-14 10:02:35 +00:00
Ed Morley
adc9ac524e Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley
0983efe42c Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Ed Morley
eeff63c587 Backed out changeset 8cf341d4ccbd (bug 836654) 2013-02-14 10:02:24 +00:00
Ed Morley
eaa22b5edb Backed out changeset a74f08ec0e46 (bug 836654) 2013-02-14 10:02:18 +00:00
Justin Lebar
f1b8ed2cd0 Bug 836654 - Fix -werror silliness. r=me 2013-02-14 03:01:06 -05:00
Justin Lebar
2d0eb5e978 Bug 836654 - Part 10: Don't acquire the CPU wake lock in the alarm service any longer. r=cjones
We've removed the event that the AlarmService was listening to in order
to find out when we could drop the lock!
2013-02-14 02:26:44 -05:00
Justin Lebar
c72a643f07 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 02:26:44 -05:00
Justin Lebar
4178a47341 Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 02:26:44 -05:00
Justin Lebar
0756fae780 Bug 836654 - Part 6: If a process is "critical" and holds the "cpu" or "high-priority" wake lock, give it priority FOREGROUND_HIGH. r=cjones 2013-02-14 02:26:44 -05:00
Justin Lebar
25adb2c9b1 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Justin Lebar
58c430238b Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar
c3efa743bc Bug 836654 - Part 0: Add constants CONTENT_PROCESS_{UNKNOWN_ID,MAIN_ID} to HalTypes.h and remove the equivalent constants from ContentParent.h. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar
ab6c6b406d Bug 840277 - Explicitly check that the preallocated process hasn't been killed before we use it. r=cjones
We have to do this check /after/ we set the process's priority, since
before then, it has BACKGROUND priority and is a candidate for killing.
2013-02-14 02:26:43 -05:00
Justin Lebar
8ed8dd696b Bug 835563 - When an iframe mozbrowser's embedder calls setVisible(false), immediately send the relevant process into the background (if none of its other frames are in the foreground). r=cjones 2013-02-14 02:26:43 -05:00
Ryan VanderMeulen
cf5adab5f1 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Gregor Wagner
ed3b854568 Bug 841234 - PhoneNumberJS: fix typo with lastKnownMcc. r=mrbkap 2013-02-13 17:07:28 -08:00
Bobby Holley
b340ba14ec Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Jeff Gilbert
3375a513c3 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Fabrice Desré
277505ca11 Bug 839810 - Race condition installing apps on linux r=ferjm 2013-02-13 11:55:45 -08:00
Georg Fritzsche
8c689a1dbd Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Boris Zbarsky
4402bd383b Bug 840614. Fix the browserelement auth tests to not throw exceptions and actually test what they mean to test. r=jdm 2013-02-13 10:11:53 -05:00
Ed Morley
ecf12df05c Backed out changeset fba52fc5161a (bug 813906) 2013-02-13 12:05:39 +00:00
Ed Morley
d284176066 Backed out changeset 230f42e5e26d (bug 813906) 2013-02-13 12:05:36 +00:00
Georg Fritzsche
8780b762d1 Fix fba52fc5161a, bug 813906, test bustage. 2013-02-13 12:34:22 +01:00
Georg Fritzsche
64e6c63551 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Masayuki Nakano
e37ff211be Bug 833719 part.1 Register some DOM keyCode values for Windows giving virtual keycode names and all OEM speicific virtual keyCode of Windows except we already used values r+sr=smaug 2013-02-13 14:47:19 +09:00
Jason Smith
ded65ce9c1 Bug 837324 - Crashtest for WebRTC crash [@fsmdef_ev_addcandidate]. r=jesup 2013-02-05 00:35:21 -08:00
Ryan VanderMeulen
52d2c95f33 Merge m-c to inbound. 2013-02-12 21:26:49 -05:00