Daniel Holbert
a192831f74
backout c42ff6847631 (bug 1250572) for causing aborts during startup
2016-02-24 11:54:35 -08:00
Andrea Marchesini
53c0f726fe
Bug 1250572 - Force a parent object in MessagePort/Channel and in StructuredCloneHolder, r=smaug
2016-02-24 20:04:37 +01:00
Mantaroh Yoshinaga
7422895e7a
Bug 1174624 - Add mochitest for MessagePort of nsFrameMessagemanager. r=baku
2016-02-09 00:13:00 +01:00
Mantaroh Yoshinaga
0d77c71c32
Bug 1174624 - Add the Transferable parameter into SendAsyncMessage of nsFrameMessageManager. r=baku
2016-01-31 22:48:00 +01:00
Andrea Marchesini
6c2f04833f
Bug 1247635 - Unify PostMessageRunnable and DispatchEventRunnable in MessagePort.cpp, r=smaug
2016-02-11 19:42:13 +00:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Nicholas Nethercote
ac9a8bf77c
Bug 1181444 (part 1.5) - Remove dead PLDHashOperator declarations. r=froydnj.
...
--HG--
extra : rebase_source : 82888ad8037a6024508b042030469fac5a8f5fa4
2016-01-28 14:08:19 -08: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
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Andrea Marchesini
83b88d383f
Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug
2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
6692893d20
Backed out changeset 5f6a58676e87 (bug 1231378)
2016-01-12 15:48:57 +01:00
Andrea Marchesini
001e241382
Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug
2016-01-12 13:54:53 +00:00
Andrea Marchesini
20194be4f5
Bug 1232291 - Non-used header in MessagePortService.*, r=smaug
2015-12-14 14:36:17 +00:00
Nicholas Nethercote
d137133367
Bug 1187115 - Replace nsBaseHashtable::EnumerateRead() calls in dom/{bluetooth,messagechannel}/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 1c02cc79902eff27686904e8fa139175756446de
2015-11-18 19:38:55 -08:00
Andrea Marchesini
5805634945
Bug 1224825 - Race condition in MessagePort::close - patch 2, r=smaug
2015-11-17 23:38:13 +00:00
Andrea Marchesini
c29afb56a2
Bug 1224825 - Race condition in MessagePort::close - patch 1, r=smaug
2015-11-17 23:38:01 +00:00
Phil Ringnalda
6e82b3775e
Back out 2 changesets (bug 1221852, bug 1224825) for Android hangs and desktop RunWatchdog crashes in test_upgrade_insecure_reporting.html
...
CLOSED TREE
Backed out changeset 6ad589dcf3c1 (bug 1221852)
Backed out changeset e7aadf89146b (bug 1224825)
2015-11-15 09:56:06 -08:00
Andrea Marchesini
fe475529c5
Bug 1224825 - Race condition in MessagePort::close, r=smaug
2015-11-15 11:46:53 +00:00
Sebastian Hengst
c1f04d5b8c
Backed out 2 changesets (a19876ac309e, 3a1c0923b0d9) (bug 1221852, bug 1224825) for M(3) failures. r=backout on a CLOSED TREE
...
Backed out changeset 3a1c0923b0d9 (bug 1221852)
Backed out changeset a19876ac309e (bug 1224825)
2015-11-15 15:59:24 +01:00
Andrea Marchesini
06fe425d35
Bug 1224825 - Race condition in MessagePort::close, r=smaug
2015-11-15 11:46:53 +00:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02: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
Andrea Marchesini
23f73206e7
Bug 949376 - MessageEvent::initMessageEvent, r=smaug
2015-10-08 17:44:58 +01:00
Wes Kocher
d3d1b52901
Backed out changeset 7ce1d1bada46 (bug 949376) for wpt orange
2015-10-07 14:58:19 -07:00
Andrea Marchesini
50ac42f57a
Bug 949376 - MessageEvent::initMessageEvent, r=smaug
2015-10-07 20:35:11 +01:00
Andrea Marchesini
7373ebaca0
Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Andrea Marchesini
f0aa7a8c5f
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 11:27:56 +08:00
Wes Kocher
ab3e843b68
Backed out changeset ccfddcbccdac (bug 1204775) for sharedworker bustage
2015-09-15 11:08:09 -07:00
Andrea Marchesini
ff25288854
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 00:47:19 +08:00
Andrea Marchesini
efd3b25c78
Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneUtils.cpp => dom/ipc/StructuredCloneIPCHelper.cpp
rename : dom/ipc/StructuredCloneUtils.h => dom/ipc/StructuredCloneIPCHelper.h
2015-09-02 17:20:30 +01:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Andrea Marchesini
fdbfd864e7
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 17:19:13 +01:00
Nigel Babu
d5f46aaf6c
Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE
2015-08-27 15:04:25 +05:30
Andrea Marchesini
b68734b7da
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 09:06:09 +01:00
Andrea Marchesini
ce594e8b18
Bug 1196514
- remove dom.messagechannel.enabled pref, r=smaug
2015-08-20 08:34:38 +01:00
Andrea Marchesini
01ebfdd8d0
Bug 1181595 - MessagePortChild should check if the MessagePort is still alive before dispatching messages, r=smaug
2015-08-19 15:30:21 +01:00
Andrea Marchesini
d0d22b2a08
Bug 1188265 - No manual JS_ClearPendingException when StructuredCloneHelper is used, r=smaug
2015-07-31 01:38:00 +01:00
Andrea Marchesini
e799734fa3
Bug 1185569 - Use StructuredCloneHelper in MessagePort, r=smaug
2015-07-28 11:47:36 +01:00
Andrea Marchesini
282ecec440
Bug 1185531 - Wrong NS_WARN_IF use in MessagePort.cpp, r=smaug
2015-07-21 08:18:25 +01: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
Andrea Marchesini
a58022be7d
Bug 1181595 - Improve null checks in MessagePort::RemoveDocFromBFCache, r=smaug
2015-07-09 01:34:37 +01:00
Andrea Marchesini
c72540ed84
Bug 1178261 - make BroadcastChannel CC skippable, r=smaug
2015-06-29 17:42:41 +01:00
Andrea Marchesini
bdef6eb508
Bug 1178076 - MessagePort should not set listeners nor workerFeature when neutered, r=smaug
2015-06-29 14:52:49 +01:00
Andrea Marchesini
241ba42d34
Bug 1177727
- MessagePort should call RemoveObserver before calling Release(), r=mccr8
2015-06-27 16:21:24 -07:00
Andrea Marchesini
d2be2fb56a
Bug 1177772 - Improve MessagePort skippability, r=smaug
2015-06-26 11:12:16 -07: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