Commit Graph

3051 Commits

Author SHA1 Message Date
Bill McCloskey
0134c6369c Bug 1240985 - Null out mRecvd if message it corresponds to is cancelled (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
bd056f2482 Bug 1240985 - Always enqueue OnMaybeDequeueOne task when receiving a message (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
4015cde06b Bug 1240985 - Hold off processing some messages during timeout (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
76cfbcb264 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
c643376de0 Bug 1240985 - Fix some timeout/cancel interactions (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
1c61a3e648 Bug 1240985 - Add mLastError to track sync Send errors better (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
56ed7d5ecf Bug 1240985 - Crash when trying to cancel while dispatching urgent message (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
c77444b2ef Bug 1240985 - Back out "Stop returning MsgNotAllowed" patch. 2016-01-24 17:31:11 -08:00
Bill McCloskey
a180078bab Bug 1240985 - Fix transaction ID when sending cancel message 2016-01-24 17:30:51 -08:00
Aaron Klotz
5a7b7b5f33 Bug 1240607 - Force CreateWindow hooks to be detours. r=jmathies 2016-01-18 14:17:16 -07:00
Nicholas Nethercote
98b82f9b0a Bug 1241370 - Don't strdup() the message name in InterruptFrame. r=billm.
It's not necessary, because all message names are string literals.
2016-01-20 19:00:01 -08:00
Bill McCloskey
97e6a6b780 Bug 1240985 - Make sure to queue mDequeueOneTasks after cancellation (r=dvander) 2016-01-21 07:38:27 -08:00
Bill McCloskey
98ae9a31a6 Bug 1240985 - Stop returning MsgNotAllowed (r=dvander) 2016-01-21 07:38:26 -08:00
Bill McCloskey
136e7e3061 Bug 1240985 - Return false when trying to Send while dispatching urgent (r=dvander) 2016-01-21 07:38:25 -08:00
Bill McCloskey
7fd3bac5a7 Bug 1240985 - Check for cancellation during ProcessPendingRequests (r=dvander) 2016-01-21 07:38:24 -08:00
Bill McCloskey
aeee2cb4c4 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
b0577de2d3 Bug 1240985 - Fix cancel during timeout (r=dvander) 2016-01-21 07:38:22 -08:00
Bill McCloskey
ad8fa6a2d5 Bug 1240985 - Add some MessageChannel logging (r=dvander) 2016-01-21 07:38:21 -08:00
Bill McCloskey
cdd0283429 Bug 1240985 - IPC glib deadlock fix (r=jld) 2016-01-21 07:38:20 -08:00
Wes Kocher
99d10d6bad 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)
2016-01-20 17:22:12 -08:00
Andrew McCreight
0bf51c8a15 Bug 1240985 - Fix variadic macro on Windows. r=bustage CLOSED TREE 2016-01-20 17:05:15 -08:00
Bill McCloskey
9d5260e441 Bug 1240985 - Make sure to queue mDequeueOneTasks after cancellation (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
628f64edeb Bug 1240985 - Stop returning MsgNotAllowed (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
ec42f16c75 Bug 1240985 - Return false when trying to Send while dispatching urgent (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
5ae6e321ad Bug 1240985 - Check for cancellation during ProcessPendingRequests (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
12b9b7ee8b 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
2b014db6ff Bug 1240985 - Fix cancel during timeout (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
8f575f4438 Bug 1240985 - Add some MessageChannel logging (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
37bc57bd12 Bug 1240985 - IPC glib deadlock fix (r=jld) 2016-01-20 16:21:16 -08:00
David Rajchenbach-Teller
39aa5d3bd8 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa 2016-01-15 11:38:03 +01:00
Chris Peterson
620c2ea77b Bug 1240589 - Import Chromium's upstream rand_util_win.cc to avoid rand_s() crash. r=jld 2016-01-14 00:53:52 -08:00
Sebastian Hengst
1eb13214bf 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
e50137d33c Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa 2016-01-15 11:38:03 +01:00
Julian Seward
7fe5eea4b7 Bug 1141565 - TSan: data race ipc/chromium/src/base/histogram.cc:730 Accumulate. r=gfritzsche. 2016-01-18 17:15:19 +01:00
Carsten "Tomcat" Book
01b7831993 Merge mozilla-central to mozilla-inbound 2016-01-15 11:48:08 +01:00
Carsten "Tomcat" Book
d327724749 merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Jocelyn Liu
3dc4c35ece Bug 1228546 - Implement peripheral mode support for GATT API. r=brsun, r=mrbkap 2016-01-15 09:50:54 +08:00
Ryan VanderMeulen
79a1234c79 Merge inbound to m-c. a=merge 2016-01-13 20:25:33 -05:00
Carsten "Tomcat" Book
d373d22026 Merge mozilla-central to b2g-inbound 2016-01-13 12:00:46 +01:00
Bevis Tseng
f62715fee7 Bug 1236433 - Part 2: Adopt Wrapper in Network Utilities; r=edgar 2016-01-07 19:02:41 +08:00
Gregory Szorc
29a5f206a5 Bug 1239207 - Don't process IPDL when not compiling; r=glandium
IPDL processing takes ~9.4s on my i7-6700K and is the long pole in the
"export" tier for clobber --disable-compile-environment builds. IPDL
shouldn't be needed for these builds.

Disabling IPDL makes artifact builds ~4s faster on my machine.
2016-01-14 23:11:12 -08:00
Christoph Kerschbaumer
43f2ac564b Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking) 2016-01-14 12:38:15 -08:00
Jed Davis
b1a19f116a Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 14:17:01 -08:00
Lars T Hansen
1501290e0c Bug 1231337 - part 4, conditionally enable shared memory for ipc testshell. r=mrbkap 2016-01-04 14:54:55 +01:00
Jonathan Kew
5c85e3c8f0 Bug 890156 - patch 7 - Declare that we support Windows per-monitor DPI via the app manifest. r=emk 2015-11-25 19:12:27 +00:00
Nicholas Nethercote
4676f038a8 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Nigel Babu
51000a576d Backed out changeset 4ad4623f3840 (bug 1237458) for build bustage ON A CLOSED TREE 2016-01-07 11:51:34 +05:30
Bill McCloskey
627f608283 Bug 1237458 - Use release assertions in IPC (r=jld) 2016-01-06 21:53:58 -08:00
Bill McCloskey
4176ec7bd0 Bug 1236635 - Fix compile error in IPC unit tests (r=jld) 2016-01-05 21:59:46 -08:00
Nathan Froyd
40441ccdb8 Bug 1236574 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in SocketBase subclasses; r=tzimmerman 2015-12-06 10:53:37 -05:00
Nick Alexander
7dce4a7eff Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium 2015-12-23 16:50:47 -08:00
Jeff Walden
58b3e9a269 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence 2015-12-28 16:15:52 -06:00
Chris Peterson
9dbbb3ea4f Bug 1235234 - Fix unintentional switch fallthrough in ipc/chromium/ found by -Wimplicit-fallthrough warning. r=gcp
ipc/chromium/src/base/process_util_mac.mm:132:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:10:24 -08:00
George Wright
71f259f07f Bug 1221540: OS X IPC timeout retry with a longer interval. r=milan 2015-12-24 12:54:07 -05:00
Bill McCloskey
dc30f5f3e3 Bug 1223240 - Make it easier to set up top-level protocols (r=jld) 2015-12-23 12:29:39 -08:00
Carsten "Tomcat" Book
f4e045afb4 merge mozilla-inbound to mozilla-central a=merge 2015-12-23 12:00:09 +01:00
Anup Kumar
ee60113307 Bug 1201492 - Remove extended_statistics_ok from Telemetry histograms. r=dexter 2015-12-21 08:31:00 +01:00
Jan Beich
ce372a16fe Bug 1231123 - Simplify LaunchApp on BSDs by dropping fork/exec version. r=jld 2015-12-03 12:55:41 +00:00
Jan Beich
01b3717339 Bug 1231109 - Drop FreeBSD checks for unsupported versions. r=jld r=jesup 2015-12-03 12:28:22 +00:00
Avi Halachmi
adb00777ee Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 20:06:40 +02:00
Wes Kocher
1b81304065 Backed out 2 changesets (bug 1228147) for build failures in histogram.h on a CLOSED TREE
Backed out changeset 35b4ba91e093 (bug 1228147)
Backed out changeset 8a2f45c8d25d (bug 1228147)
2015-12-16 09:27:37 -08:00
Avi Halachmi
4680ac9e3d Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 16:39:57 +02:00
Randell Jesup
d163204665 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
29cf859c74 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
Carsten "Tomcat" Book
f36ecc8704 Backed out changeset 8b4bffb2ce7c (bug 1133073) for bustage on Android 2015-12-21 11:07:48 +01:00
Jed Davis
dd2ff7e6a3 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands
This removes the Android-only in-Gecko version of PR_DuplicateEnvironment from bug 773414.
2015-12-17 10:10:00 +01:00
Fernando Jimenez
5154c078f1 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
9af941b6da Bug 1197306 - remove PR_snprintf calls in ipc/; r=froydnj 2015-12-14 13:32:56 -05:00
Paul Bignier
4d3248acb3 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
88a22fc149 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
6549564d7d 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
b154080e9d 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
ff59e44428 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
eff1555d4d 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
Lars T Hansen
e7b89a0ff6 Bug 1176214 - Part 13: Changes to ipc. r=mrbkap 2015-11-30 08:58:54 +01:00
Jacek Caban
d87274fac3 Bug 1198450 - GCC (mingw) fixup. 2015-12-01 14:20:41 +01:00
Blake Kaplan
b96cf57698 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
0b3c8b3bef 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
Carsten "Tomcat" Book
29be97c8b5 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Yoshi Huang
b657390188 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Brad Lassey
d2e2d240cf 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
Mike Hommey
ed7380e8d0 Bug 1224452 - Straighten up a couple things in some moz.builds. r=gps
We're going to change how e.g. CFLAGS are printed out in backend.mk, and
to fit that model, the data in the corresponding moz.build variables
need to be straightened up.
2015-11-26 08:50:52 +09:00
Mike Hommey
81d8c3e96e Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE 2015-11-26 08:38:16 +09:00
Sebastian Hengst
472d23e3df Backed out changeset 8405467ea7ad (bug 1211266) for static analysis bustage. r=backout on a CLOSED TREE 2015-11-25 21:17:02 +01:00
Andrea Marchesini
0ec5c45f50 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-25 17:48:19 +00:00
Andrea Marchesini
b779b4ead1 Backed out changeset 79004346238d - wrong version of patch for bug 1211266 2015-11-25 17:44:30 +00:00
Ted Mielczarek
aa5df7eb85 bug 1223530 - Move MOZ_WINCONSOLE to configure. r=glandium
This patch moves the logic for selecting MOZ_WINCONSOLE out of individual
Makefile.in files and into configure. It also changes config.mk to only
pass -SUBSYSTEM:CONSOLE if MOZ_WINCONSOLE=1. The MSDN docs state that
in the absence of -SUBSYSTEM, the linker will select the proper subsystem
based on whether the program contains [w]main or [w]WinMain, so let it
do that.

One program (windbgdlg) needed a tweak to add a wmain for when MOZ_WINCONSOLE
is defined.

This patch leaves one instance in security/sandbox/win/wow_helper/Makefile.in,
that Makefile has its own separate bug.
2015-11-11 06:24:39 -05:00
Andrea Marchesini
2853e30433 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-25 17:15:16 +00:00
Phil Ringnalda
e468697003 Back out 94ac8462f124 (bug 1225121) for frequent e10s failures in claim-using-registration.https.html 2015-11-24 20:36:07 -08:00
Wes Kocher
21a1612d9b Backed out changeset cbc2c8a24438 (bug 1211266) for asan failures in test_fileapi_slice.html 2015-11-24 13:25:18 -08:00
Andrea Marchesini
e7a5c821ef 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-24 19:51:28 +00:00
Fernando Jimenez
4a741cffd5 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
Jan Varga
3052b5ae18 Bug 961049 - Part 8: Move getFileReferences() from PContent under new protocol PBackgroundIndexedDBUtils; r=baku 2015-11-22 10:44:33 +01:00
Jan Varga
7ec5b0f17e Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku 2015-11-22 10:43:55 +01:00
Randell Jesup
0326ca0ffd 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
fcb09d2d88 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
251e771c6d Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz) 2015-11-14 19:28:38 -08:00
Jed Davis
f8ada5198c Back out 7f6bb9f7e60d (bug 1133073) for bustage. Sorry about that. 2016-01-11 13:29:53 -08:00
Jed Davis
d5374987d3 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 12:46:50 -08:00
Jan de Mooij
e53eb4ffe8 Bug 1237201 part 4 - Handle Vector OOM in ipc/. r=billm 2016-01-14 15:19:24 +01:00