Josh Matthews
091db0d136
Backed out changeset 3114517c141a (bug 823789)
2012-12-28 02:21:41 -05:00
Josh Matthews
84288cc183
Bug 823789 - Pass enableHighAccuracy geolocation changes to the chrome process. r=dougt
2012-12-24 15:14:34 -05:00
Hubert Figuière
223411b20e
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
72e0ac33f0
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
bc2712da19
Bug 814157 - Need additional security checks for the "desktop-notification" permission. r=fabrice
2012-12-20 11:06:42 -08:00
Chris Jones
21213283df
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
e0523203c9
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
1f0b461ed1
Bug 805333, Patch 5 - mozAudioChannel for MediaElement - IPC. r=cjones a=blocking-basecamp
2012-12-05 19:01:58 -08:00
Ryan VanderMeulen
5d4be4c151
Backed out changeset ebaa0a4d35a3 (bug 813758) due to bug 817758.
2012-12-03 19:03:16 -05:00
Doug Turner
58fb33db50
Bug 813758 - Ensure permission for geolocation is tested in the parent process. r=bent
2012-12-01 21:21:56 -05:00
Ed Morley
abd6af07a3
Backout 2cf359411d7d (bug 813758) for crashes
2012-11-30 09:39:57 +00:00
Doug Turner
ee00a41700
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
61934cbcc3
Bug 813995 - Check device storage permissions in parent process. r=bent a=blocking-basecamp
2012-11-29 21:41:40 -08:00
Chris Jones
2114064656
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
68027d9249
Bug 812937 - Remove unused audio remoting code. r=cjones
2012-11-19 13:54:29 +13:00
Kan-Ru Chen (陳侃如)
43ad18d1ee
Bug 806363 - Remove wake locks on content-shutdown. r=jlebar
2012-11-17 23:05:18 +08:00
Justin Lebar
e80ccc6058
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
a9dc8e795f
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
37f4a955e5
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
4dc2dc2e6c
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Marco Bonardo
dd1dc9fc79
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
b8fa44f95c
Bug 806965 - Initialize new child processes with the current offline state. r=jlebar
2012-11-08 13:09:39 -08:00
Gabriele Svelto
bea65ae7da
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
ffe0c96d91
Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent
2012-11-06 13:29:30 -08:00
Ben Turner
8ecdf7df47
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
c001680f59
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
df1f088009
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
b6d3d98908
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
5dde530864
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
c3e175a44f
Bug 804789 - Fix commented out code cause by Bug 793955. r=bent
2012-10-29 09:54:35 -07:00
Robert O'Callahan
996ea428df
Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik
2012-10-25 23:09:39 +13:00
Ben Turner
087c5ca89f
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é
05f0c8d12e
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
4a040cfbad
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
9fa54f423e
Bug 797239 - Defer scheduling prelaunch app until child goes idle. r=cjones
2012-10-08 22:46:19 -06:00
Kyle Huey
3b1062dc73
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
5806b970be
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-04 00:44:50 -04:00
Ryan VanderMeulen
d309e30f04
Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange.
2012-10-03 21:59:41 -04:00
Justin Lebar
5f7552bf3f
Bug 797515 - Fix race condition in assertion in ContentParent::~ContentParent. r=cjones
2012-10-03 20:45:40 -04:00
Justin Lebar
ed2c71fc9a
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 21:19:11 -04:00
Dave Hylands
c3c631380b
Bug 797174 - dom.ipc.processPrelauch is misspelled
...
Corrected spelling to be dom.ipc.processPrelaunch
2012-10-02 17:13:40 -07:00
Phil Ringnalda
fb7f683c92
Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes
2012-10-01 23:00:51 -07:00
Justin Lebar
89936c0932
Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones
2012-10-02 00:11:41 -04:00
Philipp von Weitershausen
44fec9de95
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
ffc72e3d22
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
ce04490c89
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
76d445df15
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
7775e8c877
Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug
2012-09-27 22:43:12 -07:00
Ed Morley
dce1c2e5c4
Backout be95f234ff6e (bug 776832) for various mochitest-1 failures
2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
7d83192a58
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
47adc85527
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
bdc67f7029
Bug 791164: Inherit priveleges for apps that have hwdecode permission. r=jlebar
2012-09-20 16:26:41 -07:00
Ms2ger
10ec580e54
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Ben Turner
4fa4606698
Bug 755943 - 'Electrolysize b2g-bluetooth'. r=qDot+cjones.
2012-09-13 09:37:14 -07:00
Daniel Holbert
f8dfa24152
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
7e01b79a2d
Bug 776850: Kill subprocesses that fail backstop permission checks. r=jlebar
2012-09-05 15:18:48 -07:00
Chris Jones
4957ad3fea
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
a8fe1ff101
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
7b1aae6ab9
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
2ea4017e3d
Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc
2012-08-29 09:24:48 -03:00
Mounir Lamouri
fe72c430a5
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Chris Jones
bf0b224214
No bug: Merge backout on a CLOSED TREE r=bustage
2012-08-23 22:33:04 -07:00
Chris Jones
124a2df024
Back out bug 777072, bug 619236, and bug 784878
2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
e880c79745
Merge the last PGO-green inbound changeset to m-c.
2012-08-23 22:06:49 -04:00
Ben Turner
2e0265c8ef
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
9963397515
Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking
2012-08-23 11:38:01 -07:00
Chris Jones
93b1805471
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 11:23:43 +01:00
Ed Morley
87eb600689
Backout 06f6eede6b77 (bug 762221) for crashes
2012-08-23 10:27:56 +01:00
Chris Jones
c9e6d0cefc
Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar
2012-08-23 01:22:19 -07:00
Chris Jones
af428e822e
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
8c296bbcd4
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
2041347ec5
Bug 782352 - Broadcast local io to onchange listeners. r=sicking
2012-08-17 19:43:00 -07:00
Chris Jones
7e4f1be4b2
Bug 776664: Check "sms" capability for PSms. r=mounir
2012-08-16 12:34:53 -07:00
Chris Jones
b5aa2f402e
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
060de4f359
Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan
2012-08-14 20:37:44 -07:00
Ed Morley
80d42a1dab
Backout 327d9e9efbf7 (bug 773760) for bustage
2012-08-14 16:23:02 +01:00
Eric Wong
18e8d218cf
Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan
2012-08-13 22:46:23 -07:00
Doug Turner
b3518b52c3
Bug 773798 - Multi-process support for MediaStorage - Use PBlob. r=bent
2012-08-09 15:41:18 -07:00
Dave Hylands
b394c88f97
Bug 780693 - IPC VolumeManager on Gonk. r=bent
2012-08-03 16:48:58 -07:00
Chris Jones
063981263a
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
237a0abf01
Back out bug 776649. r=bustage
2012-08-08 20:13:12 -07:00
Chris Jones
8c8f551b1f
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
a5d0fed4be
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
0dd87e66bc
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
98a57bfb9c
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
f8dee3f4cb
Backed out changeset 46653198caac
2012-08-02 21:53:03 -07:00
Ben Turner
b77c1c5db1
Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
2012-08-02 13:42:30 -07:00
Doug Turner
34823412f0
Bug 763976 - Add onchange notifications to DeviceStorage - IPC - r=khuey
2012-08-01 23:32:04 -07:00
Ben Turner
1ef4c0de5b
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Mounir Lamouri
77caa7b002
Bug 770532 - Make new nsIPrincipal and nsIDocShell attributes work in content process. r=jlebar
2012-07-21 17:16:11 -07:00
Chris Jones
ab483974f7
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
24b6bd66ad
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
9e4503dd30
Bug 773998: Shut down app processes when the last browser closes. r=jlebar
2012-07-17 11:27:27 -07:00
Ben Turner
f44ed8784a
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
f73be635b4
Backout changeset 592bfc94e628 for X orange.
2012-07-14 11:23:52 +02:00
Doug Turner
d24cf25018
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Ryan VanderMeulen
ee7710d9d1
Backout b3f14a850269, f9d877d78294, and c7335ca109a4 due to build bustage.
2012-07-14 00:01:52 -04:00
Doug Turner
fd39f12412
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Ben Turner
c82cc8d4e1
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
713402885c
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
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ehsan Akhgari
a95b6edeea
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
2bfa9751db
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
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Ben Turner
785be4974a
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
e03dd6bfd0
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
b620e2c572
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
274da9e1d0
Bug 747581. r=khuey.
2012-04-30 16:52:27 -07:00
Josh Matthews
fb81af3718
Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz
2012-04-19 20:13:20 -04:00
Olli Pettay
2547761e2e
Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt
2012-04-16 22:08:48 +03:00
Ms2ger
b8ae2456b2
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
4baa902d14
Bug 743573 - Fix a number of build warnings in dom/; r=volkmar
2012-04-14 15:09:47 +02:00
Justin Lebar
f8a3cab1d6
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
eb57a32930
Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst
2012-04-04 13:09:20 +09:00
Doug Turner
e9b99834bc
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
bb974fd0d2
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
cb66f15674
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
cb5e3dd11b
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 16:57:09 -07:00
Ed Morley
72b4537851
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
968cf06489
Bug 734325 - implement compassneedscalibration event. r=jdm
2012-03-13 09:59:24 -07:00
Geoff Lankow
c4d2ef72bf
Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg
2012-01-18 23:23:28 +13:00
Andrew Quartey
1a0bc0cf5e
Bug 613360 - Safe use of thread observers in ContentParent. f=josh r=bsemdberg
2011-12-02 13:33:05 +01:00
Mounir Lamouri
d8848a0466
Bug 674725 - Part G - Add PSms IPDL sub-protocol. r=smaug sr=cjones
2011-11-20 23:40:53 +01:00
Michael Wu
34d5f356e4
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Chris Jones
32b5bac310
Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones
2011-09-30 00:00:48 -07:00
Neil Rashbrook
17e3abd58a
Bug 698217 DeCOMtaminate nsIPrefServiceInternal r=roc
2011-11-02 14:51:39 +00:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Chris Jones
130e939216
Bug 690670, parts 1 and 2: Add a hal/ directory in which we can add device-interaction code, and build goop thereto. r=khuey sr=roc
...
--HG--
extra : rebase_source : bf3dc09f49d010ac4422150fc5300a41080af858
2011-10-05 15:15:45 -07:00
Jiten Thakkar
1d2dc950cf
Bug 683245 - Make navigator.buildID and navigator.version work in content processes. r=bsmedberg
2011-10-04 16:31:00 -04:00
Phil Ringnalda
de0fedfce1
Back out 68b6b149d652 (bug 683245) for xpcshell timeouts in test_content_annotation.js
2011-10-03 15:17:21 -07:00
Jiten Thakkar
31b407a685
Bug 683245 - Allow retrieving navigator.buildID and navigator.version in content processes. r=bsmedberg
2011-10-03 13:08:00 -04:00
Josh Matthews
038a99e073
Bug 581341 - Part 4: Always run the IPC testshell callback, regardless of execution success or failure. r=bent
2011-06-23 19:31:58 -04:00
Josh Matthews
a0c2a4dd47
Bug 581341 - Part 1: Make crash report annotation work OOP and subsume existing workarounds. r=cjones
2011-06-08 15:56:31 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley
7216208a08
Bug 605174 - Fix a number of build warnings in dom/ (based on patch by Ms2ger <ms2ger@gmail.com>); r=peterv
2011-09-18 20:02:27 +01:00
Jiten
dbfb7766e5
Bug 655647 - Allow per-process GC/CC from about:memory. r=dougt
2011-09-13 19:53:51 +02:00
Chris Jones
bf28d587e1
Bug 683063, part 1: Don't delete ContentParent out from under the cleanup process. r=jdm
2011-08-30 21:11:25 -07:00
Benjamin Stover
2cfa2fc739
Bug 674615 Remove nsPermissionManager's GetSingleton r=dwitte
2011-08-30 10:45:09 -07:00
Benjamin Smedberg
22f2972acb
Merge the electrolysis branch to mozilla-central.
2011-08-19 10:15:52 -04:00
Olli Pettay
2705184e88
Bug 669640 - Fix the message manager API to work with multiple content processes, r=bsmedberg
...
--HG--
extra : rebase_source : bdb66e3f1a9a956d80b2e01869a7ed15b3710c0e
2011-08-02 15:57:48 -04:00
Benjamin Smedberg
9432e1edba
Bug 666748 - Optionally support a pool of content processes instead of a single one. r=jdm The followup patch for 669640 must land together with this one.
2011-08-02 15:35:42 -04:00
Alex Pakhotin
86521171b2
Bug 673969 - System preference for "visible passwords" not followed. r=blassey
2011-07-26 18:14:52 -07:00
Evan Shaw
a887a49c56
Bug 635658 - Add missing interface to ContentParent. r=jdm
2011-07-22 02:19:00 -07:00
Chris Jones
fe42f83e74
Bug 648484, part 1: Fix some warning spam. r=roc
2011-08-09 12:38:26 -07:00
Alexander Surkov
3184ccc8f2
Bug 671510 - make sure accessible tree is created for content processes, r=jones.chris.g, sr=Olli.Pettay, f=felipc
2011-07-21 13:37:32 +09:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
7a11870b91
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-13 22:43:43 -07:00
Alex Pakhotin
4b160ada96
Bug 674646 - Do not kill child process when AndroidBridge is not available. r=blassey
2011-07-27 17:34:47 -07:00
Josh Matthews
3dedd1d98f
Back out bug 581341 due to too many intermittent failures.
2011-06-29 23:44:28 -04:00
Josh Matthews
8957b95942
Bug 581341 - Part 4: Always run the IPC testshell callback, regardless of execution success or failure. r=bent
...
--HG--
extra : rebase_source : e83bc87174fda4af83300e563d5d62b331ac26e2
2011-06-29 15:29:52 -04:00
Josh Matthews
84e67ec8c4
Bug 581341 - Part 1: Make crash report annotation work OOP and subsume existing workarounds. r=cjones
...
--HG--
extra : rebase_source : b0c73c5d539a7c1d579722fb1e67db1e0c9a44b1
2011-06-08 15:56:31 -04:00
Josh Matthews
e9333f488d
Back out bug 581341.
2011-06-29 15:13:17 -04:00
Josh Matthews
4737501d88
Bug 581341 - Part 6: Nits. r=bent
2011-06-29 13:20:43 -04:00
Josh Matthews
3e3121d80b
Bug 581341 - Part 4: Always run the IPC testshell callback, regardless of execution success or failure. r=bent
2011-06-23 19:31:58 -04:00
Josh Matthews
3283f11a52
Bug 581341 - Part 1: Make crash report annotation work OOP and subsume existing workarounds. r=cjones
2011-06-08 15:56:31 -04:00
Justin Lebar
169b00ccad
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Alex Pakhotin
e09670883f
Bug 649381 - implement moz-icon android support. r=blassey
2011-06-13 14:02:13 -07:00
Doug Turner
104a8914c7
Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
...
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Mounir Lamouri
38dbd10996
Merging mozilla-central with mozilla-inbound.
2011-06-17 15:26:17 +02:00
Gian-Carlo Pascutto
409e281180
Bug 663970 - Disable nice on systems that have multiple CPUs Part 1 of 2. r=dougt
2011-06-16 19:59:00 -07:00
Doug Turner
d26d99732c
Backout of 35a679df430b due to bustage
2011-06-16 12:47:37 -07:00
Gian-Carlo Pascutto
04de6ab1d3
Bug 663970 - Disable nice on systems that have multiple CPUs Part 1 of 2. r=dougt
...
--HG--
extra : rebase_source : 01a26264c473fcccd641925854752a7207c9dae2
2011-06-16 11:50:00 -07:00
Nicholas Nethercote
3f2c2d551f
Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc.
2011-06-06 11:22:45 +10:00
Jim Mathies
018d9a1615
Bug 651093 - Don't let the file picker on Windows add to the recent doc list when in privacy mode. Also expose a prop on the interface that gives devs control over 'add to recent docs' behavior. r=dougt, sr=gavin a=mak
2011-05-24 07:28:19 -05:00
Nicholas Nethercote
30e92c3349
Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc.
2011-05-22 19:49:56 -07:00
Alex Pakhotin
efedaee540
Bug 641906 - Use system theme colors in nsLookAndFeel on Android. r=blassey
2011-03-30 11:04:41 -07:00
Daniel Holbert
064a6ebe79
Bug 653564: Use signed int for iterating through nsCOMArray in ContentParent::SetChildMemoryReporters, to fix compile warning. r=dougt
2011-04-29 16:55:04 -07:00
Alon Zakai
ba1bdecf39
Bug 615597 - Implement the W3C DeviceOrientation event. r=smaug,blassey
2011-04-29 16:49:20 -07:00
Alon Zakai
b8874744ed
Bug 619494 - Make IndexedDB work in IPC Fennec. r=bent,mfinkle
2011-04-29 16:46:20 -07:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Cameron McCormack
8b7cc51900
Bug 653310 - Always put a dumpID property on ipc:content-shutdown notification property bags. r=cjones
2011-04-29 10:03:40 +12:00
Ms2ger
c0005e819e
Bug 639956 - Unused variable in ContentParent::Observe; r=cjones
2011-03-30 13:40:48 -04:00
Josh Matthews
080a38a07c
Bug 645359 - Need to call Init after there's a global ContentParent available for use in observers. r=startup-bustage
2011-03-26 16:16:45 -04:00
Josh Matthews
ed1ff99349
Bug 621453 - Clean up ContentParent cruft. r=bsmedberg
2010-12-26 15:03:52 -05:00
Chris Double
9d71b4ca31
Bug 626229 - fix trunk compilation with --disable-ogg,wave,webm - r=kinetik
...
--HG--
extra : rebase_source : b3baaca255dbfa2eef1a0fa4d9b400470a902f0b
2011-03-24 16:23:33 +13:00
Doug Turner
738a73c73f
Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec
2011-02-16 10:43:23 -08:00
Brad Lassey
3327bb204e
bug 636666 - paste option doesn't appear in context menu for text boxes in content on android r=dougt a=blocking-fennec
2011-03-01 00:36:43 -05:00
Doug Turner
8c2a6d9061
backout of 74a64df4f758 a=build-bustage
2011-02-24 11:21:17 -08:00
Doug Turner
625a17d16a
Bug 633305 - about:memory should display memory reporters that live in the child process r=cjones a=blocking-fennec
...
--HG--
extra : rebase_source : adf4e4f912ac6cab8c48b91da35e22a2b3ba0916
2011-02-16 10:43:23 -08:00
Brad Lassey
b8fa7c23de
bug 623136 - speed up font loading on android r=jdagget a=blocking-fennec
2011-01-12 23:04:42 -05:00
Benjamin Stover
aef7088bfa
Bug 633986 Pref nice value, default to 1 on Android r=dougt a=blocking-fennec
2011-02-14 14:34:46 -08:00
Vivien Nicolas
693f1f5840
Bug 629038 - Disabling reflow zoom requires a browser restart; r=dougt a=blocking-fennec
2011-02-11 16:50:11 -05:00
Josh Matthews
77ccf6fef7
Bug 621386 - Clean up all ContentParent observers and listeners on actor destruction and xpcom-shutdown. r,a=bsmedberg
...
--HG--
extra : rebase_source : 49f50817a9b8dcada7adb9bd770464b722dd39ae
2010-12-26 14:27:50 -05:00
Doug Turner
bba386c412
Bug 630595 - Followup. Do not need a dash before the option. Removing unused memory watcher. r=blassey, a=blocking-fennec
2011-02-02 01:00:34 -08:00
Doug Turner
11cc422626
Fixes build bustage caused by a bad #include a=b
2011-01-20 20:23:46 -08:00
Doug Turner
d886cf3236
Bug 624652 - Add memory watcher to reduce the chance of ooming on the Nexus S. r=mwu/cjones. a=blocking-fennec
...
--HG--
extra : rebase_source : faf23b65fe8b5c64080c1ee3f6d4794e8837097d
2011-01-19 22:14:12 -08:00
Chris Jones
85d09be020
Bug 616414: Notify content processes when a pref has been cleared. r=dwitte
2011-01-05 22:54:47 -06:00
Shawn Wilsher
08e6bfdd2e
Merge Places and mozilla-central
...
a=bsmedberg
2010-12-15 19:24:51 -08:00
Shawn Wilsher
ade39d2c6a
Merge mozilla-central to Places.
2010-12-13 15:08:04 -08:00
Shawn Wilsher
2ed7d826a8
Merge mozilla-central into Places
2010-12-06 09:48:54 -08:00
Shawn Wilsher
1a57bc2dca
Merge mozilla-central to Places.
2010-12-02 09:05:33 -08:00
Shawn Wilsher
9cdab945a8
Merge mozilla-central into Places.
2010-11-29 08:43:57 -08:00
Doug Turner
4707a1b209
Backing out 24aed997dbcd
...
Matthew Gregan – Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec
It caused windows builds to go red. qq.
a=me
2010-11-27 21:40:43 -08:00
Matthew Gregan
c09fcbac77
Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec
2010-11-26 17:13:54 +13:00
Josh Matthews
9393ce0776
Bug 618393 - Add StartupTime annotation to content crash reports. r=ted a2.0=dougt
2010-12-12 16:02:26 -05:00
Matthew Gregan
74c9d71285
Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking-fennec
...
--HG--
extra : rebase_source : 0fe7883f97fb4f014b9f39ced902bc96b0eebc31
2010-11-26 17:13:54 +13:00
Marco Bonardo
dfd8177ff8
Bug 568969 - Nuke nsContentUtils::GetHistory.
...
Original patch by Shawn Wilsher
r=bz a=bsmedberg
2010-08-05 10:07:46 -07:00
Doug Turner
dd28fadfc9
Bug 599089 - Remote Audio to parent process. r=kinetik a=blocking-fennec
...
--HG--
extra : rebase_source : 8552e45188f1e62a56d5e93b551ec9fb0d4faaca
2010-11-16 20:14:19 -08:00