Boris Zbarsky
4cb14db1a1
Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust
2015-11-25 15:48:10 -05:00
Boris Zbarsky
2296e841e7
Bug 1170760 part 6. Fix GetDependentPromise to deal with a situation when someone called then() and passed it the resolve/reject functions that come from a promise's constructor. r=baku
2015-11-25 15:48:09 -05:00
Phil Ringnalda
53745073f0
Back out 13 changesets (bug 1170760) for Gu bustage in homescreen/test/unit/apps_test.js
...
CLOSED TREE
Backed out changeset 5d84599a8846 (bug 1170760)
Backed out changeset 6104fe33d5f5 (bug 1170760)
Backed out changeset 1dfb229da01d (bug 1170760)
Backed out changeset f380faddfdd8 (bug 1170760)
Backed out changeset 541831dc6b57 (bug 1170760)
Backed out changeset 6a5b7dfab882 (bug 1170760)
Backed out changeset ee514a256922 (bug 1170760)
Backed out changeset 3c2c1acc34ee (bug 1170760)
Backed out changeset dc2a7f5dc5d6 (bug 1170760)
Backed out changeset b312a08fbab5 (bug 1170760)
Backed out changeset cb6aba9b8497 (bug 1170760)
Backed out changeset 39e4f5b1ba40 (bug 1170760)
Backed out changeset 7d79cce3630a (bug 1170760)
2015-11-25 21:02:55 -08:00
Boris Zbarsky
d71fb767c8
Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust
2015-11-25 15:48:10 -05:00
Boris Zbarsky
608e75a0b6
Bug 1170760 part 6. Fix GetDependentPromise to deal with a situation when someone called then() and passed it the resolve/reject functions that come from a promise's constructor. r=baku
2015-11-25 15:48:09 -05:00
Boris Zbarsky
c3bc1cdc40
Bug 1224007 part 5. Get rid of ErrorResult::StealJSException. r=peterv
2015-11-20 16:29:41 -05:00
Andrew McCreight
379988acc8
Bug 1203289 - PromiseCallback subclasses should unmark gray JS they run. r=bz
2015-09-10 11:34:10 -07:00
Terrence Cole
161a4c26ba
Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink
2015-05-13 14:07:34 -07:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Nikhil Marathe
828e83e703
Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
...
--HG--
extra : rebase_source : 001f43d9e08768111f8ece44f79ae3ab689e2fb6
extra : amend_source : 8b89c86ded224c90aa428cdfb24d25959c87b32b
2015-04-27 12:00:41 -07:00
Ryan VanderMeulen
cb4391caa6
Backed out changeset c839f283bf28 (bug 1058695) for bustage.
...
CLOSED TREE
2015-04-27 14:04:24 -04:00
Nikhil Marathe
6e7fc932d3
Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
...
--HG--
extra : rebase_source : 3b3909b843efa2150edfcd79a6399535a12bd5aa
2015-04-22 16:34:21 -07:00
Nikhil Marathe
d1232d5041
Backed out changeset cb59db723d15 (Bug 1058695) for bustage on CLOSED TREE
...
--HG--
extra : amend_source : 273b62b6c171f65718e8c59e833ba30f6ea96a05
2015-04-23 09:46:52 -07:00
Nikhil Marathe
8bec017e97
Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
2015-04-22 16:34:21 -07:00
Nikhil Marathe
75b0dfb4c7
Backed out changeset 527cd70f241f (Bug 1058695) for bustage
2015-04-23 09:07:16 -07:00
Nikhil Marathe
e653803d27
Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
...
--HG--
extra : transplant_source : %86%8A%E1%E1%98c%E9w%81%3DS%84%B1%3A%02bU%8D%7B%C7
2015-04-22 16:34:21 -07:00
Jim Blandy
ebd83c9a61
Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
...
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Nick Fitzgerald
43962cb694
Bug 1038238 - Part 1: Make Error instances use SavedFrame objects for their
...
stacks; r=jorendorff
2015-03-27 13:08:46 -07:00
Boris Zbarsky
e0532c037e
Bug 1122238 part 3. Drop all the DOMException-cloning and sanitization gunk we added in bug 1107592 and bug 1107953 and bug 1117242 . r=bholley
2015-03-06 01:08:06 -05:00
Boris Zbarsky
6a93d5c443
Bug 1107953 part 5. Add tests for promise rejections with content-side DOMExceptions, and fix the promise code so those tests actually pass. r=bholley
2015-01-15 17:39:02 -05:00
Boris Zbarsky
24431c3a52
Bug 1107953 part 3. Make Promise pass in their object compartment when calling their various callbacks. r=bholley
...
--HG--
rename : dom/bindings/test/test_exception_options_from_jsimplemented.html => dom/bindings/test/test_promise_rejections_from_jsimplemented.html
2015-01-15 17:39:02 -05:00
Paolo Amadini
63d57bf61d
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
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Nikhil Marathe
8864b64406
Bug 1062323 - Chained promises should resolve asynchronously. r=bz
...
--HG--
extra : transplant_source : %0C%E0%D2%0FEI/%D8s%E2%D07%8B%DE%25g%96%85%22r
2014-09-23 22:00:58 -07:00
Ryan VanderMeulen
16e1505ea9
Backed out changeset ebd8df8e8631 (bug 1062323) for Gaia unit test failures.
2014-09-24 17:08:28 -04:00
Nikhil Marathe
95c8c96ad5
Bug 1062323 - Chained promises should resolve asynchronously. r=bz
2014-09-22 16:37:40 -07:00
Yuan Xulei
fcfee0071f
Bug 1035060 - Implement AbortablePromise. r=bz
2014-09-12 10:18:49 +08:00
Nikhil Marathe
a58ac47144
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 463146233c874c2f2c63c018f2a43a66ca9ea49a
2014-07-02 17:48:35 -07:00
Wes Kocher
40b922a6e4
Backed out 3 changesets (bug 984048) for breaking hazard builds.
...
Backed out changeset 2d0c34b7045f (bug 984048)
Backed out changeset c18211a2afa1 (bug 984048)
Backed out changeset 30fa36882d57 (bug 984048)
2014-07-01 20:29:08 -07:00
Nikhil Marathe
80b377d13a
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
2014-07-01 16:43:13 -07:00
Ryan VanderMeulen
a510b05849
Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes.
2014-06-30 17:22:47 -04:00
Nikhil Marathe
f66104b587
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 9cc36dea950be96fba079877c2d67b76f8383635
2014-06-30 13:31:02 -07:00
Kyle Huey
2d027024a6
Bug 1023033: Remove unnecessary MOZ_COUNT_CTOR/DTOR from promise code. r=mccr8
2014-06-17 09:39:16 -07:00
Boris Zbarsky
bc1e511e33
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Gene Lian
da0155c439
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
Andrea Marchesini
fc5fc8f292
Bug 995163 - wrap the Promise value in NativePromiseCallback, r=bz
2014-04-29 22:12:14 +01:00
Birunthan Mohanathas
7ac92ae5ea
Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug
2014-04-25 12:49:00 -04:00
Andrea Marchesini
2029b0f60f
Bug 974893 - Remove EnterCompartment and keep the global with the value in Promise, r=bz
2014-04-09 09:30:24 +01:00
Ed Morley
937b351273
Backed out changeset 7fa9564a2486 (bug 974893) for build failures
2014-04-09 09:08:39 +01:00
Andrea Marchesini
726b941dd1
Bug 974893 - Remove EnterCompartment and keep the global with the value in Promise, r=bz
2014-04-09 08:32:46 +01:00
Boris Zbarsky
dc2aceddef
Bug 990242. Remove some dead Promise code. r=nsm
2014-04-01 01:58:28 -04:00
Bobby Holley
d67119e27c
Bug 977340 - Clean up cx usage in Promises. r=bz
...
None of these are hazards, because we already make sure to push the JSContext
in the cases where we do anything meaningful in JSAPI. But the current setup
trips the new assertions, and is ugly to boot. Let's fix it.
2014-03-04 10:05:08 -08:00
Luke Wagner
e3573fb7b1
Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz)
...
--HG--
extra : rebase_source : d9a784df61c00421c9a1e360f92ffc763bf49858
2014-02-25 09:43:14 -06:00
Nikhil Marathe
2c39f323ee
Bug 945766 - DOM Promise should pass Promise/A+ tests. r=bz
...
--HG--
extra : rebase_source : efd56968e490fcde3ede6535002864104511a1d1
2014-01-28 10:14:57 -08:00
Nikhil Marathe
c78157de46
Bug 915233 - DOM Promises on Workers. r=baku,bent,smaug,bz sr=sicking
2013-11-24 11:26:07 -08:00
Nikhil Marathe
7bb87239ad
Bug 882076 - C++ callbacks to DOM Promises. r=baku,mccr8
2013-11-19 10:43:51 -08:00
Nikhil Marathe
df6ab270c0
Bug 939909 - Get rid of Optional<> from internal Promise functions. r=bz
...
--HG--
extra : rebase_source : bcf49b1b593504aeb619f4bbd16028e57861641b
2013-11-19 10:39:51 -08:00
Andrea Marchesini
fcc425445c
Bug 911213 - Implement new promise constructor, r=bz
2013-09-11 18:03:04 +02:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Andrea Marchesini
ff39bab6f8
Bug 884279 - Rename Future to Promise. r=mounir
...
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_bug883683.html => dom/promise/tests/test_bug883683.html
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-07-11 16:40:36 -04:00