Andrea Marchesini
2c2b47a106
Bug 1198814 - Use StructuredCloneHelper in PromiseWorkerProxy, r=smaug
2015-09-05 12:22:13 +03:00
Nikhil Marathe
90a561adbe
Bug 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb
...
Get rid of having users dispatch control runnables. It was error prone and
required too much reasoning. It was also possible to end up in a state where
callers would dispatch a WorkerRunnable, which would succeed, so they would not
dispatch a WorkerControlRunnable. Then the worker would stop Running,
canceling and releasing the runnable leading to releasing the proxy in an
unclean state. Instead, we AddRef() and add the feature and remove the feature
and Release() on Notify(). If callers successfully run a WorkerRunnable they
clean the proxy. If not, the proxy stays alive until the worker switches to
Canceling state.
2015-09-02 10:07:26 -07:00
Birunthan Mohanathas
a29151dc87
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
Michael Layzell
fc38f44dd3
Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku
2015-07-09 08:56:00 +02:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Catalin Badea
1a0dedf949
Bug 1130686 - Refactor PromiseHolder in the service worker clients code. r=nsm
2015-04-07 16:25:08 +03:00
Ehsan Akhgari
ea41d8de48
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
Ehsan Akhgari
be3fe346f4
Bug 1118612 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/promise; r=baku
2015-01-07 11:51:28 -05:00
Andrea Marchesini
cb2d10da86
Bug 1057994 - DataStore should not dispatch runnables in a worker when it is shutting down, r=bent
2014-12-17 14:49:36 +00:00
Dan Gohman
ca82de971f
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-16 16:30:39 -08:00
Nigel Babu
a4834061dc
Backed out changeset 6a3a0e3bfaf6 (bug 1054671) for B2G emulator build bustage on CLOSED TREE
2014-12-16 11:24:15 +05:30
Dan Gohman
8a80af08e2
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-15 20:53:58 -08:00
Paolo Amadini
f0965c72f4
Bug 1083783 - Move Promise.cpp to a model where settlement immediately queues the invocation of "then" callbacks. r=bz
2014-10-28 12:08:19 +00:00
Nikhil Marathe
056d2e760a
Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
2014-10-06 11:01:20 -07:00
Boris Zbarsky
a14ed73f88
Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley.
2014-07-18 21:31:11 -04:00
Gene Lian
7986055502
Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-1, provide a proxy to resolve/reject Promise on workers). r=baku,nsm,khuey
2014-02-24 21:56:54 +08:00