Honza Bambas
8db127fbea
Bug 1248565 - Let child processes have its own MOZ_LOG_FILE. r=erahm
2016-03-11 08:24:00 -05:00
Boris Zbarsky
172598b4e2
Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
...
In general, using an AutoJSAPI inited with an object is NOT the same as using
AutoSafeJSContext (or AutoJSAPI inited without an object) and then entering the
compartment of the object: the former will report exceptions to the global of
the object as it comes off the stack, while the latter will not. This only
really matters if we have an object from a window or worker global and hence
might fire error events, or report internal stuff to the web console.
The changes to initing with an object made in this bug are OK for the following
reasons:
1) dom/base/Console.cpp: Always clears its exception before coming off the stack.
2) dom/base/nsDOMClassInfo.cpp: Inits with a non-web global.
3) dom/base/nsFrameMessageManager.cpp: Inits with a non-web global.
4) dom/media/MediaPermissionGonk.cpp: We probably want the caller to notice if
anything here throws.
5) dom/xbl/nsXBLPrototypeBinding.cpp: Inits with a non-web global.
6) dom/xul/nsXULElement.cpp: Inits with a non-web global.
7) extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp: Inits with a non-web global.
8) ipc/testshell/XPCShellEnvironment.cpp: Inits with a non-web global.
2016-03-18 10:48:38 -04:00
Jed Davis
97f6d03061
Bug 1257305 - Avoid VS2015 about casting int to void*. r=dvander
...
--HG--
extra : rebase_source : 2c5b56560bbf8fbc666e071f3d55aef6684933a6
2016-03-16 17:47:00 -04:00
Jonathan Hao
7bee2c98a0
Bug 1235572 - Enforce SRI if content signature is enforced r=francois
...
* * *
[mq]: sri_fix
MozReview-Commit-ID: 8vY9J4j3Eog
* * *
[mq]: loadInfo
MozReview-Commit-ID: EZ8BUfCOXO6
* * *
[mq]: add-logs
MozReview-Commit-ID: 1jeyTq9nvlW
--HG--
extra : transplant_source : %8Dj%12f%16%F5%12%8E%FE%7C%02%274%2A%A0a%C8%CB2P
2016-03-16 11:13:26 +08:00
Mike Hommey
0a771514a8
Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
...
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Benoit Girard
26e520518f
Bug 1257314
- Properly lock in IPC PeekMessages. r=dvander
...
MozReview-Commit-ID: 8iUVhiN9Ksk
--HG--
extra : rebase_source : 294ac0a929ef5fcb889d5fbab4ecacdcbc9ffdf0
2016-03-16 17:15:38 -04:00
Kyle Huey
d11b9db617
Bug 1257032: Make files in dom/workers actually build without unification. r=baku
2016-03-16 11:51:11 -07:00
Benoit Girard
52f4e2acc5
Bug 1242609 - Implement PeekMessage to get some messages earlier. r=billm
...
MozReview-Commit-ID: KbRiPTDRJmp
--HG--
extra : rebase_source : 090a45edc4af7badaebbe52e2c83f71e84bc6d99
2016-03-14 11:22:32 -04:00
Ted Mielczarek
68bd5e8c4d
bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
...
MozReview-Commit-ID: 9ip3qeAXFEe
--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
Franziskus Kiefer
0d2149893d
Bug 1226928 - network and ipc bits for content-signing on remote about:newtab, r=mayhemer
2016-03-14 11:56:52 +01:00
sajitk
823704b8d6
Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin
2016-01-28 10:35:00 -08:00
Aaron Klotz
1a8c9407a8
Bug 1254373: Make TestDemon build on Windows; r=billm
...
MozReview-Commit-ID: GtgAVfDYhtk
--HG--
extra : rebase_source : 64c1bc26fa4501742c51edc8296837ef6b6590d1
2016-03-10 17:32:16 -07:00
Haik Aftandilian
4c360be8c3
Bug 1236358 - Improper reading of string16 in Pickle::ReadString16. r=jld
...
--HG--
extra : rebase_source : 9f903d0f24e7132ab64c31ef133c2b76d1c3e5fd
2016-03-10 07:49:41 -08:00
Cervantes Yu
c49879aa7a
Bug 1253575 - Annotate the crash report on failure in opening the process handle for plugin or content process. r=billm
2016-03-10 16:07:57 +08:00
Boris Zbarsky
36d4079be7
Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley
2016-03-09 19:02:03 -05:00
Boris Zbarsky
bf4428afdd
Bug 1254860. Switch the AutoEntryScript TestShellCommandParent::RunCallback to taking ownership of error reporting. r=bholley
...
There's no one expecting a pending exception from this method.
2016-03-09 15:29:17 -05:00
Boris Zbarsky
d0363ce0e6
Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley
2016-03-09 15:28:26 -05:00
Gregor Wagner
8fc859766a
Bug 1254471
- Fix MessageChannel.cpp error unused variable transaction. r=billm
2016-03-08 16:53:43 +01:00
Jonathan Watt
3d09b32ad7
Bug 1253094, part 3 - Stop using DebugOnly for class/struct members in ipc/. r=billm
...
MozReview-Commit-ID: L16CD7xtn3V
2016-02-26 15:52:07 +00:00
Bill McCloskey
b70d78b809
Bug 1248750 - Eliminate intentional IPC crashes (r=dvander)
2016-03-06 14:38:07 -08:00
Bill McCloskey
f8784ed28b
Back out bug 1248750 on a CLOSED TREE
2016-03-04 16:04:41 -08:00
Bill McCloskey
816b25e191
Bug 1248750 - Eliminate intentional IPC crashes (r=dvander)
2016-03-04 14:51:08 -08:00
Bill McCloskey
70bb5a0c46
Bug 1240985 - IPC fuzzer (r=gabor)
2016-03-04 14:51:08 -08:00
Steve Singer
c44a614250
Bug 1246501 - Add ppc specific atomic operations to ipc/chromium. r=Waldo
2016-02-13 23:23:50 -05:00
Jan Beich
8d1716d194
Bug 1252246 - Try to use PTHREAD_PROCESS_SHARED for CrossProcessMutex on more Unices. r=glandium f=kats
2016-02-29 21:34:46 +00:00
Boris Zbarsky
4cf7f16bdc
Bug 1252212. Make the RIL WorkerRun implemetations not leave exceptions on the JSContext. r=khuey
2016-03-01 13:49:21 -05:00
Makoto Kato
bbda6e0e32
Bug 1250403 - Part 2. Import crbug #354405 for aarch64. r=billm
...
MozReview-Commit-ID: A3sArb6IE6m
--HG--
extra : rebase_source : 6dd76bd3e9c4b9a0d3b87f4fd5ef6bec10aa8d70
2016-02-28 19:11:09 +09:00
Makoto Kato
e16e8da9c0
Bug 1250403 - Part 1. Define ARCH_CPU_ARM64 instead of ARCH_CPU_AARCH64. r=billm
...
Chromium defines ARCH_CPU_ARM64 and ARCH_CPU_ARM_FAMILY for aarch64. So we should use it instead. Because webrtc and sandbox already define it
MozReview-Commit-ID: C7GYnpRryhA
--HG--
extra : rebase_source : d51ec0b0b9a4cd6eb85c453a54a556e0db6ee99f
2016-02-28 19:26:18 +09:00
Thomas Zimmermann
0fc8c3e5a1
Bug 1251541: Replace |nsAutoArrayPtr<>| with |UniquePtr<[]>| in Bluetooth interfaces, r=shuang
...
This patch replaces all instances of |nsAutoArrayPtr<>| in the Bluetooth
interfaces with |UniquePtr<[]>|.
In contrast to |nsAutoArrayPtr<>|, |UniquePtr<[]>| doesn't convert to the
underlying pointer type implicitly. This is a problem for the daemon-socket
runnable, which depend on this feature when calling their operations. To
solve this issue, the patch adds |ConvertArg| for each arguemnt, which does
the conversion explicitly.
2016-02-29 12:15:08 +01:00
Ehsan Akhgari
262f630e11
Bug 1251226 - Avoid passing a std::wstring through the variadic method; r=bobowen
2016-02-25 11:12:18 -05:00
Lee Salzman
f4dcfa8838
Bug 1245241
- fix SharedMemoryBasic_android CloseHandle to null out handle. r=billm a=kwierso
2016-02-22 14:47:46 -05:00
Ehsan Akhgari
51460c44b6
Bug 1188045 - Part 2: Delay-load xul.dll when built with clang-cl
...
This reverts an earlier work-around for this issue.
2016-02-22 09:55:58 -05:00
Trevor Saunders
323e9867c1
bug 1249622 - make ThreadData::list_lock_ a StaticMutex r=froydnj
...
We probably want to convert all of ipc/ to use mozilla mutexs, but this is
enough to stop creating a static constructor for tracked_object.cc
2016-02-19 15:54:37 -05:00
Lee Salzman
05c95317a9
Bug 1245241
- part 4 - move SharedMemorySysV details into nsShmImage. r=nical
2016-02-18 10:56:15 -05:00
Lee Salzman
f5674ca6c2
Bug 1245241
- part 3 - remove unused AdoptShmem from IPDL. r=billm
2016-02-18 10:56:15 -05:00
Lee Salzman
d4c87aeb45
Bug 1245241
- part 2 - remove TYPE_SYSV Shmems from IPDL. r=billm
2016-02-18 10:56:15 -05:00
Lee Salzman
41d307c324
Bug 1245241
- part 1 - Close Shmem file handles after mapping them when possible to reduce exhaustion issues. r=billm
2016-02-18 10:56:15 -05:00
Cervantes Yu
27e4eadbce
Bug 1248896 - don't conditional compile on config ENABLE_TESTS in Nuwa. r=khuey
2016-02-18 15:33:59 +08:00
Lee Salzman
b16506b7f1
Bug 1247429 - Warn instead of error if shmem deallocated before IPDL sends it. r=nical
2016-02-16 14:59:01 -05:00
Jan Varga
9b4516ad03
Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey
2016-02-10 16:11:25 +01:00
Bogdan Postelnicu
f0bc5ab6b9
Bug 1246886
- initialize mMoved in move contructor. r=billm
...
--HG--
extra : rebase_source : b11a58da8d930c768b4500913c2ac303c7425ee8
2016-02-09 11:21:39 +02:00
Bob Owen
ae44a4e6a3
Bug 1193861: Log to the process log when launching a sandboxed process on Windows. r=billm
2016-02-09 08:31:18 +00:00
Ehsan Akhgari
cad8b5cc29
Backout bug 1203096 because the issue that the workaround was trying to solve is still there
2016-02-07 14:46:05 -05:00
Bill McCloskey
c52ba119a6
Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld)
2016-02-05 10:42:38 -08:00
Carsten "Tomcat" Book
dfa1a3c8c7
Backed out changeset 0d358cdf1ce4 (bug 1237458) for bustage
2016-02-05 08:13:50 +01:00
Bill McCloskey
c08caf0331
Bug 1210099 - Use diagnostic assert for union discriminator checks (r=jld)
2016-02-04 22:30:06 -08:00
Bill McCloskey
fa01fbff59
Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld)
2016-02-04 22:29:05 -08:00
Thomas Zimmermann
24f81344e9
Bug 1194721: Add helpers for Gonk sensors daemon, r=gsvelto
...
This patch adds helpers for using the Gonk sensors daemon. The types
and functions allow for packing and unpacking messages of the daemon's
IPC protocol.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
3df84ac272
Bug 1194721: Add additional PDU pack and unpack functions, r=shuang
...
This patch adds PDU pack and unpack functions for 64-bit integer
values and floating-point values.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
3b094a9795
Bug 1194721: Add |DaemonRunnable8|, r=shuang
...
The runnable template |DaemonRunnable8| runs an operation with 8
arguments.
2016-02-04 12:35:13 +01:00