Commit Graph

1262 Commits

Author SHA1 Message Date
Tom Schuster
3864c304c1 Bug 886903 - Send correct UserAgent data for content process. r=jdm 2013-04-22 18:41:59 +02:00
Tom Schuster
c3a3b8fa79 Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Ryan VanderMeulen
97083e557a Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
f5ccc808eb Bug 886903 - Send correct UserAgent data for content process. r=jdm 2013-04-22 18:41:59 +02:00
Tom Schuster
46fe724e6d Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Reuben Morais
bb425fd69b Bug 889503 - Move Settings API to WebIDL. r=gwagner r=bz
--HG--
extra : rebase_source : 9f858f389b71344353658d4ed49996e0d90b8b99
2013-07-15 18:17:46 -07:00
Botond Ballo
aa89fe2cd5 Bug 891468 - Convert nsEventStateManager::GetChildProcessOffset to return a LayoutDeviceIntPoint instead of an nsIntPoint. r=smaug 2013-07-11 10:43:35 -04:00
Botond Ballo
336bc41be0 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-11 10:43:35 -04:00
Masayuki Nakano
80b0b5d760 Bug 875674 part.1 nsIMEUpdatePreference should store wanted updates per notification r=roc 2013-07-11 16:46:34 +09:00
Wes Kocher
e4601507f5 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
David Anderson
144a6b0e34 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Gregory Szorc
7b97260199 Bug 891626 - Consistent filename casing for "ipc"; r=bsmedberg
"ipc" and "IPC" are used to refer to the same directory. "ipc" is more
popular than "IPC" so the latter has been downcased.

--HG--
extra : rebase_source : 378d442df62b8e401ed2a10f36889cfce6e88227
2013-07-10 12:08:23 -07:00
Ryan VanderMeulen
1d7eff0f7a Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
David Zbarsky
8161e27f6d Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar 2013-07-10 13:07:51 -04:00
David Zbarsky
22bccfeb0c Bug 879475 - Move some blob constructor params to ipdlh headers r=jlebar 2013-07-10 13:07:51 -04:00
David Zbarsky
81859a795a Bug 879475 - Move TabContext to its own ipdl header r=jlebar
--HG--
rename : dom/ipc/PContent.ipdl => dom/ipc/PTabContext.ipdlh
2013-07-10 13:07:50 -04:00
Trevor Saunders
d82043f811 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
3d31820419 Backed out changeset 3265d1e6ed10 (bug 890938) for Werror bustage. 2013-07-10 10:46:31 -04:00
Botond Ballo
55a463e643 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-10 10:04:20 -04:00
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
JW Wang
72be006ba9 Bug 865347 - Add functions to manipulate fake volumes to test SD card insert/remove. r=dhylands 2013-07-09 14:37:47 +08:00
Ryan VanderMeulen
8246620655 Backed out changesets d76274933db8 and dd3cedcdbe2b (bug 865347) to see if it fixes the Marionette timeouts. 2013-07-09 14:21:02 -04:00
JW Wang
5bcc274fc7 Bug 865347 - Add functions to manipulate fake volumes to test SD card insert/remove. r=dhylands 2013-07-09 14:37:47 +08:00
Justin Lebar
398f76794b Bug 890135 - Switch B2G's "gc log" dumping to produce all-traces logs by default. r=mccr8
This patch also adds "abbreviated gc log", which produces a not-all-traces CC log.

--HG--
extra : rebase_source : 84eed72c34b7cc8116fbe05258f5de22bf3275bc
2013-07-08 13:20:39 -04:00
David Zbarsky
5719801b21 Bug 885804: Blob changes r=jlebar 2013-07-08 11:48:40 -04:00
David Zbarsky
7c1e9e4d0f Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Mike Shal
2f5d43999f Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Anthony Jones
dc295bc5fe Bug 864447 - Set display port for given scroll id; r=BenWa 2013-07-10 11:26:07 +12:00
Kartikaya Gupta
d0a44b7fb5 Bug 866265 - Fix setting the resolution on hi-dpi B2G devices (followup to bug 883646). r=kentuckyfriedtakahe 2013-07-03 09:03:28 -04:00
David Anderson
a52a14df6e Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug). 2013-07-03 00:24:32 -07:00
David Anderson
0100dc0e39 Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones). 2013-07-02 11:22:18 -07:00
Bobby Holley
2cc8f76cf2 Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley
297c3002d2 Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley
4cd50c50a8 Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley
694b2f0c90 Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-30 09:00:19 -06:00
Bobby Holley
05ff089d53 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley
1f929a8626 Bug 865745 - Use a SafeJSContext in TabChildParent. r=smaug
This is just used for rooting, but happens to be a consumer of
nsFrameMessageManager::GetJSContext, which we're about to remove.
2013-06-30 09:00:19 -06:00
Bobby Holley
9b8345e3a5 Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-30 09:00:18 -06:00
Phil Ringnalda
aa7316894b Back out 9a57cd3e5a93:b62548e26499 (bug 865745) for causing an unexpected exception in a mochiperf test 2013-06-29 20:27:48 -07:00
Bobby Holley
eb3e2db571 Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley
f8a389da3d Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley
78a6220dfc Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley
f33a413188 Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-29 18:44:05 -06:00
Bobby Holley
adb2251a40 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley
c4a4101312 Bug 865745 - Use a SafeJSContext in TabChildParent. r=smaug
This is just used for rooting, but happens to be a consumer of
nsFrameMessageManager::GetJSContext, which we're about to remove.
2013-06-29 18:44:05 -06:00
Bobby Holley
30b44b13f5 Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-29 18:44:04 -06:00
Phil Ringnalda
8a0af35cc5 Merge m-c to birch 2013-06-29 06:55:30 -07:00
Reuben Morais
f4f59f5ad7 Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug 2013-06-29 03:52:16 -07:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Kartikaya Gupta
dee2df83d6 Bug 885030 - Move CalculateCompositedRectInCssPixels from APZC to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:54:49 -04:00
Kartikaya Gupta
93042f899e Bug 885030 - Move CalculateResolution from APZC to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:54:14 -04:00
Kartikaya Gupta
d2fdeefefe Bug 885030 - Move CalculateIntrinsicScale to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:53:51 -04:00
Matt Woodrow
52772c4736 Bug 871150 - Call IdentifyTextureHost on ImageBridgeChild so that we create appropriate textures for the compositor. r=nical 2013-06-24 17:28:22 +12:00
Kartikaya Gupta
dcd5272bcc Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta
af58e2fde8 Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
David Zbarsky
435e9ee56a Fix incorrect comment, no bug 2013-06-20 15:54:01 -07:00
Ryan VanderMeulen
5ee79e7c80 Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
f4bbce6956 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Kartikaya Gupta
d50a5eb6ca Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Brian Smith
3657897948 Bug 832848: Removed unused site identity block tooltip logic from PSM, r=dolske
--HG--
extra : rebase_source : 1793e526272622d811e45d0f4b2f0460471f4501
2013-02-02 17:21:45 -08:00
Nathan Froyd
75d1692785 Bug 883392 - clean up TabChild.h's #includes; r=smaug 2013-06-14 17:47:56 -04:00
Kartikaya Gupta
2b90680712 Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe 2013-06-14 16:11:44 -04:00
Kartikaya Gupta
82aba42a5a Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Anthony Jones
6407542bff Bug 880932 - Fixed lack of response to APZC paint requests; r=BenWa
All paint requests get tagged with the current nsPresShellId. TabChild will
always trigger a response so APZC doesn't get left hanging.
2013-06-14 12:33:16 +12:00
Kartikaya Gupta
3add0c36b5 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
fe148e065e Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa 2013-06-10 09:05:43 -04:00
Arnaud Sourioux
feea85a7f1 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Gary Kwong
104e5fdfe9 Bug 879092 - Have different runtime abort messages for the different error types. r=jlebar 2013-06-03 21:15:40 -07:00
Kartikaya Gupta
83f51d55ac Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Kartikaya Gupta
09a6269c24 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
John Lin
a5f06c5984 Bug 852009 - Make sure callback of pre-open()ing for app process's application.zip (introduced for bug 835698) will be fired only once. r=bent 2013-05-29 20:56:09 -04:00
Jon Coppeard
6d32ef3678 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Ed Morley
1e88f4e513 Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
27ffea6482 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Andrew McCreight
d1266ee9b7 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ed Morley
05416056b0 Merge latest green inbound changeset and mozilla-central 2013-05-24 15:49:15 +01:00
Anthony Jones
f4328c5b39 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Gene Lian
c804877e4e Bug 866366 - [Buri][Alarm]it will not start alarm until light up the LCD (follow-up patch, part 2). r=jlebar,fabrice a=tef+ 2013-05-17 20:18:35 +08:00
Vivien Nicolas
800eacf47f Bug 864382 - Send a click event after a contextmenu event if the later has not been caught. f=amarchesini,r=jlebar,a=tef 2013-05-23 17:52:06 +02:00
Bobby Holley
1b2f22fe61 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
c34a6c0e71 Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor 2013-05-22 10:05:27 -06:00
Bobby Holley
d35a455af1 Bug 868130 - Make sure to push a JSContext in TabParent::ReceiveMessage. r=gabor 2013-05-22 10:05:24 -06:00
Boris Zbarsky
be0882e3a1 Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence 2013-05-20 08:40:06 -04:00
Ryan VanderMeulen
e3d33b7b45 Merge inbound to m-c. 2013-05-17 21:41:13 -04:00
Dave Hylands
9d725309a5 Bug 873391 - Volume state changes may get processed out of order in child processes. r=qDot 2013-05-17 12:55:14 -07:00
Anthony Jones
5b2d5a18de Bug 833795 - Sample offset on touch start. r=drs 2013-05-16 17:58:07 +12:00
Dave Hylands
8f8841a1c4 Bug 858416 - Create a composite device storage interface. r=dougt
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
93efac58df Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
af61fd0d1c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Justin Lebar
ffbacde3d5 Bug 870181 - Part 2: Lower CPU priority for non-high priority processes when there's an incoming call. r=bent 2013-05-09 16:27:06 -04:00
Justin Lebar
3bce4cb89f Bug 868521 - Add more of a delay between launching a new app and creating a new preallocated process. r=dhylands 2013-05-09 16:27:06 -04:00
David Zbarsky
66e862daca Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
David Zbarsky
3c839fc3b2 Bug 868312: Root dom/workers r=bz 2013-05-09 03:27:40 -04:00
Ryan VanderMeulen
f6068dd244 Merge inbound to m-c. 2013-05-07 22:10:19 -04:00
Justin Lebar
0ef86009b8 Bug 868741 - Fix a null-pointer crash in ProcessPriorityManager. r=bent
This crash would occur if a ParticularProcessPriorityManager observed a
wake-lock change after being ShutDown().
2013-05-07 16:44:25 -04:00
Drew Willcoxon
76c3e62ed2 Bug 841495 - Implement background page thumbnail service (part 1: propagate private-browsing state from parent docshell to remote docshell). r=smaug 2013-05-06 21:10:31 -07:00
Bobby Holley
be7264ecab Bug 868122 - Remove nsIScriptContextPrincipal. r=gabor
\o/
2013-05-06 16:53:10 -07:00
David Zbarsky
ef70ce04b7 Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
David Zbarsky
38f5841d1a Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
a79bf02c5d Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:46 -04:00
Michael Wu
ed39602eed Bug 867703 - Remote default scale value, r=roc 2013-05-01 19:06:19 -04:00
Matt Woodrow
ace055b629 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Ryan VanderMeulen
d148f3b0f4 Merge m-c to inbound. 2013-04-30 08:09:43 -04:00
Ryan VanderMeulen
84fa605efe Merge m-c to birch. 2013-04-29 21:22:24 -04:00
Gabor Krizsanits
700b44eaf8 Bug 863140 - Remove GetInnerWindowInternal. r=bz 2013-04-29 17:34:16 +02:00
Justin Lebar
dafd5e8751 No bug: Fix comment in ContentParent.cpp. DONTBUILD
Due to a typo in the comment, this was wasn't renamed in bug 844343 part 4.
2013-04-29 18:50:09 -04:00
Kartikaya Gupta
ed60c0872b Bug 865337 - Fix assertion failure if TabChild::GetCachedFileDescriptor is called a second time after the first call is canceled. r=bent 2013-04-26 17:43:45 -04:00
Andreas Gal
8d87fa0466 Bug 862970 - Don't lock images on the active page on B2G. r=jlebar,joe 2013-04-25 18:36:53 -07:00
Vivien Nicolas
7c15cf7c26 Bug 847352 - Preload SystemMessageHandler.js. r=fabrice 2013-04-26 12:17:25 +02:00
Justin Lebar
37ebeead76 Bug 860799 - Part 1: Give frames expecting a system message priority at least BACKGROUND_PERCEIVABLE, so long as either haven't yet handled the system message or are holding the CPU/high-priority wake lock. r=khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
7908e05f22 Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
8af5a089ab Bug 844323 - Part 1: Move process preallocation logic out of ContentParent and into a new file, PreallocatedProcessManager. r=bent
Also make the PreallocatedProcessManager respond to pref changes.  This allows us to write a test involving the preallocated process.  Making this change was the main motivation for this patch; I moved the logic out of ContentParent because with the pref-watching code it was becoming unweildy.
2013-04-25 20:53:26 -04:00
Justin Lebar
3f8e52a07a Bug 844323 - Prelude part 4: Use 's' prefix on class-static variables, not 'g'. r=me 2013-04-25 20:53:26 -04:00
Justin Lebar
0e0722d49d Bug 844323 - Prelude part 3: Change ProcessPriorityManager's export directory. r=khuey
It was mozilla/dom/ipc/ before, but this changes it to mozilla/, which matches the class's namespace.
2013-04-25 20:53:26 -04:00
Nicolas Silva
b18dc950c7 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Bobby Holley
402c35b1ff Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor 2013-04-29 11:16:18 -07:00
Dave Hylands
505d1f5061 Bug 860934 - Use relative paths when handling device storage r=dougt 2013-04-18 16:13:23 +02:00
David Zbarsky
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
David Zbarsky
a0911f7978 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
335c6fc326 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-19 18:18:32 -04:00
Boris Zbarsky
a295fe137f Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Ryan VanderMeulen
32e0055ca7 Merge m-c to inbound. 2013-04-16 16:04:20 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jon Hylands
18136e92bd Bug 853632 - Cache own and containing apps in TabContext. r=jlebar 2013-04-16 15:34:11 +02:00
Honza Bambas
e7a737bf35 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Guilherme Gonçalves
dae01e1be1 Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Ryan VanderMeulen
e9c65dfa10 Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Ryan VanderMeulen
99647ac22c Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE. 2013-04-11 13:59:02 -04:00
Honza Bambas
52e949bcbc Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
David Zbarsky
a5cb73b253 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04:00
Patrick Wang
c9153dd2e1 Bug 847744: Part 3 - IPDL change. r=vicamo,jdm 2013-04-10 20:18:38 +08:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Justin Lebar
bc068017b7 No bug: Fix typo in comment in TabContext.h. r=me DONTBUILD 2013-04-09 13:12:15 -04:00
Nicholas Nethercote
1d0fa80c9d Bug 848560 (part 3) - Add support to about:memory for writing memory report dumps and reading gzipped memory report dumps. code=nnethercote,maierman. r=jlebar.
--HG--
extra : rebase_source : b93b45d1f4c22a388eedff890c19dc1952c576de
2013-03-27 20:31:26 -07:00
Masatoshi Kimura
2ca51c4f79 Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
Ryan VanderMeulen
8a2621fb4d Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083. 2013-04-05 07:55:25 -04:00
David Zbarsky
76ad7e5429 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Ms2ger
d73b4fb2c0 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Anthony Jones
9e329a687d Backout 8a6cacf047a1 (bug 833795) to fix bug 856083 2013-04-05 18:19:08 +13:00
Anthony Jones
ae799e322a Bug 852251 - Check for null on CompositorChild::Get() 2013-03-27 11:25:12 +13:00
Eitan Isaacson
7a556a1b24 Bug 525444 - (Part 3/3) Support OOP speech synth. r=smaug
--HG--
rename : content/media/webspeech/synth/moz.build => content/media/webspeech/synth/ipc/test/moz.build
2013-04-03 15:13:17 -07:00
Jose Cortes
60d8f2002c Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/ipc/ dom/icc/ directories. r=jwalden
--HG--
extra : rebase_source : 0b853fadf33606b78f753064ea676354943e6063
2013-04-02 16:22:12 -07:00
Jim Blandy
1b2bb89895 Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-04-02 16:52:51 -07:00
Dave Hylands
a4ccf0382c Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Mike Hommey
b00fda0382 Bug 855822 - Remove Add/RemoveLibraryMappingForChild. r=ted 2013-03-30 10:32:10 +01:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Justin Lebar
754780da20 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.

--HG--
extra : rebase_source : fe98bcd891f9255297240c96b65ae39fe6112bd3
2013-03-28 14:25:58 -04:00
vliu
0ff6c4916f Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands 2013-03-13 14:44:43 +08:00
Tanvi Vyas
7c27950fb0 Bug 836951 - Add mDocShell to nsSecureBrowserUIImpl. Traverse up to the root doc shell. r=bsmith,smaug 2013-03-27 22:12:03 -07:00
Phil Ringnalda
e41e930920 Back out ee27d1d8b302 (bug 836951) for depending on a patch that's being backed out
CLOSED TREE
2013-03-26 20:18:30 -07:00
Tanvi Vyas
2726132d96 Bug 836951 - Add mDocShell to nsSecureBrowserUIImpl. Traverse up to the root doc shell. r=bsmith,smaug 2013-03-26 16:37:46 -07:00
Anthony Jones
fe7ee40bd2 Bug 833795 - Use screen relative co-ordinates for gestures; r=drs 2013-03-21 15:08:15 +13:00
Ryan VanderMeulen
f78b48529c Backed out changeset 42d5d3080bc4 (bug 847656) for mochitest crashes on a CLOSED TREE. 2013-03-20 14:17:22 -04:00
Jim Blandy
f7b8e25b98 Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey 2013-03-20 10:30:09 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jon Coppeard
b9652b9f39 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
William Chen
e19d879ce7 Bug 782211 - Part 4: Add function to remote test for permission in nsIPermissionManager. r=cjones 2013-03-18 06:24:53 -07:00
William Chen
bcf0fa1e8e Bug 782211 - Part 2: Updated the nsIAlertsService API and its implementation to include support for bidi overrides and a method to close notifications. r=dougt 2013-03-18 06:24:53 -07:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Masayuki Nakano
e71fc2d290 Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
85b5fca5af Bug 558976 part.1 Merge nsIWidget::ResetInputState(), nsIWidget::CancelComposition(), nsIWidget::OnIMEFocusChange() and nsIWidget::OnIMESelectionChange() r=roc, sr=roc 2013-03-06 15:14:31 +09:00
Ed Morley
caab8e796b Backed out changeset cacb9f3ee44d (bug 840693) 2013-03-04 14:37:43 +00:00
Anthony Jones
bce8f8e813 Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones 2013-03-04 13:25:26 +13:00
Fabrice Desré
f76b987b20 Backout e0be1d5500f2 (bug 833795) for causing bug 846816 2013-03-01 11:42:49 -08:00
Gene Lian
a57f8f8b90 Bug 844429 - B2G SMS & MMS: move SMS codes into dom/mobilemessage to make it generic for MMS. r=vicamo
--HG--
rename : dom/sms/interfaces/nsIDOMMozSmsEvent.idl => dom/mobilemessage/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMMozSmsMessage.idl => dom/mobilemessage/interfaces/nsIDOMMozSmsMessage.idl
rename : dom/sms/interfaces/nsIDOMNavigatorSms.idl => dom/mobilemessage/interfaces/nsIDOMNavigatorSms.idl
rename : dom/sms/interfaces/nsIDOMSmsCursor.idl => dom/mobilemessage/interfaces/nsIDOMSmsCursor.idl
rename : dom/sms/interfaces/nsIDOMSmsFilter.idl => dom/mobilemessage/interfaces/nsIDOMSmsFilter.idl
rename : dom/sms/interfaces/nsIDOMSmsManager.idl => dom/mobilemessage/interfaces/nsIDOMSmsManager.idl
rename : dom/sms/interfaces/nsIDOMSmsRequest.idl => dom/mobilemessage/interfaces/nsIDOMSmsRequest.idl
rename : dom/sms/interfaces/nsIDOMSmsSegmentInfo.idl => dom/mobilemessage/interfaces/nsIDOMSmsSegmentInfo.idl
rename : dom/sms/interfaces/nsISmsRequest.idl => dom/mobilemessage/interfaces/nsISmsRequest.idl
rename : dom/sms/interfaces/nsISmsService.idl => dom/mobilemessage/interfaces/nsISmsService.idl
rename : dom/sms/src/Constants.cpp => dom/mobilemessage/src/Constants.cpp
rename : dom/sms/src/Constants.h => dom/mobilemessage/src/Constants.h
rename : dom/sms/src/SmsCursor.cpp => dom/mobilemessage/src/SmsCursor.cpp
rename : dom/sms/src/SmsCursor.h => dom/mobilemessage/src/SmsCursor.h
rename : dom/sms/src/SmsFilter.cpp => dom/mobilemessage/src/SmsFilter.cpp
rename : dom/sms/src/SmsFilter.h => dom/mobilemessage/src/SmsFilter.h
rename : dom/sms/src/SmsManager.cpp => dom/mobilemessage/src/SmsManager.cpp
rename : dom/sms/src/SmsManager.h => dom/mobilemessage/src/SmsManager.h
rename : dom/sms/src/SmsMessage.cpp => dom/mobilemessage/src/SmsMessage.cpp
rename : dom/sms/src/SmsMessage.h => dom/mobilemessage/src/SmsMessage.h
rename : dom/sms/src/SmsRequest.cpp => dom/mobilemessage/src/SmsRequest.cpp
rename : dom/sms/src/SmsRequest.h => dom/mobilemessage/src/SmsRequest.h
rename : dom/sms/src/SmsSegmentInfo.cpp => dom/mobilemessage/src/SmsSegmentInfo.cpp
rename : dom/sms/src/SmsSegmentInfo.h => dom/mobilemessage/src/SmsSegmentInfo.h
rename : dom/sms/src/SmsServicesFactory.cpp => dom/mobilemessage/src/SmsServicesFactory.cpp
rename : dom/sms/src/SmsServicesFactory.h => dom/mobilemessage/src/SmsServicesFactory.h
rename : dom/sms/src/Types.h => dom/mobilemessage/src/Types.h
rename : dom/sms/src/android/SmsService.cpp => dom/mobilemessage/src/android/SmsService.cpp
rename : dom/sms/src/android/SmsService.h => dom/mobilemessage/src/android/SmsService.h
rename : dom/sms/src/fallback/SmsService.cpp => dom/mobilemessage/src/fallback/SmsService.cpp
rename : dom/sms/src/fallback/SmsService.h => dom/mobilemessage/src/fallback/SmsService.h
rename : dom/sms/src/ipc/PSms.ipdl => dom/mobilemessage/src/ipc/PSms.ipdl
rename : dom/sms/src/ipc/PSmsRequest.ipdl => dom/mobilemessage/src/ipc/PSmsRequest.ipdl
rename : dom/sms/src/ipc/SmsChild.cpp => dom/mobilemessage/src/ipc/SmsChild.cpp
rename : dom/sms/src/ipc/SmsChild.h => dom/mobilemessage/src/ipc/SmsChild.h
rename : dom/sms/src/ipc/SmsIPCService.cpp => dom/mobilemessage/src/ipc/SmsIPCService.cpp
rename : dom/sms/src/ipc/SmsIPCService.h => dom/mobilemessage/src/ipc/SmsIPCService.h
rename : dom/sms/src/ipc/SmsParent.cpp => dom/mobilemessage/src/ipc/SmsParent.cpp
rename : dom/sms/src/ipc/SmsParent.h => dom/mobilemessage/src/ipc/SmsParent.h
rename : dom/sms/src/ipc/SmsTypes.ipdlh => dom/mobilemessage/src/ipc/SmsTypes.ipdlh
rename : dom/sms/src/ipc/ipdl.mk => dom/mobilemessage/src/ipc/ipdl.mk
rename : dom/sms/src/ril/SmsService.cpp => dom/mobilemessage/src/ril/SmsService.cpp
rename : dom/sms/src/ril/SmsService.h => dom/mobilemessage/src/ril/SmsService.h
rename : dom/sms/tests/Makefile.in => dom/mobilemessage/tests/Makefile.in
rename : dom/sms/tests/marionette/manifest.ini => dom/mobilemessage/tests/marionette/manifest.ini
rename : dom/sms/tests/marionette/test_between_emulators.py => dom/mobilemessage/tests/marionette/test_between_emulators.py
rename : dom/sms/tests/marionette/test_bug814761.js => dom/mobilemessage/tests/marionette/test_bug814761.js
rename : dom/sms/tests/marionette/test_emulator_loopback.js => dom/mobilemessage/tests/marionette/test_emulator_loopback.js
rename : dom/sms/tests/marionette/test_filter_date.js => dom/mobilemessage/tests/marionette/test_filter_date.js
rename : dom/sms/tests/marionette/test_filter_date_notfound.js => dom/mobilemessage/tests/marionette/test_filter_date_notfound.js
rename : dom/sms/tests/marionette/test_filter_mixed.js => dom/mobilemessage/tests/marionette/test_filter_mixed.js
rename : dom/sms/tests/marionette/test_filter_number_multiple.js => dom/mobilemessage/tests/marionette/test_filter_number_multiple.js
rename : dom/sms/tests/marionette/test_filter_number_single.js => dom/mobilemessage/tests/marionette/test_filter_number_single.js
rename : dom/sms/tests/marionette/test_filter_read.js => dom/mobilemessage/tests/marionette/test_filter_read.js
rename : dom/sms/tests/marionette/test_filter_received.js => dom/mobilemessage/tests/marionette/test_filter_received.js
rename : dom/sms/tests/marionette/test_filter_sent.js => dom/mobilemessage/tests/marionette/test_filter_sent.js
rename : dom/sms/tests/marionette/test_filter_unread.js => dom/mobilemessage/tests/marionette/test_filter_unread.js
rename : dom/sms/tests/marionette/test_getmessage.js => dom/mobilemessage/tests/marionette/test_getmessage.js
rename : dom/sms/tests/marionette/test_getmessage_notfound.js => dom/mobilemessage/tests/marionette/test_getmessage_notfound.js
rename : dom/sms/tests/marionette/test_getmessages.js => dom/mobilemessage/tests/marionette/test_getmessages.js
rename : dom/sms/tests/marionette/test_incoming.js => dom/mobilemessage/tests/marionette/test_incoming.js
rename : dom/sms/tests/marionette/test_incoming_delete.js => dom/mobilemessage/tests/marionette/test_incoming_delete.js
rename : dom/sms/tests/marionette/test_incoming_max_segments.js => dom/mobilemessage/tests/marionette/test_incoming_max_segments.js
rename : dom/sms/tests/marionette/test_incoming_multipart.js => dom/mobilemessage/tests/marionette/test_incoming_multipart.js
rename : dom/sms/tests/marionette/test_mark_msg_read.js => dom/mobilemessage/tests/marionette/test_mark_msg_read.js
rename : dom/sms/tests/marionette/test_mark_msg_read_error.js => dom/mobilemessage/tests/marionette/test_mark_msg_read_error.js
rename : dom/sms/tests/marionette/test_message_classes.js => dom/mobilemessage/tests/marionette/test_message_classes.js
rename : dom/sms/tests/marionette/test_outgoing.js => dom/mobilemessage/tests/marionette/test_outgoing.js
rename : dom/sms/tests/marionette/test_outgoing_delete.js => dom/mobilemessage/tests/marionette/test_outgoing_delete.js
rename : dom/sms/tests/marionette/test_outgoing_max_segments.js => dom/mobilemessage/tests/marionette/test_outgoing_max_segments.js
rename : dom/sms/tests/marionette/test_segment_info.js => dom/mobilemessage/tests/marionette/test_segment_info.js
rename : dom/sms/tests/marionette/test_strict_7bit_encoding.js => dom/mobilemessage/tests/marionette/test_strict_7bit_encoding.js
rename : dom/sms/tests/moz.build => dom/mobilemessage/tests/moz.build
rename : dom/sms/tests/test_sms_basics.html => dom/mobilemessage/tests/test_sms_basics.html
rename : dom/sms/tests/test_smsdatabaseservice.xul => dom/mobilemessage/tests/test_smsdatabaseservice.xul
rename : dom/sms/tests/test_smsfilter.html => dom/mobilemessage/tests/test_smsfilter.html
rename : dom/sms/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/test_smsservice_createsmsmessage.js
rename : dom/sms/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell.ini
2013-03-01 16:38:47 +08:00
Blake Kaplan
43ae09558d Bug 846067 - Add a missing interface to the QI impl. r=jlebar
--HG--
extra : rebase_source : 3f2d51ba19092cb85a1f481bdfe75a8a5d2dbd9e
2013-02-28 14:36:55 -08:00
Anthony Jones
f6a5378ad5 Bug 833795 - Pass screen relative co-ordinates to APZC. r=cjones 2013-02-28 14:22:59 -05:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
David Dahl
95660a9d32 Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Justin Lebar
5c74ff0fab Bug 844970 - Use a grace period for all process priority downgrades. r=cjones 2013-02-27 14:28:57 -05:00
Josh Matthews
16a9bb20ba Bug 832411 - Track geolocation requests' use of high accuracy and ensure the providers are update when necessary. r=dougt 2013-02-26 12:27:31 -05:00
Justin Lebar
b68f41a6db Bug 842679 - Part 3: Wait for a tab-child to be created before modifying priorities in the ProcessPriorityManager. r=cjones 2013-02-22 23:24:28 -05:00
Justin Lebar
0344d3a28c Bug 842679 - Part 1: Fire tab-child-created observer message in ContentChild. r=cjones 2013-02-22 23:24:28 -05:00
Gavin Sharp
0185984451 Remove some unnecessary preprocessing, no bug
--HG--
extra : rebase_source : b8bfed7a5b55652fd8a9b3bf3c601accb8b2022f
2013-02-17 17:49:25 -08:00
Olli Pettay
5f4e3d6b40 Bug 842710 - Identify TabChildGlobals in about:memory/compartment, r=jlebar 2013-02-20 12:39:59 +02:00
Josh Matthews
ee39efad2d Bug 832232 - Protect against missing geolocation services during shutdown. r=dougt 2013-02-20 02:10:47 -05:00
Ben Turner
46bed5f017 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-15 14:27:21 -08:00
Ben Turner
41e73faa1a Bug 839261 - 'Assertion failure: false (Remote blob didn
't return a remote stream)'. r=sicking.
2013-02-15 13:39:43 -08:00
Justin Lebar
7453dbec82 Bug 841634 - Assign ContentParent::mChildID to a unique value in the constructor, instead of in RecvGetProcessAttributes. r=cjones 2013-02-15 08:40:35 -05:00
Justin Lebar
57da7526a6 Bug 841563 - Actually set PROCESS_PRIORITY_FOREGROUND_HIGH when we want to. r=cjones 2013-02-15 08:40:01 -05:00
Trevor Saunders
36453999ea bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Ryan VanderMeulen
aa53927960 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
093600fa79 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
657b1efd79 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
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
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
Trevor Saunders
56e8ed5cca bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Ryan VanderMeulen
c32ab4bc8d Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Olli Pettay
ff9c34a6e4 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Ben Turner
b66d3a5418 Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell. 2013-02-09 17:59:47 +00:00
Ed Morley
5c728f13b8 Backout 1646e649878a (bug 835698) on suspicion of causing mochitest-1 shutdown hangs on Windows on a rather sad looking CLOSED TREE 2013-02-11 15:41:36 +00:00