Commit Graph

12038 Commits

Author SHA1 Message Date
Justin Lebar
f842757ea0 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Justin Lebar
c3306b8b0a Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar
5c2d14d8ce 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
636ac9e80a 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
4009c9f33e 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
956db5faa3 Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Dave Hylands
46b9a39c96 Bug 839422 - Don't enable adb when toggling USB Tethering. r=qdot 2013-02-14 12:21:08 -08:00
Trevor Saunders
57ea64cf9e bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Trevor Saunders
60c334769d bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Alexandre Poirot
8c333fdec4 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]
56699f2101 Bug 840344: Prevent multiple creations of local SDP r=ekr,jsmith 2013-02-14 10:04:09 -06:00
Andrea Marchesini
97682ecd81 Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Eric Chou
08f90d420f Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
Fernando Jiménez
d147712b9e 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
f72c8d5743 Bug 841067 - Fix sandbox xhr tests. r=bz 2013-02-14 10:40:15 +01:00
Ed Morley
4a49811056 Backed out changeset 1651dcb62397 (bug 835563) on a CLOSED TREE 2013-02-14 10:03:30 +00:00
Ed Morley
e54fbbb2fe Backed out changeset 1cb87cc6b6a8 (bug 840277) 2013-02-14 10:02:54 +00:00
Ed Morley
c365ff99ef Backed out changeset fc2132ad05a1 (bug 836654) 2013-02-14 10:02:52 +00:00
Ed Morley
2a3f3eb8c6 Backed out changeset 1862aa4b43ce (bug 836654) 2013-02-14 10:02:41 +00:00
Ed Morley
d68aae2682 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley
82be364a51 Backed out changeset 693868d079cd (bug 836654) 2013-02-14 10:02:35 +00:00
Ed Morley
2db41311e4 Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley
01f06445b2 Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Ed Morley
b5e05fcf32 Backed out changeset 8cf341d4ccbd (bug 836654) 2013-02-14 10:02:24 +00:00
Ed Morley
75b438b79f Backed out changeset a74f08ec0e46 (bug 836654) 2013-02-14 10:02:18 +00:00
Justin Lebar
4cc7ecbca0 Bug 836654 - Fix -werror silliness. r=me 2013-02-14 03:01:06 -05:00
Justin Lebar
dbc8e3cea3 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
7dc574c0e9 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
b64483ba2b 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
ab0ed3fbc3 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
edfe849009 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Justin Lebar
0829bd3cc0 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar
2527c25d37 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
c2423b8cad 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
2d870ab97c 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
4ee86d7149 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Gregor Wagner
a23cd0098a Bug 841234 - PhoneNumberJS: fix typo with lastKnownMcc. r=mrbkap 2013-02-13 17:07:28 -08:00
Bobby Holley
8f7e048c1d 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
a781738c64 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Fabrice Desré
8983c2c85b Bug 839810 - Race condition installing apps on linux r=ferjm 2013-02-13 11:55:45 -08:00
Georg Fritzsche
7ffc75bff5 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Boris Zbarsky
79b00ac815 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
c5234c93ec Backed out changeset fba52fc5161a (bug 813906) 2013-02-13 12:05:39 +00:00
Ed Morley
e3e8a94440 Backed out changeset 230f42e5e26d (bug 813906) 2013-02-13 12:05:36 +00:00
Georg Fritzsche
f6e3beb591 Fix fba52fc5161a, bug 813906, test bustage. 2013-02-13 12:34:22 +01:00
Georg Fritzsche
69aae4a413 Bug 813906 - Mochitest for unified base URI usage. r=bsmedberg 2012-11-23 20:35:49 +01:00
Masayuki Nakano
d7c9686558 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
28e25923c5 Bug 837324 - Crashtest for WebRTC crash [@fsmdef_ev_addcandidate]. r=jesup 2013-02-05 00:35:21 -08:00
Ryan VanderMeulen
b39cc7050b Merge m-c to inbound. 2013-02-12 21:26:49 -05:00
Ryan VanderMeulen
cfb35019f6 Merge m-c to inbound. 2013-02-12 21:25:43 -05:00