Honza Bambas
c581ae6d18
Bug 1290975 - turn mListener to a raw ptr, r=billm
2016-08-10 10:53:00 +02:00
Aaron Klotz
2bbffe8138
Bug 1273635: Enable alertable waits in content process main thread; r=jimm
...
MozReview-Commit-ID: 2qGdGj41M0n
--HG--
extra : rebase_source : e404ba43a47151d38330052c9ac93e7b252ad0f4
2016-08-03 11:54:35 -06:00
Alexandre Lissy
0af5b943b6
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Iris Hsiao
f9707fb68a
Backed out changeset 48d06bcb9c65 (bug 1273635) for Mochitest failures
2016-07-28 14:25:47 +08:00
Aaron Klotz
85608bd12a
Bug 1273635: Enable alertable waits in content process main thread; r=jimm
...
MozReview-Commit-ID: 2qGdGj41M0n
--HG--
extra : rebase_source : 894ec7ef23b18fd2ed72bc909bc2c743aedaf40c
2016-05-11 12:49:49 -06:00
Ting-Yu Chou
9876771de6
Bug 1287044 - Annotate pending IPC messages when OOM due to too many of them. r=billm
...
--HG--
extra : rebase_source : 7d4493eb9d88eeb6a2d7912f01020f7831fb8dd3
2016-07-04 13:36:34 +08:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Bill McCloskey
1369c6edad
Bug 1273307 - Remove copy constructor/assignment operator for Message/Pickle (r=froydnj)
2016-05-27 09:57:35 -07:00
Kyle Huey
3425031e06
Bug 1269056: Part 2 - Consolidate XPCOM and chromium event queues for non-main nsThreads. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
7579799b01
Bug 1266595: Replace Chromium Task with Runnable. r=froydnj
2016-04-27 17:06:05 -07:00
Andrea Marchesini
a9b65ecfb0
Bug 1261094 - Improve how MessageChannel::mInterruptStack is used in IPC code, r=jld
2016-04-28 07:21:49 +08:00
Ting-Yu Chou
964d4d12f1
Bug 1260736 - Let the client to filter out its interested messages to lower the number of times entering the monitor in PeekMessages(). r=dvander
2016-04-13 09:51:34 +08:00
Bill McCloskey
d148e665af
Bug 1235633 - IPC OOM mitigation by eliminating buffer copying (r=jld)
2016-04-07 17:15:26 -07:00
Ting-Yu Chou
9c7a4ca7f0
Bug 1255968 - Part 1: Let the callback of PeekMessages() to return a boolean to be able to break out the loop. r=dvander
...
--HG--
extra : rebase_source : 98a2baf9c3926cdb0740979d4cb5c11d7cd6a312
2016-03-28 11:02:18 +08: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
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
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
fa01fbff59
Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld)
2016-02-04 22:29:05 -08:00
Bill McCloskey
c091f01a39
Bug 1191145 - Stop blocking scripts when handling IPC messages (r=dvander)
2016-02-01 20:43:29 -08:00
Bill McCloskey
665b58c933
Bug 1240985 - Null out mRecvd if message it corresponds to is cancelled (r=dvander)
2016-01-27 15:09:03 -08:00
Bill McCloskey
6d330d1e7d
Bug 1240985 - Hold off processing some messages during timeout (r=dvander)
2016-01-27 15:09:00 -08:00
Bill McCloskey
ece4f66221
Bug 1240985 - Make intentional crash happen sooner when cancelling a racy sync message (r=dvander)
2016-01-27 15:08:59 -08:00
Bill McCloskey
681c2be709
Bug 1240985 - Fix some timeout/cancel interactions (r=dvander)
2016-01-27 15:08:58 -08:00
Bill McCloskey
9b71f5ba33
Bug 1240985 - Add mLastError to track sync Send errors better (r=dvander)
2016-01-27 15:08:57 -08:00
Wes Kocher
5648c229cc
Backed out 10 changesets (bug 1242097, bug 1240985) for near-permafailing in test_plugin_focus.html
...
Backed out changeset 30f1acd9387f (bug 1240985)
Backed out changeset 6d7f80a057f0 (bug 1240985)
Backed out changeset c3dfc2c674ff (bug 1240985)
Backed out changeset b7f2ce03b34e (bug 1240985)
Backed out changeset 2c0c0ed35656 (bug 1240985)
Backed out changeset 85c8cb422bad (bug 1240985)
Backed out changeset 06b4cb890ab0 (bug 1240985)
Backed out changeset f10c0445c450 (bug 1240985)
Backed out changeset 62eaf89ab82f (bug 1242097)
Backed out changeset b94c1a472d46 (bug 1240985)
--HG--
extra : commitid : 2iDH7HLUMiO
2016-01-26 09:55:59 -08:00
Bill McCloskey
3e1276dc1a
Bug 1240985 - Null out mRecvd if message it corresponds to is cancelled (r=dvander)
2016-01-25 21:49:42 -08:00
Bill McCloskey
bed9507f92
Bug 1240985 - Hold off processing some messages during timeout (r=dvander)
2016-01-25 21:49:42 -08:00
Bill McCloskey
20989f2902
Bug 1240985 - Make intentional crash happen sooner when cancelling a racy sync message (r=dvander)
2016-01-25 21:49:42 -08:00
Bill McCloskey
230e3aab23
Bug 1240985 - Fix some timeout/cancel interactions (r=dvander)
2016-01-25 21:49:42 -08:00
Bill McCloskey
6c7d6d7d7e
Bug 1240985 - Add mLastError to track sync Send errors better (r=dvander)
2016-01-25 21:49:42 -08:00
Bill McCloskey
dd544927e1
Bug 1240985 - Back out "Stop returning MsgNotAllowed" patch.
2016-01-24 17:31:11 -08:00
Bill McCloskey
dc169e992e
Bug 1240985 - Stop returning MsgNotAllowed (r=dvander)
2016-01-21 07:38:26 -08:00
Bill McCloskey
e64d1645e5
Bug 1240985 - Check for cancellation during ProcessPendingRequests (r=dvander)
2016-01-21 07:38:24 -08:00
Bill McCloskey
7ed2dcdf02
Bug 1240985 - Fix bug where mAwaitingSyncReply can be overwritten in Send after Cancel (r=dvander)
2016-01-21 07:38:23 -08:00
Wes Kocher
7b2fec233a
Backed out 9 changesets (bug 1240985) for various Windows build failures CLOSED TREE
...
Backed out changeset 1a5165c7be18 (bug 1240985)
Backed out changeset 26e6fe3875a5 (bug 1240985)
Backed out changeset b87f893bd6aa (bug 1240985)
Backed out changeset 3fcd50d83821 (bug 1240985)
Backed out changeset 488690ba4c8f (bug 1240985)
Backed out changeset a7eecc68ca20 (bug 1240985)
Backed out changeset 12de76467424 (bug 1240985)
Backed out changeset 34f87cc8ac24 (bug 1240985)
Backed out changeset fddcf8b3b088 (bug 1240985)
--HG--
extra : commitid : HHtLm1o5wWx
2016-01-20 17:22:12 -08:00
Bill McCloskey
01a23f6bef
Bug 1240985 - Stop returning MsgNotAllowed (r=dvander)
2016-01-20 16:21:16 -08:00
Bill McCloskey
adab8ac1e6
Bug 1240985 - Check for cancellation during ProcessPendingRequests (r=dvander)
2016-01-20 16:21:16 -08:00
Bill McCloskey
6adb2b6441
Bug 1240985 - Fix bug where mAwaitingSyncReply can be overwritten in Send after Cancel (r=dvander)
2016-01-20 16:21:16 -08:00
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