Vicamo Yang
240bed674a
Bug 833229 - 3.b/4: IPDL implementation. r=echen, r=smaug
2014-09-26 13:00:24 +08:00
Mark Hammond
65936180b9
Bug 1067229 - allow nsIXULAppInfo::ID and ::Vendor to work in a content process. r=jdm
2014-09-24 16:14:55 +10:00
Alphan Chen
42bec8ff4d
Bug 1060196 - Mark the volume as if we've started unmounting. r=dhylands
2014-09-22 11:42:33 +08:00
Carsten "Tomcat" Book
79a0a7362d
merge b2g-inbound to mozilla-central a=merge
2014-09-22 13:06:09 +02:00
Carsten "Tomcat" Book
2ae977b21b
merge mozilla-inbound to mozilla-central a=merge
2014-09-22 12:58:26 +02:00
Carsten "Tomcat" Book
54645ad792
Backed out changeset 0b73bd6d5d9c (bug 1032125) for causing regressions
2014-09-22 12:45:48 +02:00
Carsten "Tomcat" Book
5eb0402620
Backed out changeset 422fd81a4118 (bug 1032125) for causing regressions / Bug 1070850
2014-09-22 12:43:02 +02:00
Vicamo Yang
b53afc7e49
Bug 1063304 - 2/3: export header files in right namespace. r=echen
2014-09-21 15:24:42 +08:00
Jed Davis
f545276ac5
Bug 1064529 - Don't misuse invalid ipc::FileDescriptor in memory report requests. r=njn
2014-09-18 17:59:00 +02:00
Patrick Wang (Chih-Kai Wang)
93973bcbfe
Bug 1032125: Part 3: Don't send frame messages to Nuwa process after Nuwa has frozen. r=khuey
2014-09-19 17:12:57 +08:00
Patrick Wang (Chih-Kai Wang)
c8e896b33c
Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey
2014-09-19 17:11:15 +08:00
Bevis Tseng
a1fb9ea770
Bug 864484 - Part 4: Add IPDL Protocol Implementation for CellBroadcast. r=vyang
...
--HG--
extra : rebase_source : 2493220fabd331274df8d91d2bc4480baf9cf8ed
2014-08-18 17:06:11 +08:00
Carsten "Tomcat" Book
8c30ba3274
Backed out changeset 78b119af926a (bug 1032125) for bustage on B2g non-unified builds on a CLOSED TREE
2014-09-18 15:14:19 +02:00
Carsten "Tomcat" Book
78500d722c
Backed out changeset 3b4e5b178aa6 (bug 1032125)
2014-09-18 15:13:50 +02:00
Patrick Wang (Chih-Kai Wang)
cdb6f62835
Bug 1032125: Part 3: Don't send frame messages to Nuwa process after Nuwa has frozen. r=khuey
2014-09-18 10:30:20 +08:00
Patrick Wang (Chih-Kai Wang)
c5cc9fe0f1
Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey
2014-09-18 10:29:13 +08:00
Ben Turner
46d101f40c
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Trevor Saunders
eee03eff66
bug 982842 - initial a11y ipc impl r=davidb, bent
2014-03-07 16:35:19 -05:00
Ryan VanderMeulen
8bb5dfdcf0
Merge inbound to m-c. a=merge
2014-09-17 14:38:33 -04:00
Carsten "Tomcat" Book
9f96577d55
Backed out changeset eed2f616bc3e (bug 1063304)
2014-09-17 13:13:13 +02:00
Dave Hylands
bc5e85d921
Bug 1063877 - Change nsVolumeService to use sync IPC for initial request. r=khuey
2014-09-15 11:51:25 -07:00
Vicamo Yang
f3f158671e
Bug 1063304 - 2/3: export header files in right namespace. r=echen
2014-09-16 21:20:17 +08:00
Patrick Wang (Chih-Kai Wang)
6c1007c46c
Bug 1058376: Ignore file update in Nuwa. r=dhylands
2014-09-17 10:22:29 +08:00
Dave Hylands
882f53953e
Back out 01fe5d23d233 (Bug 1063877) due to broken emulator mochitests
2014-09-15 14:08:35 -07:00
Dave Hylands
242b3ade39
Bug 1063877 - Change nsVolumeService to use sync IPC for initial request. r=khuey
2014-09-15 11:51:25 -07:00
Ben Turner
1a91d40956
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Nicholas Nethercote
d64852855e
Bug 1061024 (part 1) - Don't run DMD when about:memory's "Measure" button is pressed. r=jld.
...
--HG--
extra : rebase_source : ddf0236352c64eb9839dfd0a219451a568aba10e
2014-08-31 20:36:26 -07:00
Kan-Ru Chen (陳侃如)
7d9927b1a4
Bug 1040561 - Part 4. Initialize mOpener when transform preallocated process. r=khuey
2014-09-09 16:57:53 +08:00
Kan-Ru Chen (陳侃如)
5ff4caf32e
Bug 1040561 - Part 3. Return nullptr when CreateContentBridgeParent fails. r=khuey
2014-09-09 16:57:51 +08:00
Kan-Ru Chen (陳侃如)
621c4ae883
Bug 1040561 - Part 2. Don't wait Nuwa preallocated process when allocating new browser process. r=khuey
...
This makes the browser process allocation behavior align to the app
process allocation.
2014-09-09 16:57:49 +08:00
Edgar Chen
88d3252f85
Bug 843452 - Part 3-2: IPDL implementation for MobileConnection. r=smaug
2014-07-01 18:28:18 +08:00
Ehsan Akhgari
0653303071
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341
Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
...
CLOSED TREE
Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982 )
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
6c932dea6c
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Ryan VanderMeulen
f9e1c75706
Merge b2g-inbound to m-c. a=merge
2014-08-29 15:26:40 -04:00
Randy Lin
4b227d8d5a
Bug 1055920 - [B2G][AudioChannel] Avoid to create unnecessary AudioChannel instance on child process. r=baku
2014-08-29 14:10:16 +08:00
Fabrice Desré
4533961b74
Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz
2014-08-28 17:20:27 -07:00
Wes Kocher
d544bf248c
Backed out 17 changesets (bug 843452)
...
Backed out changeset e72a0297d488 (bug 843452)
Backed out changeset 73f62ce4190f (bug 843452)
Backed out changeset 6d4a49ebd9fc (bug 843452)
Backed out changeset ac93e396669f (bug 843452)
Backed out changeset cf4fc721821e (bug 843452)
Backed out changeset 9a94ea71d232 (bug 843452)
Backed out changeset b95ff097374d (bug 843452)
Backed out changeset 8d6428a93500 (bug 843452)
Backed out changeset e31b86ef0e80 (bug 843452)
Backed out changeset bd4efde535cd (bug 843452)
Backed out changeset 02bbcd8ac571 (bug 843452)
Backed out changeset f7f41bf82b22 (bug 843452)
Backed out changeset 20f42764cd38 (bug 843452)
Backed out changeset 82f8670f5c17 (bug 843452)
Backed out changeset 52f25f1278e3 (bug 843452)
Backed out changeset 181337820a7c (bug 843452)
Backed out changeset 9bd12641af03 (bug 843452)
--HG--
rename : dom/mobileconnection/interfaces/nsIMobileConnectionService.idl => dom/mobileconnection/interfaces/nsIMobileConnectionProvider.idl
2014-08-28 16:51:41 -07:00
Ting-Yu Chou
1e4229ad97
Bug 1057065 - Remove obsolete code causes extra preallocated process to complement the patch of bug 1033618. r=khuey
...
--HG--
extra : rebase_source : 243e1288e44bd1d6560bdf8de479af0f9888f95e
2014-08-26 10:22:21 +08:00
Ted Clancy (:tedders1)
208aa7f675
Bug 1055427 - Add KillChild() method to nsIMessageManager. r=sicking
...
Patch originally from bug 1000313.
2014-08-12 08:59:47 -04:00
Patrick Wang (Chih-Kai Wang)
40e5b2e807
Bug 1040017: Prevent ContentParent from sending broadcast message to Nuwa. r=khuey
2014-08-22 13:41:34 +08:00
Ed Morley
a63970192b
Backed out changeset 7a6008e82204 (bug 1040017) for B2G nonunified build failures
2014-08-21 10:44:06 +01:00
Patrick Wang (Chih-Kai Wang)
7fd2370f75
Bug 1040017: Prevent SetOffLineStatus from being sent to Nuwa after loading. r=khuey
2014-08-21 13:32:57 +08:00
Robert Bindar
29ee85a120
Bug 899585 - Add custom data support in the Notification constructor r=baku
2014-08-20 17:56:12 -07:00
Randy Lin
dc0928b9d6
Bug 1054219 - [B2G][SpeakerManager] Avoid to create unnecessary speakerManager instance on child process. r=baku
2014-08-20 10:25:55 +08:00
Jed Davis
9668366e41
Bug 1009995 - Require seccomp-bpf on B2G devices based on Android >= KitKat. r=mwu r=kang
2014-08-15 11:56:28 -07:00
Kershaw Chang
fe70832590
Bug 1020204 - Allow creating nested oop MozApp iframe. r=khuey, r=kanru
2014-08-13 02:18:00 -04:00
Edgar Chen
809e5bc448
Bug 843452 - Part 3-2: IPDL implementation for MobileConnection. r=smaug
2014-07-01 18:28:18 +08:00
Ehsan Akhgari
beaa1d2306
Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug
2014-08-05 09:19:51 -04:00
Kyle Huey
19e5d2d26c
Back out bug 874353, which is suspected of causing bug 1046956. r=me a=backout
2014-08-01 11:02:55 -07:00
Sean Lin
5101141c0a
Bug 1000829 - getDataStores() should be able to retrieve data stores by owner. r=baku sr=jst
2014-07-17 11:53:23 +08:00
Sean Lin
8062fdbcec
Bug 874353 - Remove CPU wake lock control from ContentParent. r=gene, khuey
2014-06-24 10:51:48 +08:00
Ehsan Akhgari
c8380d74dd
Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug
2014-07-28 13:17:51 -04:00
Wes Kocher
364928bcf4
Backed out changeset 51ff7710ccbc (bug 966395) for assertion errors during the build
2014-07-24 14:07:53 -07:00
Alexandru Tifrea
3389fe5c01
Bug 966395 - Use a puppet bidi keyboard in child processes. r=mrbkap/masayuki
...
--HG--
extra : rebase_source : c6a1c731d8a2c8c3964e59582dfd8e8e59e1b79f
2014-07-11 12:10:52 -07:00
Jim Mathies
e5f4ec183a
Bug 948574 - Provide limited access to nsISiteSecurityService apis in the child, and prevent the direct creation of nsISiteSecurityService. r=bz, sr=ptheriault, original author: David Keeler <dkeeler@mozilla.com>
2014-07-22 07:17:45 -05:00
Tim Abraldes
1aaa7148c1
bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable SandboxBroker to set different security policies for different process types. r=bbondy, r=cpearce, r=bent
2014-07-16 16:01:34 -07:00
Carsten "Tomcat" Book
9e0a923f6f
merge fx-team to mozilla-central a=merge
2014-07-15 16:08:30 +02:00
Allison Naaktgeboren
cd7511f5cf
Bug 693555 - Update inline spellchecker underlining for multiprocess(e10s).r=ehsan, mrbkap
2014-07-01 15:24:27 -07:00
Wes Kocher
df658e23cc
Merge b2g-inbound to m-c a=merge
2014-07-08 20:13:04 -07:00
Kyle Huey
ed298123c6
Bug 1033618: If we take the preallocated process but fail to start the app try again with a non-preallocated process. r=smaug
2014-07-08 15:56:22 -07:00
Mike Conley
5f892c8286
Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
...
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
--HG--
extra : rebase_source : 3ebb5763d75d16f73b3cb5e4fc5621188b6c9622
2014-07-14 13:22:26 -04:00
Mike Conley
64b781e2f3
Backed out bdf72cebcd85 to fix a CLOSED TREE.
...
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley
78e56ed33a
Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
...
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
--HG--
extra : rebase_source : 90d263235b40f6f6937d361705a4dfa44253318e
extra : histedit_source : bab4e689269c67fe3eb65033b6987b93caf9a482%2C86645be32f82f0d80724532e528e597db165b1d1
2014-07-14 11:57:06 -04:00
Jed Davis
1e4a828cc8
Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
...
--HG--
extra : rebase_source : 2958f582f43bfac86ec29d784b4fb8825ca17257
extra : histedit_source : 96e39e36cbe506332d761c375b902284a695901a%2C245fc9ec3c6a3bbf4e5e5ce7b0da63f4477f36b9
2014-07-02 15:59:02 -07:00
Wes Kocher
03cdc19fec
Backed out 3 changesets (bug 956961) for non-unified build bustage
...
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis
adc6a05bd1
Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
2014-07-02 11:27:48 -07:00
Sotaro Ikeda
e445b313ec
Bug 1034294 - Fix SharedBufferManagerParent r=nical
2014-07-08 06:46:17 -07:00
Wes Kocher
c76c770c79
Backed out changeset 476485e3e30a (bug 1034294) for b2g m8 orange on a CLOSED TREE
2014-07-07 11:24:14 -07:00
Sotaro Ikeda
9cf8d7b48d
Bug 1034294 - Fix SharedBufferManagerParent
2014-07-07 07:11:40 -07:00
Sotaro Ikeda
00dfb9fb42
Bug 1026562 - "Always create ImageBridge when OMTC is enabled on gonk". r=nical
2014-06-17 09:41:00 +02:00
Jed Davis
12f969befb
Bug 965724 - Use IPC for NS_OpenAnonymousTemporaryFile if in content process. r=roc
2014-06-24 10:11:36 -07:00
Benoit Jacob
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Mike Conley
04d328098e
Bug 989501 - Part 1: If an opening nsITabParent is found when creating a new content window, use that opener's ContentParent to make the new remote browser. r=smaug.
2014-06-20 13:55:40 -04:00
"Kan-Ru Chen (陳侃如)"
093e2092b9
Bug 1024470 - Make sure we run InitOnContentProcessCreated in all cases. r=khuey
2014-06-19 01:22:05 +08:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
"Kan-Ru Chen (陳侃如)"
c382b43e4f
Bug 1020169 - Part 1. Remove static constructors. r=mattwoodrow
2014-06-14 15:24:59 +08:00
Olli Pettay
ea5bd3dd98
Bug 1024986 - Use Preferences::AddBoolVarCache for dom.testing.ignore_ipc_principal check, r=ehsan
2014-06-13 23:40:46 +03:00
"Kan-Ru Chen (陳侃如)"
cb1a5a5562
Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
"Kan-Ru Chen (陳侃如)"
9ed870c153
Bug 879475 - Part 005. Implement ContentBridge r=jlebar
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
"Kan-Ru Chen (陳侃如)"
5f49dee2c3
Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:03 +08:00
Olli Pettay
8413246b5f
Bug 1003046 - ContentChild::RecvPBrowserConstructor should not call SendGetProcessAttributes(), r=fabrice,khuey
2014-06-04 00:15:27 +03:00
Andrea Marchesini
ce2ea0ca27
Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv
2014-06-03 15:36:46 +01:00
Ehsan Akhgari
06c071fd7e
Merge m-c into m-i
2014-06-02 10:22:11 -04:00
Ehsan Akhgari
4b8e9c1f5c
Backed out 3 changesets (bug 957086) for causing bug 1018406
...
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Carsten "Tomcat" Book
0deac51032
Merge mozilla-central to mozilla-inbound
2014-06-02 15:23:46 +02:00
Robert O'Callahan
2a92625af7
Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
2014-06-03 00:08:24 +12:00
Phil Ringnalda
b63801bf5e
Merge m-c to b-i
2014-05-31 20:46:07 -07:00
Ben Kelly
04c162ea47
Bug 1016746: Consistently send 'child-process-shutdown' from ContentParent destruction. r=khuey
2014-05-30 17:03:05 -04:00
Andrea Marchesini
b15607ce18
Bug 957086 - patch 3 - DataStoreService in C++ for OOP, r=janv
2014-05-30 07:59:51 +01:00
Ryan VanderMeulen
f97a6f77b4
Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
...
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Andrea Marchesini
cc10beffc2
Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv
2014-05-29 16:35:03 +01:00
Alphan Chen
9df78f190a
Bug 996996 - Correct indention in ContentChild.cpp and ContenParent.cpp. r=mrbkap
2014-05-28 11:04:23 +08:00
Kershaw Chang
71f5d5e40e
Bug 1013094 - Rename browser.manifestURL and browser.homescreenURL, r=fabrice
2014-05-27 18:01:01 +08:00
Fabrice Desré
8daa98d840
Bug 1014267 - Use the correct pref to check the system app manifest url in ContentParent.cpp r=cyu
2014-05-22 11:33:59 -07:00
Gabriele Svelto
b6f9ebb914
Bug 1011493 - Assign the correct priority to the keyboard app. r=khuey
2014-05-30 15:29:43 +02:00
Alphan Chen
3682d6b662
Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap
2014-05-21 13:49:36 +08:00
Bas Schouten
b0a17db4e6
Bug 1009616: Specify async video separately for content-processes. r=nical
2014-05-18 05:16:51 +02:00
Bill McCloskey
b4170c4e66
Bug 996785 - Bidirectional CPOWs (r=mrbkap)
2014-05-16 16:40:37 -07:00
Bill McCloskey
88f199c672
Bug 996785 - Move CPOW wrapper answering code (r=mrbkap)
2014-05-16 16:40:36 -07:00
Cervantes Yu
3f44494844
Bug 988689: redirect pref updates to the frozen Nuwa process to its forked child. r=khuey
2014-05-09 19:30:42 +08:00
Dave Hylands
4d43b53eee
Bug 1007053 - Pt1 - Fix shadowing of IsFake attribute in the Child Volume cache. r=qDot
2014-05-13 15:48:04 -07:00
Jed Davis
e4ced412bb
Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
...
This has a few semi-interdependent pieces:
* Factoring out the file opening/closing/renaming from the GC/CC logging.
* Using IPC to have the child log to files that the parent opened.
* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
of child process logging (which was impossible before this, and which is
needed to have a meaningful test case).
* Changing about:memory to dump logs for child processes, matching the
behavior of the "Measure" button, because it can tell the user where
they are now.
* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
interface, not by clicking buttons and scraping the about:memory page,
but done as a chrome mochitest to start remote browsers); based on
test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Neil Rashbrook
5b3f3e053a
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-11 10:47:11 +01:00
Bill McCloskey
f048271843
Bug 978892 - [e10s] Avoid racing when creating PJavaScript object (r=mrbkap)
2014-05-08 15:43:53 -07:00
Neil Rashbrook
fac8c73779
Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE
2014-05-08 20:35:09 +01:00
Neil Rashbrook
5b1f7b4a77
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00
Ben Turner
ee54000826
Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku.
2014-04-29 13:02:41 -07:00
Bill McCloskey
5644c2f0bc
Bug 990598 - [e10s] Disable CPOW timeouts (r=jimm)
2014-05-05 13:12:46 -07:00
Josh Aas
23e8d13927
Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent
2014-05-02 13:44:13 -05:00
chiajung hung
098a829ab1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Ting-Yu Chou
17921a9d2c
Bug 1002527 - Fix not to initialize remote browser's ContentParent twice. r=bent
...
ContentParent::GetNewOrUsed() initialize the ContentParent always, even it is an
initialized one from PreallocatedProcessManager::Take(). Initialize twice makes
ContentParent to receive two the same observed event, and creates leak in both
observer list and itself.
2014-04-30 02:00:00 -04:00
Nathan Froyd
84041459a1
Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan
2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Ed Morley
1ce229a50b
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
59edff0d8f
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Andrea Marchesini
4266c27429
Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent
2014-04-10 18:39:20 +01:00
Alessio Placitelli
dfbb9f005d
Bug 529877 - Remove stray printfs in e10s dom/ipc code. r=cjones
2014-04-13 14:18:02 -04:00
Ms2ger
0524b56789
Backed out changeset ec23d10b47eb for build failures on B2G.
2014-04-12 12:09:37 +02:00
Alessio Placitelli
fb9000fe8b
Bug 529877 - Remove stray printfs in e10s dom/ipc code; r=cjones
2014-04-12 10:55:49 +02:00
Carsten "Tomcat" Book
ae409227bd
Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE
2014-04-10 13:18:18 +02:00
Andrea Marchesini
190cf6a2a2
Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent
2014-04-10 11:49:23 +01:00
Jed Davis
c3cf6886c9
Bug 989042 - Use waitid() only on Gonk; unbreak BSD build. r=bsmedberg
2014-04-03 16:19:00 -04:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Ben Turner
9394b6fd31
Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap.
2014-03-31 19:55:36 -07:00
Ryan VanderMeulen
a14baa39be
Merge inbound to m-c.
2014-03-26 20:58:31 -04:00
Fabrice Desré
874f87e5ff
Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene
2014-03-25 21:56:35 -07:00
Andrea Marchesini
ebeddf1969
Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent
2014-03-25 18:37:28 +00:00
Andrea Marchesini
fdcbca4082
Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey
2014-03-25 18:37:13 +00:00
Jed Davis
ae7a935120
Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg
2014-03-21 08:50:07 -04:00
Cervantes Yu
da57d4296a
Bug 968604 Part 1: Fork the browser process from Nuwa. r=khuey
...
--HG--
extra : rebase_source : db94e3799dc8800b45e554fa07ef3f84a5cd5d78
2014-02-13 18:42:41 +08:00
Carsten "Tomcat" Book
e9c7dd6611
merge b2g-inbound to mozilla-central
2014-03-20 14:07:58 +01:00
Kyle Huey
839c762332
Bug 968031: Remove threadsafe refcounting from ContentParent and add it to the cycle collector graph. r=bent,mccr8
2014-03-19 17:22:25 -07:00
Cervantes Yu
53aa9fe207
Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto
2014-03-13 15:24:42 +08:00
Neil Rashbrook
604d9a5302
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c879b47079
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
3e8915c4b8
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Yuan Xulei
9d543fd864
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Jed Davis
154d9c5e2a
Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang
...
Now all regular child processes, including preallocated, are deprivileged.
Only Nuwa needs uid 0, because each of its children has a different uid/gid.
2014-03-12 15:48:15 -07:00
Jed Davis
220bf0148e
Bug 976398 - Check camera permissions directly instead of using Unix groups. r=mwu r=bent
...
Loosely based on the code used to check PRemoteOpenFile.
2014-03-12 15:48:15 -07:00
Ryan VanderMeulen
a154cec3e0
Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
...
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Cervantes Yu
365d3ab03a
Bug 977539 - Add initialization of date cache cleaner to the chrome process. r=khuey
2014-03-10 08:36:12 -04:00
Jed Davis
48811df64e
Bug 968002 - Reject AddNewProcess from non-Nuwa children. r=bent
2014-03-06 08:52:52 -05:00
Yuan Xulei
d0efc292f4
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Jed Davis
76ab6d796b
Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
...
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Jed Davis
900543cc8b
Bug 974540 - Fix nsMemoryReporterManager child count for Nuwa. r=khuey
2014-03-03 17:27:03 -05:00
Milan Sreckovic
3dfa3dead4
Bug 971942: 1. layers.async-video.enabled moved to gfxPrefs and only evaluated at startup. r=nsilva
2014-02-26 21:52:54 -05:00
Ben Turner
a80f9315df
Bug 956218 - '(PBackground) Add a mechanism for communicating with
...
a non-main I/O thread via thread and process links'. r=mrbkap+khuey+bsmedberg.
2013-11-26 23:59:41 -08:00
Tom Schuster
fcfec864b1
Bug 910384 - Change nsFilePickerProxy to be asynchronous and add a proper IPDL protocol for it. r=jdm
2014-02-18 01:30:06 +01:00
Ghislain 'Aus' Lacroix
1fa90496e3
Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz
2014-02-13 14:43:58 -08:00
Peiyong Lin
6e0b9f4add
Bug 970821 - Use an array of observer topic strings in ContentParent. r=njn.
...
--HG--
extra : rebase_source : 92c9a0e2f1f1737cc074549aeeb41e7dd4514adc
2014-02-12 22:55:28 -08:00
Kyle Huey
80cc737413
Bug 968536: Remove ContentParent's phone-state-changed observer. r=njn
2014-02-11 17:51:12 +08:00
Bill McCloskey
c637f05bd4
Bug 966467 - Proxy clipboard service in content process (r=vlad)
2014-02-09 16:13:10 -08:00
Ben Turner
3bcfec25c8
Backout bug 956218 for build error
2014-02-06 15:19:08 +01:00
Ben Turner
d251cb806b
Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap.
2013-11-26 23:59:41 -08:00
Jed Davis
aae5a78b65
Bug 967967: Record that children of Nuwa start with full privileges. r=khuey
...
Otherwise, the fix for bug 921817 assumes that they've already dropped
permissions and enables system call sandboxing too early.
2014-02-05 15:41:43 -08:00
Bill McCloskey
55fab4d8d9
Bug 962604 - Add ActorDestroy handling to CPOWs (r=mrbkap)
2014-02-05 08:39:59 -08:00
Bill McCloskey
a81cf35609
Bug 947045 - dup() child's X file descriptor in parent process (r=karl)
2014-02-05 08:37:26 -08:00
Fabrice Desré
7d09516b33
Bug 964087 - Display the correct name for Nuwa processes r=khuey
2014-02-03 10:58:11 -08:00
Kyle Huey
e5c413cf0c
Bug 948774: Followup to tweak an assertion. r=me
2014-01-14 21:17:34 -08:00
Kyle Huey
31eacbdfa1
Bug 948774: Don't broadcast a memory report request to the Nuwa process. r=fabrice
2014-01-14 10:35:08 -08:00
Bill McCloskey
a3fb2ddc3c
Bug 957427 - Expose an nsILoadContext shim in nsIFrameLoader (r=smaug)
2014-01-10 17:10:57 -08:00
Bill McCloskey
181f9062fa
Bug 950833 - Enable WebGL on Linux without forcing it (r=bjacob)
2014-01-10 17:09:20 -08:00
Phil Ringnalda
1dddb1a066
Back out 2e7e2de7b13e (bug 948574) for b2g mochitest crashes
...
CLOSED TREE
2014-01-07 21:10:23 -08:00
David Keeler
12478c7858
bug 948574 - remote nsISiteSecurityService::IsSecureURI r=bz
2014-01-07 11:31:30 -08:00
Luke Wagner
e99d6d95da
Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
...
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Andrea Marchesini
62bd00021f
Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug
2014-01-07 13:16:07 +01:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cervantes Yu
c26ba7e72d
Bug 938470 - Part 1: Make nsFrameLoader async in loading a remote iframe to always use Nuwa-spawned app processes. r=smaug
2013-11-19 19:03:30 +08:00
Nicholas Nethercote
9366b60202
Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
...
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Nicholas Cameron
15d5a81b18
Bug 898828. Don't even try async video on Windows. r=nical
2013-12-21 10:37:07 +13:00
Reuben Morais
6556a5fbd3
Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc
2013-12-13 14:28:46 -02:00
Bill McCloskey
e3463fe50e
Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg)
2013-12-12 14:13:20 -08:00
Cervantes Yu
4bd831c82c
Bug 948485: Fix b2g process crash when the Nuwa process is exits. r=khuey
2013-12-11 17:48:28 +08:00
Ben Turner
4d2b15f34c
Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
...
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Nicholas Nethercote
8bbe1e2dc1
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Patrick Wang
7f5769b885
Bug 944665: Part 1: Move common initialization routine into a function. r=khuey
2013-11-29 17:28:54 +08:00
Phil Ringnalda
f72fddae43
Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
...
CLOSED TREE
Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)
--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Patrick Wang
3f23480783
Bug 944665: Part 1: Move common initialization routine into a function. r=khuey
2013-12-07 10:31:47 +08:00
Nicholas Nethercote
b413e441cf
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Ryan VanderMeulen
5d77e7eab0
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-12-04 17:34:18 -05:00
Alan Huang
d72d438775
Bug 841660 - Part 2: Implement format interface for volume-based device storage, r=dhylands
2013-12-03 17:32:56 +08:00
Shih-Chiang Chien
b4b733c8da
Bug 940045 - Part 1: Provide pageURL in RecordingDeviceEvent from content process. r=khuey
2013-11-24 17:06:27 +08:00
Nicholas Nethercote
85e32e4d49
Bug 927740 (part 2) - Make about:memory's "Minimize Memory Usage" button affect child processes, like the "GC" and "CC" buttons. r=khuey.
...
--HG--
extra : rebase_source : 555f0e6ca11caa73e33f48a941ee119181c28b74
2013-12-02 20:07:02 -08:00
Andrea Marchesini
2f6d4e0b07
Bug 943430 - Rename geo.testing.ignore_ipc_principal to dom.testing.ignore_ipc_principal. r=ehsan
2013-12-02 10:27:57 -05:00
Carsten "Tomcat" Book
c282ee3baf
Merge m-c to mozilla-inbound
2013-11-28 14:20:02 +01:00
Carsten "Tomcat" Book
ae4e6d5152
Merge m-c to b2g-inbound
2013-11-27 12:50:24 +01:00
Reuben Morais
17c82478d7
Bug 935361 - Use CheckPermission in the PContentParent Geolocation message handlers. r=dougt
2013-11-27 02:28:16 -02:00
Luke Wagner
5ed834b091
Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
...
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Wes Kocher
9d54e7a157
Merge b2g-inbound to m-c
2013-11-26 19:34:07 -06:00
Josh Matthews
be2ec9d58c
Bug 931930 - Initialize all members of PositionOptions when creating it by hand in the chrome process. r=dougt
2013-11-26 18:25:43 -05:00
Randy Lin
2392de7e85
Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas
2013-11-25 12:50:03 +13:00
Nicholas Nethercote
39004db706
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a903aefdc0
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Patrick Wang
a1cf55cec3
Bug 928995: Move Nuwa to PreallocatedProcessManager. r=bent
2013-11-22 11:25:34 +08:00
Chris Kitching
f7dde79803
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats
2013-11-12 10:41:01 -08:00
Chris Kitching
36c7d139c0
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Jed Davis
62bf7e97e9
Bug 936169 - Don't ignore failure to sandbox a non-preallocated child. r=bent
2013-11-20 09:29:02 -05:00
Andrea Marchesini
836360f194
Bug 923625 - DataStore sends the principal as argument in sendAsyncMessage, r=ehsan
2013-11-26 16:31:07 +00:00
Ryan VanderMeulen
2c440594a5
Backed out 7 changesets (bug 913985) for intermittent Android crashes.
...
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching
ce5cac707e
Bug 913985 - Part 6: remove redundant AndroidBridge::Bridge() checks. r=kats
2013-11-12 10:41:01 -08:00
Chris Kitching
c4e86cb63e
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Reuben Morais
ccec845618
Bug 904298 - Use CheckPermission to check for the desktop-notification permission. r=sicking
2013-11-11 21:56:21 -02:00
Andrea Marchesini
8abae6153f
Bug 916091 - patch 2 - nsIMessageSender should check if the principal is valid., r=smaug
2013-11-06 17:21:17 +00:00
Andrea Marchesini
b331fe6f43
Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug
2013-11-06 17:21:15 +00:00
Nicholas Nethercote
3eae0dfea5
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
8aa18001f7
Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
...
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Nathan Froyd
05e020c835
Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan
2013-10-18 16:57:55 -04:00
Brian R. Bondy
152817226f
Bug 928042 - Add an environment variable to disable content processes sandboxing even when MOZ_CONTENT_SANDBOX is defined. r=aklotz
2013-11-01 19:09:45 -07:00
Birunthan Mohanathas
98f3b9652a
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Shih-Chiang Chien
11cc7925bf
Bug 926289 - Part 1, Add recording type and request URL in recording-device-events. r=khuey.
2013-10-25 20:04:50 -04:00
Shih-Chiang Chien
247bb2005e
Bug 919149 - Maintain child process lifecycle for recording status. r=jesup, r=khuey, r=vingtetun
2013-09-30 20:09:55 +08:00
Jed Davis
46fece1eed
Bug 921817 - Enable sandbox in non-preallocated child processes. r=kang, r=bent
2013-10-15 10:02:26 -04:00
Fabrice Desré
628b85da4f
Bug 918658 - Don't pretend that mozIApplication inherits from mozIDOMApplication r=bent
2013-10-08 15:52:26 -07:00
David Anderson
0c515ae00c
Add RPC message support to messagemanager (bug 910493 part 2, r=smaug).
2013-10-01 09:15:06 -07:00
Mark Hammond
3f954a3b6a
Bug 920397 part 3 - Ensure PContentParent doesn't close process handles multiple times. r=bsmedberg
2013-10-01 10:56:16 +10:00
Cervantes Yu
0a6a25b7c4
Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
...
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f1e0772455
Bug 771765 - Support template content process, part 5: PContent protocol changes. r=khuey, r=bent
...
Change the PContent protocol to support:
* Creating the template process.
* Forking new content processes from the template on the child side and cloning the actor on the parent side.
* Fallback to non-templated content process creation if no template-preallocated process is available.
2013-06-03 18:14:40 +08:00
David Anderson
fd2cf49aa1
Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
...
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Ryan VanderMeulen
4875847fa7
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
418cc1b25e
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats; DONTBUILD
2013-09-27 10:10:47 -04:00
Chris Kitching
939077cb0b
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
6b7e07f87d
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
...
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
2537169fc7
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats
2013-09-27 10:10:47 -04:00
Chris Kitching
602a2edbcb
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kan-Ru Chen (陳侃如)
064dc3f94e
Bug 914541 - Assign higher priority for mozapptype=inputmethod. r=fabrice
2013-09-24 16:10:20 +08:00
David Zbarsky
9eca84e4d8
Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
...
Conflicts:
dom/ipc/ContentChild.cpp
dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Ehsan Akhgari
8c43a4f37f
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
JW Wang
3524a3c64f
Bug 894249 - Add ability to associate video with a channel so that it can interrupt the background content channel. r=mchen, r=kinetik, r=bent
2013-09-18 11:46:22 +08:00
Patrick Wang
8e75942978
Bug 912861 - don't assert mActor when getting a remote blob in GetOrCreateActorForBlob(). r=khuey
2013-09-18 12:04:20 +08:00
Tom Schuster
cf31253822
Bug 914353 - Throw an error if call to GetRandomValues fails. r=khuey
2013-09-17 12:54:34 -04:00
Ryan VanderMeulen
77d0581129
Merge m-c to b2g-inbound.
2013-09-14 23:07:59 -04:00
Marco Chen
97bcdc43ea
Bug 823273 - Part 2: Music volume should be faded when notification sound is on going - IPC changes. r=baku
2013-09-02 17:45:44 +08:00
Steven Lee
e79d5d6cda
Bug 904025 - part1: pass phone state to child process. r=khuey
2013-09-13 16:51:45 +08:00
Marco Chen
8c960434be
Bug 855655 - [AudioChannelManager] Add New Attribute for Setting Default Control Volume Channel. r=baku
2013-09-12 20:26:03 +08:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Vicamo Yang
da62cf5ddc
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-07 14:19:53 +08:00
Ryan VanderMeulen
4dec0a7644
Merge inbound to m-c.
2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
3b1087b464
Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
...
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Michael Harrison
107bcf1f66
Bug 909768 - Replace idl::GeoPositionOptions with dom::PositionOptions. r=jdm
2013-09-06 16:44:26 -04:00
Vicamo Yang
3d3267810b
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-06 16:11:34 +08:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
26ceee4fb5
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Phil Ringnalda
1fdd0f4c23
Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage
2013-09-03 22:33:35 -07:00
Vicamo Yang
c0dad73b20
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-04 12:46:01 +08:00
Pin Zhang
3b83b78c25
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey
2013-09-03 15:28:06 -07:00
Ben Turner
d78263de19
Bug 908432 - 'Crash when reading multiple slices of a cross-process file-backed blob'. r=khuey.
2013-08-29 10:16:44 -07:00
Ed Morley
702267fc97
Backed out changeset 5a71d3bf48ce (bug 870676)
2013-08-29 10:42:42 +01:00
Pin Zhang
44042ba908
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey CLOSED TREE
2013-08-28 10:25:09 -07:00
Kyle Huey
2aa7b2971e
Back out my failed attempt to land bug 870676.
2013-08-28 10:23:32 -07:00
Kyle Huey
6b509a77ff
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey
2013-08-28 10:17:37 -07:00
Kyle Huey
9f28dfc5b2
Back out my failed attempt to land bug 870676.
2013-08-28 10:10:39 -07:00
Kyle Huey
7de080c3b6
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey
2013-08-28 09:45:50 -07:00
Tom Schuster
0acbeba404
Bug 905441 - Load style sheets from the parent into the child. r=bz
2013-08-27 13:10:39 -04:00
David Anderson
16668a7bf4
Don't deadlock on a child process for a CPOW (bug 905896, r=cjones).
2013-08-26 21:56:57 -07:00
Ryan VanderMeulen
61ddf114c1
Merge m-c to b2g-inbound.
2013-08-22 20:47:37 -04:00
Dave Hylands
a2da39cd38
Bug 878310 - Improve DeviceStorage volume status reporting. r=qDot
...
This changeset causes tranistory states when changing from mounted to shared,
and back to mounted to be reported as shared instead of unavailable.
We also don't send the same status twice in a row.
2013-08-22 16:12:25 -07:00
Tom Schuster
d68cba4131
Bug 900707 - Ifdef some child permission checks that right now only work with B2G. r=sicking,felipe
2013-08-22 15:52:07 -04:00
Mark Hammond
d6d156b7b1
Bug 890840 - calling KillHard() multiple times may crash parent process. r=jlebar
2013-08-17 10:44:17 +10:00
Tom Schuster
14d0dced66
Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug
2013-08-16 13:59:31 -04:00
Reuben Morais
7baac7071e
Bug 904863 - Remove unnecessary remote call in Notification::GetPermissionInternal. r=sicking
...
--HG--
extra : rebase_source : c77b4cf992d71b5f886cf78604588033beae8320
2013-08-15 17:15:07 -03:00
Nicholas Nethercote
05eea65d43
Bug 903949 (part 2) - Don't trigger about:memory re-generation when a child process closes. r=jlebar.
...
--HG--
extra : rebase_source : ee532ba1176906a69cf68774d755856581e44dd9
2013-08-12 18:15:04 -07:00
Nicholas Nethercote
9ff33b9d6a
Bug 903949 (part 1) - ChildMemoryReporter should return mProcess in GetProcess() rather than an empty string. r=jlebar.
...
--HG--
extra : rebase_source : a0979780a7289429e4c06dce2de06576bb3a3e90
2013-08-12 18:14:41 -07:00
Justin Lebar
1b987f8eb2
Bug 895204 - Let ContentParent call CloseWithError() even if it's already called Close(). r=khuey
...
When Close() fails with an error, we should end up back in ContentParent and we eventually need to call CloseWithError().
2013-08-07 11:08:52 -07:00
Olli Pettay
763f1d9733
Bug 901312 - crash in mozilla::dom::ContentParent::ActorDestroy @ nsFrameMessageManager::Disconnect, r=jlebar
...
--HG--
extra : rebase_source : a03a8b0339fc7200ed2430dcfaa81986fef743e7
2013-08-05 14:02:38 +03:00
Justin Lebar
32e25ae5f6
Bug 899761 - Fix a debug-build shutdown crash in ContentParent. r=khuey
...
Sometimes a ContentParent object gets destroyed after XPCOM shutdown has
shut down the cycle collector. If the ContentParent destructor releases
a cycle collected object (e.g. mMessageManager), this causes the cycle
collector to assert.
2013-07-31 14:26:19 -07:00
Justin Lebar
fb76ae538d
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null.
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
2013-07-30 14:42:34 -07:00
Ryan VanderMeulen
db283de51f
Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
...
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
7aa4dc5297
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null. r=khuey
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
--HG--
extra : rebase_source : d43e858739a342ab420122a90336bfd585be268a
2013-07-30 11:51:44 -07:00
David Zbarsky
f6f620d05f
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Joshua Cranmer
36673bcae2
Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
...
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Ryan VanderMeulen
76ce8020e7
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Justin Lebar
ca73e2d2f6
Bug 893242 - Part 4: Add a memory reporter counting ContentParents and the number of IPC messages they have outstanding. r=njn
2013-07-17 14:31:10 -07:00
Justin Lebar
545d682d16
Bug 893242 - Part 3: Add ContentParent::GetAllEvenIfDead(). r=bent
...
To do this, we got rid of the explicit removal of a ContentParent from
sContentParents in MarkAsDead(). Instead, we rely on
LinkedListElement's destructor to remove the ContentParent from
sContentParents.
Thus, a ContentParent stays in sContentParents until it's destructed.
ContentParent::GetAll() checks whether the ContentParent is still alive,
so its behavior is unchanged.
2013-07-17 14:31:10 -07:00
Justin Lebar
21412f80a2
Bug 893242 - Part 2: Make sContentParents a StaticAutoPtr. r=khuey
...
This eliminates a static constructor, which is good. It also avoids a
problem at shutdown: If we leak a ContentParent and we destroy
sContentParents atexit, then sContentParents will assert that it's not
empty and cause test failures.
2013-07-17 14:31:10 -07:00
Justin Lebar
c56bcbc911
Bug 893242 - Part 0: Don't crash if we call ContentParent::Pid() after the process is dead. r=bent
2013-07-17 14:31:10 -07:00
Jinho Hwang
c232406d9e
Bug 894191 - Run ContentParent::ShutDownProcesss() after ContentParent::KillHard(). r=jlebar
...
--HG--
extra : rebase_source : 2cd9c02feab01b9506d74f721f24068fb653879d
2013-07-17 12:13:20 -07:00
David Zbarsky
7b9085b453
Bug 879475 - Make PBlob manually keep track of its manager r=jlebar
2013-07-16 13:07:09 -07:00
Tom Schuster
01185cf81d
Bug 886903 - Send correct UserAgent data for content process. r=jdm
2013-04-22 18:41:59 +02:00
Ryan VanderMeulen
cc6b678858
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
a2ae0d76c3
Bug 886903 - Send correct UserAgent data for content process. r=jdm
2013-04-22 18:41:59 +02:00
Ryan VanderMeulen
d38f55bba0
Merge inbound to m-c.
2013-07-15 17:03:59 -04:00
Justin Lebar
c829941c0b
Bug 893172 - Call ShutDownProcess in ContentParent::ActorDestroy. r=bent
2013-07-15 08:55:13 -04:00
David Anderson
9358336f75
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Wes Kocher
725b5f55d2
Backout 129da44ac469 (bug 870180) for breaking message manager
2013-07-10 18:22:34 -07:00
David Anderson
5f0258f3c3
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
David Zbarsky
72c136129d
Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar
2013-07-10 13:07:51 -04:00
JW Wang
485b8bde11
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
12785ceb9b
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
6024fcafc0
Bug 865347 - Add functions to manipulate fake volumes to test SD card insert/remove. r=dhylands
2013-07-09 14:37:47 +08:00
David Zbarsky
dc4eb54b87
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
David Anderson
71e7bc4fc9
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
David Anderson
2d21f2b922
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Phil Ringnalda
ba304065ca
Merge m-c to birch
2013-06-29 06:55:30 -07:00
Reuben Morais
18eca0471a
Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug
2013-06-29 03:52:16 -07:00
Justin Lebar
3e059c7221
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
051c5b560a
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
Boris Zbarsky
e46734cb01
Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence
2013-05-20 08:40:06 -04:00
David Zbarsky
45aa3d2bde
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07:00
Dave Hylands
c53a4e7f72
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
bc36900668
Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures.
2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c
Bug 858416 - Create a composite device storage interface. r=dougt
2013-05-11 02:10:18 -07:00
Justin Lebar
7dd11f3ce2
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
Drew Willcoxon
27ce0816a5
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
Justin Lebar
bc9dda8241
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
Andreas Gal
11a894d05f
Bug 862970 - Don't lock images on the active page on B2G. r=jlebar,joe
2013-04-25 18:36:53 -07:00
Justin Lebar
b9b9b91ceb
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
c73b99561e
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
d5a4a10ea7
Bug 844323 - Prelude part 4: Use 's' prefix on class-static variables, not 'g'. r=me
2013-04-25 20:53:26 -04:00
Dave Hylands
16908eb6b9
Bug 860934 - Use relative paths when handling device storage r=dougt
2013-04-18 16:13:23 +02:00
Honza Bambas
f29df2e52f
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-15 14:38:48 +02:00
Guilherme Gonçalves
bc55011071
Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz
2013-04-12 13:01:29 -07:00
Ryan VanderMeulen
60dbee1a3e
Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE.
2013-04-11 17:00:28 -04:00
Honza Bambas
26d97547b7
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-11 18:26:06 +02:00
Eitan Isaacson
4e35440ec8
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
Jim Blandy
0e350fec1b
Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey
2013-04-02 16:52:51 -07:00
vliu
db18757691
Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands
2013-03-13 14:44:43 +08:00
Ryan VanderMeulen
3e6b0826a4
Backed out changeset 42d5d3080bc4 (bug 847656) for mochitest crashes on a CLOSED TREE.
2013-03-20 14:17:22 -04:00
Jim Blandy
db04a012af
Bug 847656: Change ContentParent::GetNewOrUsed to return an already_AddRefed value. r=khuey
2013-03-20 10:30:09 -07:00
William Chen
5125ca9fad
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
b382e82e06
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
Gene Lian
3fd091d44a
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
David Dahl
bf359eeabb
Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey
2013-02-27 14:31:19 -06:00
Josh Matthews
8b80e60c38
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
Josh Matthews
e1988fff12
Bug 832232 - Protect against missing geolocation services during shutdown. r=dougt
2013-02-20 02:10:47 -05:00
Justin Lebar
0f92a37666
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
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
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
Olli Pettay
b9080a0df7
Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey
2013-02-11 21:37:50 +02:00
Justin Lebar
a103c2522a
Bug 838616 - Eliminate a process-priority race condition around preallocated process creation. r=cjones
...
Previously, it was possible to return a dead preallocated process. This
patch eliminates or at least significantly reduces the likelihood of
this race.
--HG--
extra : rebase_source : f51022581edbdee8b72a8a56e296b6706bf1d165
2013-02-08 14:32:23 +00:00
Justin Lebar
7ae1f3cd11
Bug 838616 - Boost preallocated process's priority sooner after we decide to transform it into an app process. r=cjones
...
--HG--
extra : rebase_source : 011d56c6e06bda680d073ae420b84d42e8a37257
2013-02-08 14:32:23 +00:00
Justin Lebar
f35010eabb
Bug 838620 - Eliminate the ChildOSPrivileges typedef in favor of base::ChildPrivileges. r=cjones
...
--HG--
extra : rebase_source : 9b8a8628d0e5ba75989d6d3eeacbf55a2796b27d
2013-02-08 14:32:23 +00:00
Ben Turner
8d8a20e6ac
Bug 832419 - 'Clean up IPC blobs'. r=sicking.
2013-01-17 12:17:33 -08:00
Justin Lebar
0f0d04a754
Bug 834059 - Send processses into the foreground when they first launch, so they don't get killed quite so quickly. r=cjones
...
This patch also sends the preallocated process into the background immediately after it's launched.
2013-01-26 16:14:01 -05:00
Sotaro Ikeda
9869e6bdbd
Bug 833521 - forward "recording-device-events" event to parent process, r=dougt
2013-01-24 21:45:36 -05:00
Nathan Froyd
32cc776017
Bug 834263 - consolidate ClonedMessageData unpacking code; r=smaug
2013-01-24 11:24:19 -05:00
Ryan VanderMeulen
cc8552d9ab
Backed out changeset 58209cc0ae14 (bug 833521) for build bustage.
2013-01-24 15:23:53 -05:00
Sotaro Ikeda
06930e355e
Bug 833521 - forward "recording-device-events" event to parent process, r=dougt
2013-01-24 14:51:03 -05:00
Nathan Froyd
157648b3fe
Bug 834106 - consolidate ClonedMessageData building code into MessageManagerCallback; r=smaug
2013-01-23 21:39:27 -05:00
Chris Jones
bc9b3368d7
Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar
2013-01-17 12:06:36 -08:00
Chris Jones
d6f21e8891
Back out bug 786631
2013-01-17 12:49:56 -08:00
Chris Jones
e97fb1ad7f
Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar
2013-01-17 12:06:36 -08:00
Nicholas Nethercote
e92eb3e23a
Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar.
...
--HG--
extra : rebase_source : 31ef4aaa1dde5299125ed67d297d70ee5fe5c876
2013-01-14 16:28:36 -08:00
Andrea Marchesini
806c76d9f1
Bug 829030 - Accessing the desktop notification API in the browser and approving permission errors out - API does not work, r=sicking
2013-01-14 11:08:55 +01:00
Ben Turner
3bc314ce36
Bug 828870 - All shared blobs must be immutable. r=khuey.
2013-01-10 19:16:40 +01:00
Jared Wein
517d7e33f7
Backed out changeset 94333351aab3 (bug 828870)
2013-01-10 14:14:49 -05:00
Ben Turner
0172042c92
Bug 828870 - All shared blobs must be immutable. r=khuey.
2013-01-10 19:16:40 +01:00
Kyle Huey
1ef0ad5b3a
Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+
2013-01-10 05:47:32 -08:00
Ed Morley
2e694dc42e
Backout 1391e924e9ee (bug 806503) for mochitest-1 failures on a CLOSED TREE
2013-01-10 15:21:39 +00:00
Chris Jones
ba4a4c5b0f
Bug 828114: Set a timer to ensure content processes are killed if their tabs take a long time to shut down. r=jlebar a=blocking-basecamp
2013-01-10 14:22:14 +01:00
Kyle Huey
eab7308800
Bug 806503: Eagerly transmit blob data across processes so that it is available if the originating process dies. r=bent a=bb+
2013-01-10 05:47:32 -08:00
Dave Hylands
62aeb83227
Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
...
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
dom/ipc/ContentChild.cpp | 18 +++-
dom/ipc/ContentChild.h | 5 +-
dom/ipc/ContentParent.cpp | 22 +++-
dom/ipc/ContentParent.h | 2 +
dom/ipc/PContent.ipdl | 6 +-
dom/system/gonk/AutoMounter.cpp | 19 +++-
dom/system/gonk/Makefile.in | 4 +-
dom/system/gonk/Volume.cpp | 62 ++++++++++-
dom/system/gonk/Volume.h | 11 +-
dom/system/gonk/VolumeServiceIOThread.cpp | 11 +-
dom/system/gonk/VolumeServiceIOThread.h | 7 +-
dom/system/gonk/nsIVolume.idl | 21 +++-
dom/system/gonk/nsIVolumeMountLock.idl | 12 +++
dom/system/gonk/nsIVolumeService.idl | 9 +-
dom/system/gonk/nsVolume.cpp | 96 ++++++++++++++++-
dom/system/gonk/nsVolume.h | 43 ++++++--
dom/system/gonk/nsVolumeMountLock.cpp | 157 +++++++++++++++++++++++++++
dom/system/gonk/nsVolumeMountLock.h | 55 ++++++++++
dom/system/gonk/nsVolumeService.cpp | 168 +++++++++++++++++++++++------
dom/system/gonk/nsVolumeService.h | 20 +++-
layout/build/nsLayoutModule.cpp | 5 +-
layout/build/nsLayoutStatics.cpp | 9 ++
22 files changed, 684 insertions(+), 78 deletions(-)
create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Ed Morley
8304fb5ac1
Backout 250a95a6ff00 (bug 828114) for mochitest timeouts on a CLOSED TREE
2013-01-09 20:01:03 +00:00
Chris Jones
dc502af4df
Bug 828114: Set a timer to ensure content processes are killed if their tabs take a long time to shut down. r=jlebar a=blocking-basecamp
2013-01-09 19:04:54 +01:00
Doug Turner
c52c731184
Bug 827311 - Remote file update notifications. r=bent a=blocking-basecamp
2013-01-09 07:03:28 -08:00
Chris Jones
c5838870ff
Bug 828285: Run camera with lower privileges. r=dhylands a=overholt
2013-01-09 14:50:25 +01:00
Andrea Marchesini
f78b7dc440
Bug 825674 - Installed apps do not get affected by the hardware volume control, r=sicking
2013-01-09 08:18:16 +01:00
Phil Ringnalda
69566d191b
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Tom Schuster
5de50e9d38
Bug 910436 - Electrolysis: Pass PBrowser to the PExternalHelperAppParent so that we can get a window for the download box. r=jdm
2013-09-12 15:24:10 -04:00
Dave Hylands
e458463bf7
Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
...
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
dom/ipc/ContentChild.cpp | 18 +++-
dom/ipc/ContentChild.h | 5 +-
dom/ipc/ContentParent.cpp | 22 +++-
dom/ipc/ContentParent.h | 2 +
dom/ipc/PContent.ipdl | 6 +-
dom/system/gonk/AutoMounter.cpp | 19 +++-
dom/system/gonk/Makefile.in | 4 +-
dom/system/gonk/Volume.cpp | 62 ++++++++++-
dom/system/gonk/Volume.h | 11 +-
dom/system/gonk/VolumeServiceIOThread.cpp | 11 +-
dom/system/gonk/VolumeServiceIOThread.h | 7 +-
dom/system/gonk/nsIVolume.idl | 21 +++-
dom/system/gonk/nsIVolumeMountLock.idl | 12 +++
dom/system/gonk/nsIVolumeService.idl | 9 +-
dom/system/gonk/nsVolume.cpp | 96 ++++++++++++++++-
dom/system/gonk/nsVolume.h | 43 ++++++--
dom/system/gonk/nsVolumeMountLock.cpp | 157 +++++++++++++++++++++++++++
dom/system/gonk/nsVolumeMountLock.h | 55 ++++++++++
dom/system/gonk/nsVolumeService.cpp | 168 +++++++++++++++++++++++------
dom/system/gonk/nsVolumeService.h | 20 +++-
layout/build/nsLayoutModule.cpp | 5 +-
layout/build/nsLayoutStatics.cpp | 9 ++
22 files changed, 684 insertions(+), 78 deletions(-)
create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Ed Morley
6cfecba5ff
Merge mozilla-central to mozilla-inbound
2013-01-07 16:05:46 +00:00
Josh Matthews
7d196cc2e6
Backed out changeset 9dc561810a74 (bug 826102)
2013-01-07 16:34:51 +01:00
Josh Matthews
667076946d
Bug 826102 - Make IPC geolocation listener never use cached values and never skip a value. r=dougt
2013-01-07 06:57:00 +01:00
Josh Matthews
64ae9817ff
Bug 826102 - Make IPC geolocation listener never use cached values and never skip a value. r=dougt
2013-01-07 06:57:00 +01:00
Chris Jones
72115ef6d7
Fixing bug 821710. Send the tab URL for B2G browser content crashes. r=ted
2013-01-07 06:42:32 -08:00
Ehsan Akhgari
8538320b3c
Merge mozilla-central into mozilla-inbound
2013-01-07 09:12:19 -05:00
Doug Turner
ca4b90d16a
Bug 813758 - Need additional security checks for the geolocation permission. r=sicking,jdm a=blocking-basecamp
2013-01-02 13:21:37 -08:00
Gene Lian
47b06e6852
Bug 821671 - Check alarm API parameters in the parent (part 2, provide assertContainApp() for checking manifest URL). r=sicking
2012-12-22 20:00:10 +08:00
Gene Lian
ebdfa96824
Bug 821671 - Check alarm API parameters in the parent (part 1, provide .AssertAppProcess() with different types). r=sicking
2012-12-22 19:53:38 +08:00
Chris Jones
ec8c1158f6
Bug 825976: Only use the crash reporter actor if it was successfully created. r=ted
2013-01-03 15:39:25 -08:00
Josh Matthews
d165c2299d
Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt
2012-12-31 11:36:46 -05:00
Andrea Marchesini
6b0a7ece90
Bug 820704 - AudioChannelService must handle children quitting unexpectedly. r=jlebar
2012-12-28 12:57:35 -05:00
Chris Jones
fb825fe86d
Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
...
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Josh Matthews
11eba89444
Backed out changeset 3114517c141a (bug 823789)
2012-12-28 02:21:41 -05:00
Josh Matthews
95464c70a9
Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt
2012-12-24 15:14:34 -05:00
Hubert Figuière
1301f9f2b6
Bug 806515 - Part 2: use the URL field for content crash. r=kairo
...
--HG--
extra : rebase_source : 1e2ccc8af82adeec4b3cddf8c40af4406b6b1b38
2012-12-27 12:36:28 -05:00
Hubert Figuière
66ea7ad0f0
Bug 806515 - Send app identifier for B2G content. r=bz
...
--HG--
extra : rebase_source : a798a7c117e1d2af34243cd1a1bfa5b3bc701f18
2012-12-25 15:06:27 -08:00
Gregor Wagner
e705855918
Bug 814157 - Need additional security checks for the "desktop-notification" permission. r=fabrice
2012-12-20 11:06:42 -08:00
Chris Jones
8c70858d92
Bug 822510: Add specific privilege levels for camera and video, and enable that for video. r=jlebar,kang
2012-12-19 23:41:08 -08:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Andrea Marchesini
3114cafbfe
Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp
2012-12-05 19:01:58 -08:00
Ryan VanderMeulen
cd7cf9b308
Backed out changeset ebaa0a4d35a3 (bug 813758) due to bug 817758.
2012-12-03 19:03:16 -05:00
Doug Turner
4704960aa6
Bug 813758 - Ensure permission for geolocation is tested in the parent process. r=bent
2012-12-01 21:21:56 -05:00
Ed Morley
d98a8917bf
Backout 2cf359411d7d (bug 813758) for crashes
2012-11-30 09:39:57 +00:00
Doug Turner
e202f470c5
Bug 813758 - Ensure permission for geolocation is tested in the parent process. r=bent a=blocking-basecamp
2012-11-29 21:41:40 -08:00
Doug Turner
b8cbbff7b0
Bug 813995 - Check device storage permissions in parent process. r=bent a=blocking-basecamp
2012-11-29 21:41:40 -08:00
Chris Jones
c6b42920b1
Bug 811315: Use process-per-mozbrowser by default and make scrolling behavior selectable by content. r=jlebar sr=roc
...
This is a rollup of the following patches
Bug 811315, part 0.9: Fix pre-existing race condition that allows dying ContentParents to accidentally try to load new TabParents. r=jlebar
Bug 811315, part 0.91: Fix another pre-existing race condition where FirstIdle might run after ContentChild::ActorDestroy(). r=jlebar
Bug 811315, part 1: Make "browser" process limit infinite and unload the processes when all tabs are closed. Firefox with process-per-tab! r=jlebar
Bug 811315, part 2: Pass scrolling-behavior hint down into TabParent instead of inferring it from app/browser. r=jlebar
Bug 811315, part 3: Add a mozasyncpanzoom attribute for iframes and honor it when constructing a remote frame. r=jlebar sr=roc
2012-11-27 12:43:52 -08:00
Matthew Gregan
57a17a2534
Bug 812937 - Remove unused audio remoting code. r=cjones
2012-11-19 13:54:29 +13:00
Kan-Ru Chen (陳侃如)
024fb57538
Bug 806363 - Remove wake locks on content-shutdown. r=jlebar
2012-11-17 23:05:18 +08:00
Justin Lebar
a9e6d9a0c8
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
3eff16d324
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
785d3c9b2f
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Dave Hylands
517cf42c43
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Marco Bonardo
afedd3bf3c
Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
...
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Blake Kaplan
a40fa24694
Bug 806965 - Initialize new child processes with the current offline state. r=jlebar
2012-11-08 13:09:39 -08:00
Gabriele Svelto
9e3fdc6388
Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar
2012-11-08 02:07:57 +01:00
Gregor Wagner
e03cbea0f5
Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent
2012-11-06 13:29:30 -08:00
Ben Turner
a0b654a17f
Bug 805354 - 'Add read/write permission checks to chrome databases from other processes'. r=fabrice+khuey.
...
--HG--
extra : rebase_source : c23136e4d10dacb3c9d1c11598da3a6972281467
2012-10-25 10:12:14 -07:00
Justin Lebar
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
7b38d49f83
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
818638f210
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
af7297481d
Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Doug Turner
7f3ec9a071
Bug 804789 - Fix commented out code cause by Bug 793955. r=bent
2012-10-29 09:54:35 -07:00
Robert O'Callahan
0e15bb86af
Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik
2012-10-25 23:09:39 +13:00
Ben Turner
9c87933aa0
Bug 782766 - [WebActivities] support blobs - Part 2: IPC changes [r=khuey]
...
--HG--
extra : rebase_source : 0b6e2e7745e716994d305f4e29ade68c71826481
2012-10-25 11:45:15 -07:00
Fabrice Desré
0e5313830a
Bug 782766 - [WebActivities] support blobs - Part 1: System Messages changes [r=gene]
...
--HG--
extra : rebase_source : bff9c5c4745493b652a6218a60d5840e09f7235e
2012-10-25 11:45:14 -07:00
Doug Turner
4fd0f3eb19
Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp
2012-10-18 11:29:32 -07:00
Dave Hylands
bfb40ef4b3
Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones
2012-10-08 22:46:19 -06:00
Kyle Huey
51f49bc2cc
Bug 797889: Make sure IndexedDB does not send messages to thechild after it has begun shutting down. r=bent
2012-10-05 12:09:33 -07:00
Justin Lebar
abae78a22a
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
97e964573e
Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange.
2012-10-03 21:59:41 -04:00
Justin Lebar
cce7269df6
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-03 20:45:40 -04:00
Justin Lebar
1de604c745
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 21:19:11 -04:00
Dave Hylands
4a5d44fb67
Bug 797174 - dom.ipc.processPrelauch is misspelled
...
Corrected spelling to be dom.ipc.processPrelaunch
2012-10-02 17:13:40 -07:00
Phil Ringnalda
9823cbba0f
Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes
2012-10-01 23:00:51 -07:00
Justin Lebar
65ee6ce53d
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 00:11:41 -04:00
Philipp von Weitershausen
3056ce6dfe
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
44fd6174fa
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ea1b946dd2
Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE
2012-09-28 14:08:04 +01:00
Philipp von Weitershausen
db02958cb6
Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones
2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
aeb0b41fb3
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
a4cb255103
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
4790e5734f
Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug
2012-09-26 00:41:51 -07:00
Chris Jones
b7f90c6b8c
Bug 793479: Update C++ permission-checking API to match that of the message-manager one. r=jlebar
2012-09-25 11:52:30 -07:00
Chris Jones
fbdcbf7f82
Bug 791164: Inherit priveleges for apps that have hwdecode permission. r=jlebar
2012-09-20 16:26:41 -07:00
Ms2ger
711f1fd480
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Ben Turner
9e6221f761
Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones.
2012-09-13 09:37:14 -07:00
Daniel Holbert
1dc8cb22b6
Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg
2012-09-09 16:29:12 -07:00
Chris Jones
c25e82678d
Bug 776850: Kill subprocesses that fail backstop permission checks. r=jlebar
2012-09-05 15:18:48 -07:00
Chris Jones
9509102724
Bug 785237: Give prelaunch processes background priority, and move the background oom_adj up (down?) a class. r=jlebar
2012-09-04 17:36:16 -07:00
Doug Turner
63c4d474d4
Bug 783668 - Device Storage - use storage type to filter out change notifications - not the root. r=sicking
2012-08-30 15:17:37 -07:00
Chris Jones
10b2881af1
Bug 782456, part 2: Inherit privileges in apps that have permissions that require them. Sigh. r=jlebar
2012-08-29 09:24:48 -03:00
Chris Jones
039ea59262
Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc
2012-08-29 09:24:48 -03:00
Mounir Lamouri
0eb75e0f22
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Chris Jones
bb75bebb82
No bug: Merge backout on a CLOSED TREE r=bustage
2012-08-23 22:33:04 -07:00
Chris Jones
da27f385d7
Back out bug 777072, bug 619236, and bug 784878
2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
9ad8ca8a9d
Merge the last PGO-green inbound changeset to m-c.
2012-08-23 22:06:49 -04:00
Ben Turner
7370f46298
Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
...
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Mounir Lamouri
f12bc57d40
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Chris Jones
f760acdc5e
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 11:23:43 +01:00
Ed Morley
900bd7cc06
Backout 06f6eede6b77 (bug 762221) for crashes
2012-08-23 10:27:56 +01:00
Chris Jones
9c75d27a17
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 01:22:19 -07:00
Chris Jones
bda301f268
Bug 783184: Ensure that child-process pref state always is the same as its parent's. r=bsmedberg
2012-08-22 13:00:21 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Doug Turner
3ff1f51432
Bug 782352 - Broadcast local io to onchange listeners. r=sicking
2012-08-17 19:43:00 -07:00
Chris Jones
241a9adf47
Bug 776664: Check "sms" capability for PSms. r=mounir
2012-08-16 12:34:53 -07:00
Chris Jones
00822f833d
Bug 781742: Try to keep a process pre-launched for app content, if the pref says to. r=jlebar
2012-08-15 18:46:03 -07:00
Eric Wong
c200656eac
Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan
2012-08-14 20:37:44 -07:00
Ed Morley
5381ebd3cb
Backout 327d9e9efbf7 (bug 773760) for bustage
2012-08-14 16:23:02 +01:00
Eric Wong
6cc858556c
Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan
2012-08-13 22:46:23 -07:00
Doug Turner
260f8bcba2
Bug 773798 - Multi-process support for MediaStorage - Use PBlob. r=bent
2012-08-09 15:41:18 -07:00
Dave Hylands
a1ecee7029
Bug 780693 - IPC VolumeManager on Gonk. r=bent
2012-08-03 16:48:58 -07:00
Chris Jones
08363a8023
Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar
2012-08-08 19:58:06 -07:00
Chris Jones
de98620468
Back out bug 776649. r=bustage
2012-08-08 20:13:12 -07:00
Chris Jones
d870f5de82
Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar
2012-08-08 19:58:06 -07:00
Chris Jones
75f3c6e5e7
Bug 671196: Kill content processes that cause processing errors in the chrome process. r=bsmedberg
2011-07-12 23:52:31 -07:00
Chris Jones
a7acbe1bfe
Bug 774131, part 2: Add GeckoChildProcessHost::LaunchAndWaitForProcessHandle() to do that, use it in ContentParent, and share more process-launching code. r=bent
2012-08-07 16:29:32 -07:00
Ben Turner
05386e72be
Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
...
--HG--
extra : transplant_source : %90%87%047%07BA%97%E0%F1n%1DY%08D%7C%E39%20%0F
2012-08-02 23:25:30 -07:00
Ben Turner
526f8bed87
Backed out changeset 46653198caac
2012-08-02 21:53:03 -07:00
Ben Turner
5515882b39
Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
2012-08-02 13:42:30 -07:00
Doug Turner
7f0d522454
Bug 763976 - Add onchange notifications to DeviceStorage - IPC - r=khuey
2012-08-01 23:32:04 -07:00
Ben Turner
4893263a15
Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
...
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Mounir Lamouri
c4e0278c6f
Bug 770532 - Make new nsIPrincipal and nsIDocShell attributes work in content process. r=jlebar
2012-07-21 17:16:11 -07:00
Chris Jones
2949a9f18b
Bug 745148, part 8: Implement the little boilerplate-y bits and pieces needed for cross-process compositor. r=ajuma,BenWa
2012-07-17 16:59:45 -07:00
Chris Jones
f86554bbd8
Bug 745148, part 3: SyncLaunch() content processes when we're using direct-to-omtc drawing. r=bent
2012-07-17 16:59:44 -07:00
Chris Jones
02fcf66f8e
Bug 773998: Shut down app processes when the last browser closes. r=jlebar
2012-07-17 11:27:27 -07:00
Ben Turner
77ec1d2ca4
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
2012-07-14 07:24:20 -04:00
Ms2ger
dc5ed62122
Backout changeset 592bfc94e628 for X orange.
2012-07-14 11:23:52 +02:00
Doug Turner
f2adcdd386
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Ryan VanderMeulen
6e7f656ffd
Backout b3f14a850269, f9d877d78294, and c7335ca109a4 due to build bustage.
2012-07-14 00:01:52 -04:00
Doug Turner
2eff5553d0
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Ben Turner
9550ca6ef8
Bug 772700 - 'IndexedDB - OOP from a JS component or JSM doesn't work'. r=khuey+mrbkap.
...
--HG--
rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js
extra : transplant_source : %217%FC%0D%A3%82%DB%F2DB%F1%5Dc%99%B9%C6j%E1U%A2
2012-07-13 23:05:58 -04:00
Justin Lebar
03ff529a0c
Bug 762802 - Each <iframe mozapp> should get its own process. Part 1: IPC changes. r=cjones
...
--HG--
extra : rebase_source : d2f882e14ab05167b0b8dd001e9f55d00eb0c7ec
2012-07-13 17:10:20 -04:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ehsan Akhgari
f4b598bf08
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Justin Lebar
b5919daf01
Bug 765075 - Load BrowserElementChild.js before returning the result of window.open from <iframe mozbrowser> to the opener. r=smaug
2012-06-21 21:17:52 -04:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Ben Turner
3fdf917cd6
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
04c833ea52
Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198)
2012-05-11 20:15:47 -07:00
Benjamin Smedberg
c16b458bb6
Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
...
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Ben Turner
e8e0f22c6e
Bug 747581. r=khuey.
2012-04-30 16:52:27 -07:00
Josh Matthews
7e78dba969
Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz
2012-04-19 20:13:20 -04:00
Olli Pettay
a575c4db0b
Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt
2012-04-16 22:08:48 +03:00
Ms2ger
77ca860259
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
859ca74e56
Bug 743573 - Fix a number of build warnings in dom/; r=volkmar
2012-04-14 15:09:47 +02:00
Justin Lebar
c5b2e91dc3
Bug 724072 - If using a content process, display the pid and "parent"/"child" along with each NS_WARNING. r=bsmedberg
...
--HG--
extra : rebase_source : e50670c28aa95de347ce68efaebb84c9682b2c36
2012-04-10 15:57:20 -04:00
Masayuki Nakano
0ce6ee8924
Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst
2012-04-04 13:09:20 +09:00
Doug Turner
b1e4247d44
Bug 735330 - move device motion from dom/system to hal. r=jdm
...
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data. support compassneedscalibration. r=jdm
--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
388850e1f0
Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
...
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner
075acfd9f5
Bug 735330 - move device motion from dom/system to hal. r=jdm
...
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data. support compassneedscalibration. r=jdm
--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Doug Turner
b8e66a3424
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 16:57:09 -07:00
Ed Morley
1f10388ce3
Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange
2012-03-13 22:29:29 +00:00
Doug Turner
3e44310837
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 09:59:24 -07:00