David Anderson
6b2b817ec9
Add a callback for top-level actors to free themselves. (bug 1285364, r=billm)
...
--HG--
extra : rebase_source : 6954a2b34b521c886fba536cd7bedd5f30b94763
2016-07-13 11:21:58 -07:00
Alexandre Lissy
fd4d75f34b
Bug 1285157 - Remove SetTransport(aChannel) for NUWA r=cyu
...
MozReview-Commit-ID: HR8r9flyJDQ
--HG--
extra : rebase_source : bc0e284f6469292a0495501dc71017902247ddd3
2016-07-07 10:07:24 +02:00
David Anderson
e6a98dc91b
Clean up Transport memory management in IPDL. (bug 1283744, r=billm)
2016-07-06 18:51:20 -07:00
stefanh@inbox.com
a0c9a2b459
Bug 1283559 - Remove obsolete OS X version checks in ipc/glue and dom/plugins/ipc. r=bsmedberg.
2016-07-06 18:34:05 +02:00
Andi-Bogdan Postelnicu
83208c5032
Bug 1283032 - initialize members from RunnableMethod in constructor. r=billm
...
MozReview-Commit-ID: L6tAqI1ci1b
--HG--
extra : rebase_source : 2dd6d1a121264a46aca958d468fc2a7fd92bab03
2016-07-01 16:05:28 +03:00
Kyle Huey
902d2d23ef
Bug 1283327: Factor out SynchronouslyCreatePBackground. r=billm
2016-06-30 13:54:06 -07:00
Chih-Yi Leu
04356f1b32
Bug 1282993 - Fix build error in Platform which don't support gamepad API. r=baku
...
--HG--
extra : amend_source : e53f5bcb7815716d5fa585b53b0dca00665a5718
2016-06-29 20:39:00 +02:00
Alexandre Lissy
d70c1609d8
Bug 1282559 - Followup for 1277705
and remove SetHandle() on Gonk r=billm
...
MozReview-Commit-ID: 2Xzl5UBcUrV
--HG--
extra : rebase_source : 9bbf1d05ee64c681d735ddc13b58bba4b56efc51
2016-06-27 22:32:44 +02:00
Chih-Yi Leu
8733310923
Bug 1221730 - Change GamepadServiceTest into webidl. r=qdot, r=baku
...
--HG--
extra : rebase_source : 8e04725e80467a17d1a1a775f791782abe842c1b
2016-06-28 00:26:00 +02:00
Chih-Yi Leu
42a49e9e8c
Bug 1221730 - Move gamepad API to PBackground. r=qdot, r=baku
...
--HG--
extra : rebase_source : 5ad6d31a770d0d7b1b10d6aebf693ed24fc956ca
2016-06-28 00:25:00 +02:00
Kershaw Chang
aa2bd5ea05
Bug 1256595 - Add frameOuterWindowID in nsILoadInfo, r=billm
2016-06-27 02:42:00 +02:00
Bill McCloskey
db00162c58
Bug 1277705
- Remove child_process_info (r=dvander)
2016-06-24 13:16:14 -07:00
Bill McCloskey
cb8a9c03a3
Bug 1277705
- Remove waitable_event_watcher (r=dvander)
2016-06-24 13:15:41 -07:00
Bill McCloskey
e2d2de1ae8
Bug 1277705
- Remove chromium notification service (r=dvander)
2016-06-24 13:15:20 -07:00
Bill McCloskey
ab96df2b7a
Bug 1268559 - Go back to ContentParent controlling process shutdown (i.e., backout bug 1262898) (r=dvander)
2016-06-24 13:13:45 -07:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Cervantes Yu
28706c5d87
Bug 1275398 - Use shmem for sending image data in IPCDataTransfer. r=nical
...
MozReview-Commit-ID: 9XETnSBXxEW
2016-06-16 00:57:46 +08:00
Cervantes Yu
3115f628a1
Bug 1272018 - Use shared memory to transfer drag image data. r=nical
...
MozReview-Commit-ID: K5r9LBQ1FO0
2016-06-15 13:49:13 +01:00
David Anderson
d3bb5cb316
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
...
--HG--
extra : rebase_source : 456e4b94a93191f85d90209459c5189ea165670d
2016-06-10 22:27:24 -04:00
David Anderson
910f73265e
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
...
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 96b02ead0afb82a27d668927dd53d722b77e488b
2016-06-10 15:43:35 -04:00
Phil Ringnalda
5e0adb7d56
Back out 5 changesets (bug 1271180) for static analysis bustage
...
CLOSED TREE
Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
David Anderson
d2678d4141
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
...
--HG--
extra : rebase_source : 332f5cf6ca5e1f78fb2283a7e79b6b21654e9e59
2016-06-10 22:27:24 -04:00
David Anderson
995cadf738
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
...
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 485012c5a08eb0ce2a4225ddfe9cbfb454fc4302
2016-06-10 15:43:35 -04: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
James Andreou
7c273b3eb3
Bug 1276328 - Remove private browsing flags r=baku
...
--HG--
extra : rebase_source : e13f6b834ae22986776ca7cc3dd0cee3fc945992
2016-06-07 13:50:00 +02:00
Christoph Diehl
053c555889
Bug 777067 - "Fuzzing: IPC Protocol Definition Language (IPDL) Protocols". r=wmccloskey
...
--HG--
extra : rebase_source : f256b70d6f81f82339e52ab4f6bc2d9b4b751c08
2016-05-30 16:33:00 +02:00
Bob Owen
5714578c95
Bug 1278528: Don't try to initialize the sandbox TargetServices when we are not sandboxed. r=jimm
...
MozReview-Commit-ID: EpXy9LYXwQL
2016-06-07 14:03:51 +01:00
Gabor Krizsanits
6c0e1dc69f
Bug 1146873 - Handling sandbox policy setup failures. r=bobowen
2016-06-06 15:13:33 +02:00
Jed Davis
78e49e2efb
Bug 1114647 - Use firefox for child processes instead of plugin-container. r=ted
...
Disabled on Mac (content processes need to use plugin-container.app for
UI reasons) and on Linux unless --disable-sandboxing (build issues).
Based on work by George Wright <george@mozilla.com>.
--HG--
extra : amend_source : 43986e25743de21e3ddfb7893e3ed550fe6eef76
2016-06-03 12:49:39 -07:00
Honza Bambas
8db609c916
Bug 1275117 - Fix static strings leaks when mozlogging is on. r=jduell
...
--HG--
extra : rebase_source : 2a08f4eee9a900a4e34d58084eb222aedd319464
2016-05-31 08:11:00 -04:00
Haik Aftandilian
c95d552240
Bug 1275430 - Add telemetry and logging to record content process failures to start; r=billm
...
MozReview-Commit-ID: LWeZbDBwfX5
2016-06-01 15:13:59 -07:00
Jonathan Hao
525c086187
Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
...
MozReview-Commit-ID: Frx0CjBzuve
--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Andrea Marchesini
8d58a3b347
Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug
2016-05-30 10:48:40 +02:00
Andrew McCreight
5848fe3b73
Bug 1276318
, part 2 - Fix mode lines in ipc/glue. r=billm
...
MessageChannel.{h,cpp}, MessageLink.{h,cpp}, and ProtocolUtils.h are
using 4-space indent so I left those alone.
2016-05-27 14:54:31 -07:00
Andrew McCreight
9449c5e62d
Bug 1276318
, part 1 - Fix leading tabs in ipc/glue. r=billm
...
Also remove a weird mode line so the script can fix it more easily in
the next part.
2016-05-27 14:54:30 -07:00
Bill McCloskey
7dbc02ed0f
Bug 1262671 - Use BufferList for Pickle (r=froydnj)
2016-05-27 09:57:41 -07:00
Bill McCloskey
2e4314c9a7
Bug 1262671 - IPC ReadData/ReadBytes elimination (r=froydnj)
2016-05-27 09:57:39 -07:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Bill McCloskey
1369c6edad
Bug 1273307 - Remove copy constructor/assignment operator for Message/Pickle (r=froydnj)
2016-05-27 09:57:35 -07:00
Honza Bambas
ff31be3edd
Bug 1270752 - Fix lifetime of buffer passed to PR_SetEnv(). r=jduell
...
--HG--
extra : rebase_source : 7666e7e3f864fddb5536793a91c94bccf6bb2877
2016-05-26 03:18:00 -04:00
Bob Owen
ecee115838
Bug 1250125: Make a 0 security.sandbox.content.level turn off the content process sandbox. r=TimAbraldes
...
This also fixes a bug where we weren't setting parts of the policy correctly for levels 3 to 9.
MozReview-Commit-ID: IXsg2nGOqoa
--HG--
extra : rebase_source : 65c76a581dcd498c7d7d5b01e4f4e140acdb244f
2016-05-25 09:06:23 +01:00
Eric Rahm
d2eb11dfd1
Bug 1274404 - Annotate IPC message name and size when crashing due to message size. r=mccr8
2016-05-23 11:15:47 -07:00
Carsten "Tomcat" Book
0ed94efabc
Backed out changeset 0659c9235136 (bug 1274363) for memory leaks
...
--HG--
extra : rebase_source : 7fd1df522bb0cab48ca51d29140036f6a5a6a7cc
2016-05-24 09:37:23 +02:00
Andrea Marchesini
2d4ce92868
Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug
2016-05-24 06:59:15 +02:00
Sebastian Hengst
63e3ff7608
Backed out changeset 2a2a4005e935 (bug 1274404) for Asan bustage: use of undeclared identifier 'CrashReporter'. r=backout on a CLOSED TREE
2016-05-21 19:36:27 +02:00
Eric Rahm
ff177872a0
Bug 1274404 - Annotate IPC message name and size when crashing due to message size. r=mccr8
2016-05-20 14:30:39 -07:00
Bob Owen
9d7707097f
Bug 1271601: If a child process fails to duplicate a TransportDescriptor pipe handle then send it anyway and get the target to duplicate. r=gabor
...
MozReview-Commit-ID: 5CKrQdDxGrg
2016-05-21 16:16:33 +01:00
Nathan Froyd
a5f42fc63a
Bug 1262937 - part 8 - factor out array length deserialization errors; r=jld
2016-05-21 04:07:56 -04:00
Nathan Froyd
647562c2d2
Bug 1262937 - part 7 - factor out union type deserialization errors; r=jld
2016-05-21 04:07:56 -04:00
Nathan Froyd
dcc74a62c9
Bug 1262937 - part 5 - factor out actor reading code to a common base class; r=jld
...
Actor reading from IPC message is codegen'd with a lot of repeated code.
We can improve that by moving the core actor reading code out of
subclasses into IProtocolmanager. While we still need to codegen a bit
of code to cast the read actor to the proper type, the code overall is
smaller. The lone downside is that if we do encounter an error reading
the actor id out of the message, the precision of our crash messages is
reduced somewhat: we no longer have the protocol name doing the reading,
nor do we get crash report annotations, since we can't tell whether
we're in the parent or child process.
2016-05-21 04:07:56 -04:00
Nathan Froyd
bdd874023f
Bug 1262937 - part 4 - publically inherit from MessageListener in IProtocol; r=jld
...
IProtocolManager is templated over some listener type. In our IPDL
code, that type is always IProtocol, which is a subclass of
MessageListener. It's also important to note that IProtocol uses
protected inheritance from MessageListener; the generated code takes
advantage of this inheritance structure when it reads actors:
// ChannelListener is typedef'd to MessageListener
// Lookup here is IProtocolManager::Lookup
ChannelListener* listener = Lookup(id);
Lookup returns a pointer to the type over which IProtocolManager is
templated. As mentioned above, that type is always IProtocol. But
thanks to the containing class inheriting from *both* IProtocolManager
and IProtocol, the returned pointer can be silently upcasted to
MessageListener thanks to C++ visibility rules.
It's not clear that this restricted inheritance structure is actually
benefitting anybody, or that the inheritance hierarchy of protocol
classes is the best way to do things. This particular implementation
detail is getting in the way for the next improvement, so let's make the
protected inheritance public instead.
2016-05-21 04:07:56 -04:00
Cervantes Yu
f3f969af61
Bug 1258317 - Part 2: Remove unused privilege in mozilla::ipc::TransferHandleTorProcess(). r=krizsa
...
Also fix a handle leak in mozilla::ipc::AnnotateProcessInformation().
MozReview-Commit-ID: DuepDytfoD2
--HG--
extra : rebase_source : 0b0dd05a3728e64962a774a2dcc35dc7646aa4dc
2016-05-06 19:01:29 +08:00
Ben Kelly
4c8ab874ba
Bug 1093357 P2 Add an RAII type to safely handle serialized stream actors. r=jld
...
* * *
Bug 1093357 P2 interdiff 001 address review feedback
* * *
Bug 1093357 P2 interdiff 002 refactor to IPCStream type
2016-05-15 10:32:09 -07:00
Ben Kelly
749d2c1626
Bug 1093357 P1 Implement an actor for streaming pipes from child to parent. r=jld
...
* * *
Bug 1093357 P1 interdiff 001 address review feedback
2016-05-15 10:32:09 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Kyle Huey
223dd41b6f
Bug 1269056: Part 3 - Consolidate XPCOM and chromium event queues for the main thread. r=froydnj
2016-05-12 15:15:43 -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
c8143d07d7
Bug 1272415: Don't include task.h everywhere. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
d3cc4b02b6
Bug 1268160: Assert that PostIdleTask is only used on the main thread. r=jld
2016-05-12 15:15:43 -07:00
Mason Chang
1ed5c6b7b4
Bug 1120485. Add more logging to find failed uses of MessageChannel::mEvent. r=milan
2016-05-10 17:59:15 -07:00
Eric Rahm
9caf0110e8
Bug 1268616 - Part 2: Stop sending messages that are too large. r=billm
2016-05-04 17:38:53 -07:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kyle Huey
7f54121b91
Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj
2016-05-05 01:44:59 -07:00
Kyle Huey
7311b10562
Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj
2016-05-05 01:44:59 -07:00
Kyle Huey
63a71e96b0
Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj
2016-05-05 01:44:59 -07:00
Mason Chang
c30cae967e
Bug 1120485. Add logging to check if we're closing MessageChannel::mHandle twice. r=milan
2016-05-04 11:03:49 -07:00
Andrew McCreight
a1f8b0904f
Bug 1269365, part 3 - Use infallible array allocation in implementSpecialArrayPickling. r=froydnj
...
As with part 2, this will turn some allocation failures during
deserialization from IPC FatalError crashes into OOM crashes.
2016-05-03 09:29:39 -07:00
Andrew McCreight
0b08b02edb
Bug 1269365, part 2 - Make ParamTraits<nsTArray<E>>::Read use infallible allocation. r=froydnj
...
This will turn allocation failures during deserialization from IPC
FatalError crashes into OOM crashes.
2016-05-03 09:29:39 -07:00
Andrew McCreight
6266959835
Bug 1269365, part 1 - Swap fallible and infallible TArray ParamTraits. r=froydnj
...
This should not change the behavior, because fallible_t is passed to
the array methods.
Rename from InfallibleTArray to nsTArray, because that is more usual.
Remove unnecessary spaces from some template definitions.
2016-05-03 09:29:39 -07:00
Andrew McCreight
56f812a0d5
Bug 1268938 - Use the name of the original message in Send for reply telemetry. r=billm
...
aReply usually won't have a name properly set, but aMsg does. To avoid
accessing aMsg after it dies, copy the pointer to the name.
2016-05-02 20:37:40 -07:00
Thomas Zimmermann
42c137c01d
Bug 1268432: Replace |Task| with |Runnable| in B2G code r=fabrice
...
This patch converts the remaining B2G code from |Task| to |Runnable| and
fixes related API calls. This is a follow-up to bug 1266595.
2016-05-02 10:27:15 -07:00
Carsten "Tomcat" Book
f13688180e
Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak
...
--HG--
extra : rebase_source : 0af725bfab61b8f86e0243490aa970535f726503
2016-04-29 14:22:04 +02:00
Carsten "Tomcat" Book
dfff02b90d
Backed out changeset fd833da413ad (bug 1268313)
...
--HG--
extra : rebase_source : f857127091900871034f44d89095895abe9932dc
2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book
5d43a44ec6
Backed out changeset 3f2f3fcac66b (bug 1268313)
...
--HG--
extra : rebase_source : 438e7d7077b900ef252bd628f4559424eebd211f
2016-04-29 14:21:23 +02:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
a13954d079
Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
72c9966484
Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
e713dbefec
Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj
2016-04-28 14:08:24 -07:00
Andrew McCreight
b24fdb8375
Bug 1268130, part 2 - Make ByteLengthIsValid failures fatal in release builds. r=froydnj
...
This will stop us from sending truncated messages, which will make the
receiver crash.
2016-04-28 10:00:46 -07:00
Andrew McCreight
17fc7463dd
Bug 1268130, part 1 - Reimplement ByteLengthIsValid using CheckedInt. r=froydnj
...
The first check in ByteLengthIsValid() says "nsTArray only handles
sizes up to INT32_MAX", but the actual requirement is that the
capacity is no larger than UINT32_MAX. The check is overly restrictive
if sizeof(E) is 1 byte, and overly permissive if sizeof(E) is greater
than 2 bytes. I removed this check. Internal nsTArray invariants
should be enforced by nsTArray methods.
The second check is trying to check for overflow, but that should just
be done using CheckedInt.
2016-04-28 10:00:46 -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
Yoshi Huang
7ae2e09f40
Bug 1263496 - Part 2: fix for NS_NULLPRINCIPAL_CONTRACTID. r=bholley
...
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=NS_NULLPRINCIPAL_CONTRACTID&redirect=true
2016-04-27 18:38:03 +08:00
Bill McCloskey
a179f9fce9
Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8)
2016-04-26 13:50:56 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Bas Schouten
a7d662a2b1
Bug 1262898: Keep the GeckoChildProcessHost alive for the lifetime of the CompositorBridge and ImageBridge parent actors. r=jimm r=nical
...
MozReview-Commit-ID: 1rsWqRpbhgN
2016-04-25 03:54:07 +00:00
Jacek Caban
2ef6ade2c4
Bug 1258317 - cross compilation fixup.
2016-04-23 13:04:59 +02:00
Cervantes Yu
a7ec2e32a7
Bug 1258317 - Part 1: Annotate the crash report with process information on failure to transfer an IPC transport to another process. r=krizsa
...
MozReview-Commit-ID: LE2FnrQgzze
--HG--
extra : rebase_source : ff891052985ae8411725f7df7c21eaacae84732f
2016-04-19 19:08:55 +08:00
Daniel Holbert
2b3d8925f1
Backed out changeset ae89c24b7692 (bug 1264820) for -Werror build bustage
...
MozReview-Commit-ID: ECNuGMefyqC
2016-04-20 15:41:32 -07:00
Bill McCloskey
b7e2b4e82e
Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8)
2016-04-20 14:55:35 -07:00
Andrew McCreight
60582081ac
Bug 1264662 - Record IPC message capacity instead of size. r=billm
...
Capacity includes internal fragmentation, while size does not.
This requires making capacity() public, but that seems benign.
2016-04-14 17:46:52 -07: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
Tanvi Vyas
2ca721ef81
Bug 1105556 - Allow loadInfo->loadingNode and loadInfo->loadingPrincipal to be null for TYPE_DOCUMENT loads. r=sicking, ckerschb
2016-04-13 16:30:16 -07:00
Peter Chang
b9897cc163
Bug 1263499 - unify the QuickExit function, r=bsmedberg
...
MozReview-Commit-ID: DGJbyXULHPe
--HG--
extra : rebase_source : 26ad1fdc609060a578a27f3d44168160ec026c09
2016-04-11 16:12:33 +08:00
Kyle Huey
2709afd167
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Kyle Huey
1cc02aa8c6
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Chris Pearce
114ad957d2
Bug 1245789 - Load Widevine CDM with sandbox level USER_RESTRICTED instead of USER_LOCKDOWN. r=bobowen
...
Otherwise Widevine CDM won't load on Windows. Other GMPs are still loaded at USER_LOCKDOWN.
MozReview-Commit-ID: aCTG1tQuwt
2016-04-12 16:12:20 +12:00
Wes Kocher
7d2cebe912
Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
...
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)
MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
Kyle Huey
f13a6fc866
Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj
2016-04-11 11:40:06 -07:00
Andrea Marchesini
b0d38d029e
Bug 1258221 - patch 3 - Rename FileSystemTaskBase to FileSystemTaskChildBase, r=smaug
2016-04-09 19:17:28 +01:00
Andrea Marchesini
9345155089
Bug 1258221 - patch 2 - Port FileSystem API and DeviceStorage API to PBackground, r=smaug
2016-04-09 19:17:02 +01:00
George Wright
e75c590407
Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties
...
This reverts commit a94b5f861bd0d25043a3bb7a0c3128acf8c0b93a.
--HG--
rename : ipc/contentproc/firefox-webcontent.cpp => ipc/contentproc/plugin-container.cpp
2016-04-08 13:34:40 -04:00
George Wright
2f920d9592
Revert "Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted" because of widespread breakage due to whitelisted executable names in third parties
...
This reverts commit 2d44e8ffaf63a32292f8e5b8fdd1485d0a462afc.
2016-04-08 13:33:27 -04:00
Bill McCloskey
d148e665af
Bug 1235633 - IPC OOM mitigation by eliminating buffer copying (r=jld)
2016-04-07 17:15:26 -07:00
Nils Ohlmeier [:drno]
4d0aaaafea
Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
...
MozReview-Commit-ID: 8PpL6Z0za71
--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
Nathan Froyd
8d0d4b9bbd
Bug 1262463 - part 3 - out-of-line NS_RUNTIMEABORT calls in IPDL-generated code; r=jld
...
We do this for the same reasons outlined in part 1: calls to
NS_RUNTIMEABORT are rather large and we generate a lot of them (~1000
left after part 1). This patch reduces .text size by ~20K on x86-64
Linux.
2016-04-06 10:53:06 -04:00
Nathan Froyd
a21ccf2f8e
Bug 1262463 - part 2 - don't pass the other process pid into FatalError; r=jld
...
We don't do anything with it in terms of error reporting, we pass in 0
in the child process, and if you're in a debugger, presumably you can
figure out the other process's PID yourself.
2016-04-06 10:31:21 -04:00
Andrea Marchesini
8c046971a8
Bug 1262506 - Unused variable in a runnable in BackgroundParentImpl, r=ehsan
2016-04-06 17:25:26 +01:00
Mason Chang
7e8b1d4295
Bug 1120485. Log CloseHandle error reason during MessageChannel shutdown failure. r=milan
2016-04-06 09:03:22 -07:00
Kan-Ru Chen
073f4faafd
Bug 1258312 - Add crash annotation to EnumSerializer r=jld
...
MozReview-Commit-ID: DShQTzeFGQc
--HG--
extra : rebase_source : 0e58ceda347d78e1b4598b5f295ce73b5a7bbf63
2016-03-30 12:32:26 +08:00
George Wright
50500e36f3
Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted
2016-04-04 18:03:33 -04:00
Andrew McCreight
4bd42b6939
Bug 1261099 - Avoid two Message copies in MaybeUndeferIncall. r=billm
2016-04-04 10:13:43 -07:00
Nathan Froyd
63fe89bd2e
Bug 1259428 - part 1 - don't call Log methods of generated method classes; r=jld
...
The first step to eliminating all the generated Message subclasses the
IPDL compiler spits out is to move the functionality of their Log
methods someplace else. In addition to eliminating the need for the Log
methods, this change has the welcome effect of moving a bunch of code
that would be generated hundreds of times into a single place, which
should reduce code size a bit (debug builds only). We don't actually
remove the generation of the Log methods; that change will be done for a
future patch.
2016-03-25 17:02:38 -04:00
Bill McCloskey
b3613ec89e
Bug 1260908 - Record IPC message sizes (r=dvander)
2016-04-01 11:22:27 -07:00
Wes Kocher
7db1b1b28a
Backed out 2 changesets (bug 1260908) for build bustage
...
Backed out changeset 5582a25d289d (bug 1260908)
Backed out changeset 9612cef48d43 (bug 1260908)
MozReview-Commit-ID: BKeDiGZ8Z8B
2016-04-01 10:44:27 -07:00
Bill McCloskey
5672f5992c
Bug 1260908 - Record IPC message sizes (r=dvander)
2016-04-01 09:59:19 -07:00
Kartikaya Gupta
f6b5ae39ac
Bug 1257862 - Allow running things from the delayed work queue during a nested event loop. r=khuey,dvander
...
MozReview-Commit-ID: BmLM6j9yFEK
2016-04-01 08:25:40 -04:00
Cervantes Yu
f77c0e8c25
Bug 1258663 - Crash annotate system call failures in the IPC transport. r=gabor
2016-04-01 14:33:52 +08:00
George Wright
5c454494ce
Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
...
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Bill McCloskey
f29390f263
Bug 1222101 - Reorder some thread code (r=jld) a=kwierso
...
MozReview-Commit-ID: Alg40mu9aU3
2016-03-30 12:20:20 -07:00
Wes Kocher
dd58e668a4
Backed out changeset 00f8c8fde8ca (bug 1222101) for build bustage CLOSED TREE
...
MozReview-Commit-ID: F6PINhcfsF4
2016-03-30 10:19:29 -07:00
Bill McCloskey
5b8924bd94
Bug 1222101 - Reorder some thread code (r=jld)
2016-03-30 09:58:41 -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
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Jonathan Watt
bf8ece3f4f
Bug 1259737 - Make sure BackgroundImpl.cpp's mBoundThread is not used in release builds. r=froydnj
2016-03-14 21:21:42 +00:00
Gregory Szorc
6a9168778b
Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
...
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.
MozReview-Commit-ID: 2cwWrjMD6B9
--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Alexandre Lissy
445930417c
Bug 1257786
- Proper init of LogModule for Nuwa r=khuey
...
MozReview-Commit-ID: JucY7wAk160
--HG--
extra : rebase_source : b51c7babdfed9476406eceb51b7b9d8afcbab7a4
2016-03-22 15:02:39 +01:00
Honza Bambas
8db127fbea
Bug 1248565 - Let child processes have its own MOZ_LOG_FILE. r=erahm
2016-03-11 08:24:00 -05: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
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
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
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
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
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
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
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
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
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Bill McCloskey
c091f01a39
Bug 1191145 - Stop blocking scripts when handling IPC messages (r=dvander)
2016-02-01 20:43:29 -08:00
Bob Owen
3620820c27
Bug 1244774: Correct wchar_t/char16_t VS2015 compilation problem caused by patches for bug 1173371
. r=jimm
2016-02-01 19:48:15 +00:00
Bob Owen
3b94d53e47
Bug 1173371
Part 3: Add sandbox policy rule to allow read access to the Firefox program directory when it is on a network drive. r=aklotz
2016-02-01 08:59:01 +00:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Jed Davis
bef42ef3d4
Bug 1240911 - Prevent SerializedStructuredCloneBuffer from escaping into the heap. r=amarchesini
2016-01-28 08:43:46 +01:00
Bill McCloskey
453e4526b6
Bug 1240985 - Stop returning MsgNotAllowed (r=dvander)
2016-01-27 15:09:05 -08:00
Bill McCloskey
49ec6f0e34
Bug 1240985 - Check WasTransactionCanceled after timeout (and avoid timing out) (r=dvander)
2016-01-27 15:09:04 -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
9cb4b0e9d5
Bug 1240985 - Always enqueue OnMaybeDequeueOne task when receiving a message (r=dvander)
2016-01-27 15:09:01 -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
Bill McCloskey
25b5bed2af
Bug 1240985 - Crash when trying to cancel while dispatching urgent message (r=dvander)
2016-01-27 15:08:54 -08:00
Nathan Froyd
90918b40e9
Bug 1243430 - remove stray carriage returns from MessagePump.cpp; r=me
...
DONTBUILD because whitespace-only changes are trivial.
2016-01-26 11:30:03 -05: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
Wes Kocher
28c6b17a8f
Backed out changeset 296fd9d50c25 (bug 1240985)
...
--HG--
extra : commitid : 1uiqg6HJ5kS
2016-01-26 09:55:24 -08:00
Jan de Mooij
ffba220766
Bug 1240985 followup - Make CancelMessage constructor |explicit|. r=bustage, CLOSED TREE
2016-01-26 08:49:48 +01:00
Bill McCloskey
43897699b1
Bug 1240985 - Stop returning MsgNotAllowed (r=dvander)
2016-01-25 21:49:42 -08:00
Bill McCloskey
004730c364
Bug 1240985 - Check WasTransactionCanceled after timeout (and avoid timing out) (r=dvander)
2016-01-25 21:49:42 -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
1ea1154361
Bug 1240985 - Always enqueue OnMaybeDequeueOne task when receiving a message (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
27e6da673a
Bug 1240985 - Crash when trying to cancel while dispatching urgent message (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
548907bd62
Bug 1240985 - Fix transaction ID when sending cancel message
2016-01-24 17:30:51 -08:00
Aaron Klotz
1880f9540d
Bug 1240607 - Force CreateWindow hooks to be detours. r=jmathies
2016-01-18 14:17:16 -07:00
Nicholas Nethercote
2e3da0d24d
Bug 1241370 - Don't strdup() the message name in InterruptFrame. r=billm.
...
It's not necessary, because all message names are string literals.
--HG--
extra : rebase_source : 5adc437f4747589ee5e2a8582e2666dc569ef569
2016-01-20 19:00:01 -08:00
Bill McCloskey
0cbd486903
Bug 1240985 - Make sure to queue mDequeueOneTasks after cancellation (r=dvander)
2016-01-21 07:38:27 -08:00
Bill McCloskey
dc169e992e
Bug 1240985 - Stop returning MsgNotAllowed (r=dvander)
2016-01-21 07:38:26 -08:00
Bill McCloskey
78d4767d25
Bug 1240985 - Return false when trying to Send while dispatching urgent (r=dvander)
2016-01-21 07:38:25 -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
Bill McCloskey
596df96eee
Bug 1240985 - Fix cancel during timeout (r=dvander)
2016-01-21 07:38:22 -08:00
Bill McCloskey
538d2f8db9
Bug 1240985 - Add some MessageChannel logging (r=dvander)
2016-01-21 07:38:21 -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
Andrew McCreight
4e8ae41af1
Bug 1240985 - Fix variadic macro on Windows. r=bustage CLOSED TREE
2016-01-20 17:05:15 -08:00
Bill McCloskey
d7d6c573c8
Bug 1240985 - Make sure to queue mDequeueOneTasks after cancellation (r=dvander)
2016-01-20 16:21:16 -08:00
Bill McCloskey
01a23f6bef
Bug 1240985 - Stop returning MsgNotAllowed (r=dvander)
2016-01-20 16:21:16 -08:00
Bill McCloskey
961f4af53c
Bug 1240985 - Return false when trying to Send while dispatching urgent (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
227fa04346
Bug 1240985 - Fix cancel during timeout (r=dvander)
2016-01-20 16:21:16 -08:00
Bill McCloskey
eddd3a1616
Bug 1240985 - Add some MessageChannel logging (r=dvander)
2016-01-20 16:21:16 -08:00
David Rajchenbach-Teller
583ca7286d
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Sebastian Hengst
d8d4a2d1a5
Backed out 2 changesets (bug 1224374
) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374
)
Backed out changeset 0dc02cb0b604 (bug 1224374
)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Christoph Kerschbaumer
071f422450
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-14 12:38:15 -08:00
Jan de Mooij
e649af9a9f
Bug 1237201 part 4 - Handle Vector OOM in ipc/. r=billm
2016-01-14 15:19:24 +01:00
Nigel Babu
7089beabc7
Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage
...
--HG--
extra : commitid : ytS8fc4lFu
2016-01-14 08:04:37 +05:30
Christoph Kerschbaumer
c42851930c
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-13 15:51:43 -08:00
Nigel Babu
19bdaf442f
Backed out changeset 4ad4623f3840 (bug 1237458) for build bustage ON A CLOSED TREE
...
--HG--
extra : commitid : HVpJXHDvGIX
2016-01-07 11:51:34 +05:30
Bill McCloskey
e61565a99e
Bug 1237458 - Use release assertions in IPC (r=jld)
2016-01-06 21:53:58 -08:00
Bill McCloskey
7372bc6dda
Bug 1236635 - Fix compile error in IPC unit tests (r=jld)
2016-01-05 21:59:46 -08:00
George Wright
38a0fd26ee
Bug 1221540: OS X IPC timeout retry with a longer interval. r=milan
...
--HG--
extra : commitid : 2p6mF7bRulV
2015-12-24 12:54:07 -05:00
Bill McCloskey
87cc880767
Bug 1223240 - Make it easier to set up top-level protocols (r=jld)
2015-12-23 12:29:39 -08:00
Randell Jesup
f955d91200
Bug 1226200: Don't assume a TCPSocket has only one managee (and rename LoneManagedOrNull) r=jdm
2015-12-22 10:14:23 -05:00
Nathan Froyd
1ed3dc529a
Bug 1233061 - add override declarations for MessagePumpForNonMainUIThreads; r=billm
...
This change silences a small number of warnings when compiling with
clang-cl. In passing, it also deletes some carriage return characters
that have crept in.
2015-12-16 10:46:06 -05:00
Fernando Jimenez
a3d950d1bd
Bug 1225121 - [B2G] All the rest of content processes crash if user tries to run app that uses Service Workers after restart. r=baku
2015-11-24 19:38:48 +01:00
chaithanya
4482e6ef5c
Bug 1197306 - remove PR_snprintf calls in ipc/; r=froydnj
2015-12-14 13:32:56 -05:00
Paul Bignier
e19d018991
Bug 1188186 - Fix leak of FDs in |CreateTransport|. r=bds
...
* Coverity's CIDs: 1293112 & 1293113
2015-12-04 00:23:00 +01:00
Jonas Sicking
f7193fdf30
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-06 18:33:15 -05:00
Jonas Sicking
28de02f687
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
774236075d
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
7fae3fd853
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-05 01:46:20 -08:00
Jonas Sicking
ff12f48c5a
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-05 01:46:20 -08:00
Jacek Caban
5d8e172cda
Bug 1198450 - GCC (mingw) fixup.
...
--HG--
extra : rebase_source : 5993b8fe1c9ef37e979badb3e6c7f64af165752d
2015-12-01 14:20:41 +01:00
Blake Kaplan
b62a6327bd
Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb
2015-11-30 13:25:29 -08:00
Andrea Marchesini
80b6696753
Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax
2015-11-28 10:48:28 +00:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Brad Lassey
709757e7c2
bug 1198450 - Firefox fails to load about:home if Firefox was installed to a folder with non-Latin name r=jimm
2015-11-23 18:27:23 -05:00
Jan Varga
736e2d562c
Bug 961049 - Part 8: Move getFileReferences() from PContent under new protocol PBackgroundIndexedDBUtils; r=baku
2015-11-22 10:44:33 +01:00
Jan Varga
38ee7f95d8
Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
...
--HG--
rename : dom/quota/QuotaManager.cpp => dom/quota/ActorsParent.cpp
rename : dom/quota/nsIUsageCallback.idl => dom/quota/nsIQuotaCallbacks.idl
rename : dom/quota/nsIQuotaManager.idl => dom/quota/nsIQuotaManagerService.idl
rename : dom/quota/nsIQuotaRequest.idl => dom/quota/nsIQuotaRequests.idl
2015-11-22 10:43:55 +01:00
Randell Jesup
9c83bc8f96
Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
...
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports. Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Bob Owen
53c9d7290d
Bug 1225023: Allow Flash Player to create Adobe\Flash Player and Macromedia\Flash Player directories. r=bbondy
2015-11-17 07:24:34 +00:00
Christoph Kerschbaumer
d9f1276ace
Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz)
2015-11-14 19:28:38 -08:00
Ted Mielczarek
737a624570
Remove some old clobber-workarounds. No bug.
...
--HG--
extra : commitid : Aq9m2eEAqGo
extra : rebase_source : 84ff27c8a144dca757608d6b59fdc3344fc1afa2
2015-11-09 09:36:35 -05:00
Nathan Froyd
b693f3ec5a
Bug 1222167 - fix initialization order in GeckoChildProcessHost; r=jld
...
Member fields are supposed to be initialized in the order they are
declared, but the constructor of GeckoChildProcessHost initialized
mDelegate prior to mSandboxLevel. This is probably harmless, but it
does cause a warning on clang-cl, so let's fix it.
2015-11-05 15:15:19 -05: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
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Christoph Kerschbaumer
e15fd3a5f0
Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking)
2015-10-31 15:18:59 -07:00
Andrew McCreight
2e351e563c
Bug 1217640 - MessageChannel::Call() should delete aMsg when the channel is not connected. r=jld
...
Otherwise, the message will leak.
2015-10-26 12:38:19 -07:00
Andrea Marchesini
5fb333826f
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 4 - IPC, r=michal
2015-10-26 15:31:00 +00:00