Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Aaron Klotz
1074da1019
Bug 1185639 - Allow deferred message processing to happen between consecutive IPC message dispatches. r=jimm
2015-07-21 01:21:51 -06:00
Mike Hommey
6a956c6f97
Bug 1187533 - Change how Gtk+2 plugin-container is started on Gtk+3 builds. r=billm
...
The current situation looks like this: Firefox launches the plugin-container
with two environment variables set:
LD_LIBRARY_PATH=$FIREFOX_DIR:$LD_LIBRARY_PATH
LD_PRELOAD=$FIREFOX_DIR/libmozgtk2.so:$LD_PRELOAD
libxul.so has a dependency on libmozgtk.so (without "2"), but libmozgtk2.so
has a SONAME of libmozgtk.so, so ld.so recognizes libmozgtk2.so as a
dependency of libxul.so, and uses it instead of the actual libmozgtk.so,
making the plugin-container use Gtk+2 instead of Gtk+3 to load Gtk+2 plugins.
Now, ASan sets things up in shared libraries such that they needs a symbol
from the executable binary. So in the case of plugin-container, the
plugin-container executable itself contains some ASan symbols such as
__asan_init_v3. libmozgtk2.so, OTOH, contains an undefined weak reference to
that symbol, like all other Firefox shared libraries.
Since libmozgtk2.so is LD_PRELOADed, it is loaded _before_ the
plugin-container executable, and __asan_init_v3 can't be resolved.
Disabling ASan for libmozgtk2.so would be a possibility, but the build system
doesn't really know how to do that, and filtering out -fsanitize=address
can be fragile.
The alternative possibility, implemented here, is to change the library
loading strategy, renaming libmozgtk2.so to gtk2/libmozgtk.so, and setting
the following environment variable when Firefox launches the plugin-container:
LD_LIBRARY_PATH=$FIREFOX_DIR/gtk2:$FIREFOX_DIR:$LD_LIBRARY_PATH
2015-07-28 08:19:13 +09:00
Ryan VanderMeulen
cbf28fb149
Merge m-c to inbound. a=merge
2015-07-27 16:06:20 -04:00
Ryan VanderMeulen
555a3164b2
Backed out changeset b2d0e28fe539 (bug 1185639) test_plugin_focus.html timeouts.
2015-07-27 16:06:03 -04:00
Andrew McCreight
ef6d1e9493
Bug 1089816 - Let ASan content processes run to completion. r=billm
...
There are a variety of ways that the parent and child process ensure that
the child process exits quickly in opt builds, but for AddressSanitizer
builds we want to let the child process to run to completion, so that we
can get a LeakSanitizer report.
This requires adding some addition LSan suppressions, because running
LSan in child processes detects some new leaks.
2015-07-27 12:49:48 -07:00
Aaron Klotz
5e0cb1c026
Bug 1185639: Allow deferred message processing to happen between consecutive IPC message dispatches; r=jimm
...
--HG--
extra : rebase_source : e6567ce8fa5c663970862a9b93c82464b2429250
2015-07-21 01:21:51 -06:00
Christoph Kerschbaumer
bf53f62d80
Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - loadinfo changes (r=sicking,tanvi,sworkman)
2015-07-19 19:11:57 -07:00
Christoph Kerschbaumer
c0cc3c5614
Bug 1175803 - Store redirect chain within loadInfo - part 1 (r=sicking,mayhemer)
2015-07-19 19:11:03 -07:00
Bill McCloskey
d46d9878a8
Bug 1177013 - Bug fixes for CPOW cancelation (r=dvander)
2015-07-15 14:37:11 -07:00
Jim Mathies
a1ff6f2c30
Bug 1128454 - When plugin bridging mysteriously fails, log the ipc channel state along with the nsresult error code. r=billm
2015-07-15 14:47:14 -05:00
Christoph Kerschbaumer
c255f4187b
Bug 1179505 - Make LoadInfo arguments optional in ipdl (r=bent,sicking)
2015-07-13 22:43:13 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Christoph Kerschbaumer
7685654149
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - loadinfo changes (r=sicking,sworkman)
...
--HG--
extra : rebase_source : 3582ac42bcd0cc0dee332505880c2a65d87964eb
2015-07-10 13:57:55 -07:00
Jim Mathies
9a5c8328b9
Bug 1128454 - Add crash report annotations for plugin bridge operation failures. r=billm
2015-07-09 19:07:49 -05:00
Aaron Klotz
7649b5e4d2
Bug 1170231: Part 1 - Remove condition that may cause deadlock in IPC when mediating interrupt races; r=dvander
...
--HG--
extra : rebase_source : 21c89d04308650e5529be3d085492cf9b97a1f7e
extra : histedit_source : 3325249d22394c6d919c46d67c66e0b0bb7f080a
2015-06-26 11:01:26 -07:00
Ryan VanderMeulen
de7e734bc6
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-07-07 13:38:10 -04:00
Cervantes Yu
9335f69953
Bug 1172467: Fix an IPC channel file descriptor leak from Nuwa to the child process. r=khuey
2015-07-07 12:10:05 +08:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Bill McCloskey
5a4480fbd2
Bug 1177013 - Avoid memory leaks when returning errors from IPC Send (r=dvander)
2015-07-06 19:58:46 -07:00
Bill McCloskey
be0af84bba
Bug 1177013 - Telemetry for CPOW cancelation (r=dvander)
2015-07-06 19:58:46 -07:00
Bill McCloskey
a6bf5dd949
Bug 1177013 - Fix big IPC comment (r=dvander)
2015-07-06 19:58:45 -07:00
Bill McCloskey
73129c2b81
Bug 1177013 - Crash in IPC situations where we don't know what to do (r=dvander)
2015-07-06 19:58:45 -07:00
Bill McCloskey
43786e09b5
Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander)
2015-07-06 19:58:44 -07:00
Bill McCloskey
64b777ec3f
Bug 1177013 - CancelCurrentTransaction IPC support (r=dvander)
2015-07-06 19:58:44 -07:00
Bill McCloskey
fe7eba5f60
Bug 1177013 - Don't allow prio messages while dispatching sync messages (r=dvander)
2015-07-06 19:58:43 -07:00
Bill McCloskey
541869bf48
Bug 1177013 - Change IPC locking to get transaction ID correct (r=dvander)
2015-07-06 19:58:42 -07:00
Andrea Marchesini
4ae7941574
Bug 1165270 - Use origin for BroadcastChannel, r=bholley
2015-07-06 19:28:41 +01:00
Phil Ringnalda
166cfe8460
Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
...
CLOSED TREE
Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
37a31058b1
Bug 1177013 - Avoid memory leaks when returning errors from IPC Send (r=dvander)
2015-07-02 17:18:12 -07:00
Bill McCloskey
43fd180e15
Bug 1177013 - Telemetry for CPOW cancelation (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
b6bec6d887
Bug 1177013 - Fix big IPC comment (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
7869156360
Bug 1177013 - Crash in IPC situations where we don't know what to do (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
af8a362eba
Bug 1177013 - Fix IPDL tests for not allowing CPOWs during sync (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
72a845c0e6
Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander)
2015-07-02 17:18:10 -07:00
Bill McCloskey
44dfabe655
Bug 1177013 - CancelCurrentTransaction IPC support (r=dvander)
2015-07-02 17:18:10 -07:00
Bill McCloskey
db93151932
Bug 1177013 - Don't allow prio messages while dispatching sync messages (r=dvander)
2015-07-02 17:18:09 -07:00
Bill McCloskey
bfbc982009
Bug 1177013 - Change IPC locking to get transaction ID correct (r=dvander)
2015-07-02 17:18:09 -07:00
Hiroyuki Ikezoe
77bcec5ebd
Bug 1178172 - Fix all compile errors in dom/base on non-unified build. r=baku
2015-07-01 15:56:00 +02:00
Bill McCloskey
b053e2eeeb
Bug 1176096 - Ensure we don't do self-moves in move assignment (r=bent)
2015-07-01 13:30:49 -07:00
Ben Turner
deac9a30cd
Backout 316c0601d7db (bug 1167431) for static analysis bustage on CLOSED TREE
2015-06-30 19:45:58 -07:00
Ben Turner
afd0c9b63e
Bug 1167431 - Kill child processes that misuse PBackground, r=billm.
2015-06-30 18:55:53 -07:00
Brad Lassey
ba0489a424
bug 1175898 - crash in mozilla::CrossProcessMutex::ShareToProcess(int) r=billm
2015-06-22 11:54:40 -04:00
Andrea Marchesini
6713cdfbc5
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Carsten "Tomcat" Book
fa9ac90dde
Backed out changeset 4f4ceae7be1a (bug 1176034) for frequent bustages in Windows 8 x64 debug
2015-06-24 10:11:07 +02:00
Andrea Marchesini
676a802cc7
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Jan-Ivar Bruaroey
d4bc9fa237
Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup
...
--HG--
extra : amend_source : 057f17d55cd44a700abab5595c9f4fc95cfd2419
extra : transplant_source : %B7%5C%7D%FA%E9%3F%29%F9%EBM%9E%B5%1A%A6G%29%25%01%0E-
extra : histedit_source : a10d0d5106f5fffb3881604728c1933c90772622%2Cdf022706033cb19f87a8dd58376ab7800d9d2526
2015-06-18 11:46:36 -04:00
Christoph Kerschbaumer
4e803ed392
Bug 1175352 - Refactor LoadInfo arguments to be more self contained (r=bent)
2015-06-18 15:37:20 -07:00