Bill McCloskey
35328ff29a
Bug 1215167 - Forbid unsafe browser CPOWs (disabled by default for now) (r=mrbkap)
2015-11-05 13:17:04 -08:00
Wes Kocher
cad6f9789a
Backed out changeset 89446bf8d6b8 (bug 1215167) for introducing a hazard
...
--HG--
extra : commitid : 19K8BX0d4Wz
2015-11-04 16:16:59 -08:00
Bill McCloskey
ac2ca63fc1
Bug 1215167 - Forbid unsafe browser CPOWs (disabled by default for now) (r=mrbkap)
2015-11-04 13:40:15 -08:00
Cervantes Yu
eabbe039ec
Bug 1215508: Fix the race in accessing the unopened IPC channels in TabChild::PreloadSlowThings(). r=khuey
2015-10-19 14:27:01 +08:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Trevor Saunders
dda4730c3c
bug 1212906 - don't handle windows messages while waiting for a sync a11y ipc message r=billm
...
Windows messages can trigger sync ipc messages to the child process. That
means if we handle windows messages while waiting for the response to a sync
a11y ipc message we can end up reentering the code to send ipc messages which
is bad. Try and avoid this situation by not handling windows messages while
waiting for a sync a11y message.
2015-10-14 14:02:47 -04:00
Bill McCloskey
1b725eb6bc
Back out bug 1191143 - Cancel CPOWs from both sides
2015-10-07 11:15:11 -07:00
Bill McCloskey
47202f14e8
Back out bug 1191145 - Stop blocking scripts in CPOW IPCs
2015-10-07 11:15:11 -07:00
Bill McCloskey
6efa744de9
Bug 1191145 - Stop blocking scripts in CPOW IPCs (r=dvander)
2015-09-29 16:11:49 -07:00
Bill McCloskey
e633fa0e76
Bug 1191143 - Cancel CPOWs from both sides (r=dvander)
2015-09-29 16:11:49 -07:00
Cervantes Yu
3c09a9761d
Bug 1166207 - Load preload.js in the Nuwa process. r=khuey
...
--HG--
extra : rebase_source : 292c5e5dbee5fa49a78fd1997d97094ef2190143
2015-08-28 17:57:44 +08: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
Ryan VanderMeulen
555a3164b2
Backed out changeset b2d0e28fe539 (bug 1185639) test_plugin_focus.html timeouts.
2015-07-27 16:06:03 -04: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
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
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
541869bf48
Bug 1177013 - Change IPC locking to get transaction ID correct (r=dvander)
2015-07-06 19:58:42 -07: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
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
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
bfbc982009
Bug 1177013 - Change IPC locking to get transaction ID correct (r=dvander)
2015-07-02 17:18:09 -07:00
Bill McCloskey
86e65c20f2
Bug 1154990 - Better error messages when IPC send fails (r=bent)
2015-04-20 23:32:59 -07:00
Bill McCloskey
79abd6e01a
Bug 1128457 - Change handling of urgent messages during timeout (r=dvander)
2015-04-13 18:11:49 -07:00
Bill McCloskey
6611263e69
Bug 1146471 - Release thread asserts for IPC (r=dvander)
2015-04-07 13:46:25 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Bill McCloskey
ba40fd679d
Bug 1142109 - Process incoming urgent messages before sending (r=dvander)
2015-03-17 13:43:34 -07:00
Aaron Klotz
d186a94983
Bug 1128768
: Part 1 - Modify IPC to allow retrieval of topmost routing id on the stack; r=dvander
...
--HG--
extra : rebase_source : d6d92ae478e3f43468b035cfa759e89d7ac0eaab
2015-02-18 23:05:54 -07:00
Mike Conley
ce76729963
Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
...
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.
--HG--
extra : rebase_source : c34e11451f58252ad44b1e6e46b01a0b4253fec4
2015-02-13 14:10:56 -05:00
Trevor Saunders
99d941db3c
bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel
2015-02-18 17:03:30 -05:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Bill McCloskey
f6534c08fb
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent)
2015-01-16 18:34:47 -08:00
Carsten "Tomcat" Book
1160541f6f
Backed out changeset f7d82a8a8e94 (bug 1118618) for Bustage on a CLOSED TREE
2015-01-13 08:44:29 +01:00
Bill McCloskey
eec94c71f5
Bug 1118618 - IPDL notifications when sending sync messages (r=bent)
2015-01-12 23:06:48 -08:00
Aaron Klotz
0876759d20
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-29 16:12:47 -07:00
Phil Ringnalda
0c888c27eb
Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
...
CLOSED TREE
Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
fc2f0c6a2e
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-24 17:56:06 -07:00
Bill McCloskey
2d185c3202
Bug 1109883
- Allow urgent prio messages to be sent to child (r=dvander)
2014-12-18 17:35:48 -08:00
Bill McCloskey
73c276ef13
Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander)
2014-12-18 17:35:44 -08:00
Bill McCloskey
ac2be68f94
Bug 1110938 - Use message sequence number for transaction ID in MessageChannel (r=dvander)
2014-12-18 17:34:25 -08:00
Carsten "Tomcat" Book
ee6cac2957
Backed out changeset 80f873bf8adc (bug 1036682) for test bustage
2014-11-14 12:32:47 +01:00
Nicolas Silva
8ff90737a5
Bug 1036682 - Check that the ipdl connection is not lost before sending messages. r=bjacob
2014-11-14 11:25:16 +01:00
Bill McCloskey
2035b00c59
Bug 1062713 - Handle normal priority messages while sending sync messages more efficiently (r=dvander)
2014-10-30 13:06:24 -07:00
Bill McCloskey
2ab547d3ab
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
4985d0ee76
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00