Граф коммитов

15167 Коммитов

Автор SHA1 Сообщение Дата
Yury Delendik 69a7ff37d4 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Aaron Klotz 8e3ac4090b Bug 834127 - Make Plugin Hang UI dialog unowned. r=bsmedberg 2013-02-14 18:03:05 -05:00
Ryan VanderMeulen 0cd3da99d9 Merge m-c to inbound. 2013-02-14 18:03:02 -05:00
Ryan VanderMeulen f0a8ded71f Merge the last PGO-green inbound changeset to m-c. 2013-02-14 17:16:49 -05:00
Ryan VanderMeulen 25195103db Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE. 2013-02-14 16:52:54 -05:00
Justin Lebar 86563bb561 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 15:41:30 -05:00
Justin Lebar a2a06aa787 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 15:41:30 -05:00
Justin Lebar 1ed9b7bade 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 15:41:30 -05:00
Justin Lebar 4f1627e9e7 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 4ad2742309 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Justin Lebar e8a7bef2e4 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 15:41:30 -05:00
Justin Lebar e714d6c4cf 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 da6965599b 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 b264db7208 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 e5f58138b5 Bug 841479 - Remove nsISupports inheritance from TextDecoder and TextEncoder. r=bz 2013-02-15 05:36:50 +09:00
Randell Jesup 4c966d0634 Bug 829907: release video capture device on MainThread (mac only) r=bsmedberg 2013-02-14 14:59:27 -05:00
Dave Hylands 052f926324 Bug 839422 - Don't enable adb when toggling USB Tethering. r=qdot 2013-02-14 12:21:08 -08:00
Alexandre Poirot 038b1a029b 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
Ryan VanderMeulen 0f9300ca00 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Adam Roach [:abr] 13614479ee Bug 840344: Prevent multiple creations of local SDP r=ekr,jsmith 2013-02-14 10:04:09 -06:00
Andrea Marchesini 6755c6fcbc Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Eric Chou cae4593265 Bug 834816 - Disconnect all acl connections before disabling Bluetooth, r=qdot 2013-02-14 23:16:37 +08:00
Trevor Saunders a02716ba7a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Trevor Saunders 3e028f8788 bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Gregor Wagner ca93709473 Bug 841234 - PhoneNumberJS: fix typo with lastKnownMcc. r=mrbkap 2013-02-13 17:07:28 -08:00
Bobby Holley 424b997531 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 c0a7597ab0 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Fernando Jiménez f6b9c493cf 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 5e7c3d4724 Bug 841067 - Fix sandbox xhr tests. r=bz 2013-02-14 10:40:15 +01:00
Ed Morley 5cf4ceb154 Backed out changeset 1651dcb62397 (bug 835563) on a CLOSED TREE 2013-02-14 10:03:30 +00:00
Ed Morley 420e203950 Backed out changeset 1cb87cc6b6a8 (bug 840277) 2013-02-14 10:02:54 +00:00
Ed Morley 720b351f27 Backed out changeset fc2132ad05a1 (bug 836654) 2013-02-14 10:02:52 +00:00
Ed Morley 8138f0f629 Backed out changeset 1862aa4b43ce (bug 836654) 2013-02-14 10:02:41 +00:00
Ed Morley 2441635be1 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley 96f0163d6e Backed out changeset 693868d079cd (bug 836654) 2013-02-14 10:02:35 +00:00
Ed Morley 8d3e1b8cde Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley 1a2d6fa58d Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Ed Morley 972e02bf0a Backed out changeset 8cf341d4ccbd (bug 836654) 2013-02-14 10:02:24 +00:00
Ed Morley 790a34b2d5 Backed out changeset a74f08ec0e46 (bug 836654) 2013-02-14 10:02:18 +00:00
Justin Lebar 0b288fce56 Bug 836654 - Fix -werror silliness. r=me 2013-02-14 03:01:06 -05:00
Justin Lebar 2568de40e6 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 451c447788 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 8cf00da75f 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 7581548ce1 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 e24833e1b4 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Justin Lebar ca51cd7e87 Bug 836654 - Part 4: Add PowerManagerService::NewWakeLockOnBehalfOfProcess. r=cjones 2013-02-14 02:26:43 -05:00
Justin Lebar 239e3f51fc 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 9f4d1cf12d 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 3161a04a33 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
Fabrice Desré cf5abb85cf Bug 839810 - Race condition installing apps on linux r=ferjm 2013-02-13 11:55:45 -08:00