Commit Graph

45 Commits

Author SHA1 Message Date
Terrence Cole
3ffd505617 Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Nikhil Marathe
e959019072 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley 2015-04-27 12:00:41 -07:00
Ryan VanderMeulen
33bd6f43b1 Backed out changeset c839f283bf28 (bug 1058695) for bustage.
CLOSED TREE
2015-04-27 14:04:24 -04:00
Nikhil Marathe
ceba45aeb2 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
a11ac358ba Backed out changeset cb59db723d15 (Bug 1058695) for bustage on CLOSED TREE 2015-04-23 09:46:52 -07:00
Nikhil Marathe
591c85f9da 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
5e00a887d0 Backed out changeset 527cd70f241f (Bug 1058695) for bustage 2015-04-23 09:07:16 -07:00
Nikhil Marathe
c6327736ae 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
Jim Blandy
f94dd3b1df Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
Nick Fitzgerald
1f9f9949f7 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
285b44b531 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
c37f97d98c 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
d7ce3e3bfa Bug 1107953 part 3. Make Promise pass in their object compartment when calling their various callbacks. r=bholley 2015-01-15 17:39:02 -05: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
Tom Schuster
4e0dfb7481 Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Nikhil Marathe
8b52695cdb Bug 1062323 - Chained promises should resolve asynchronously. r=bz 2014-09-23 22:00:58 -07:00
Ryan VanderMeulen
9c33da5eda Backed out changeset ebd8df8e8631 (bug 1062323) for Gaia unit test failures. 2014-09-24 17:08:28 -04:00
Nikhil Marathe
f5bc7ddb5d Bug 1062323 - Chained promises should resolve asynchronously. r=bz 2014-09-22 16:37:40 -07:00
Yuan Xulei
ffc1d71e89 Bug 1035060 - Implement AbortablePromise. r=bz 2014-09-12 10:18:49 +08:00
Nikhil Marathe
44845578e6 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey 2014-07-02 17:48:35 -07:00
Wes Kocher
1fa889fbbc 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
4e2fdc2c88 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey 2014-07-01 16:43:13 -07:00
Ryan VanderMeulen
430e0b2517 Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes. 2014-06-30 17:22:47 -04:00
Nikhil Marathe
834b620d42 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey 2014-06-30 13:31:02 -07:00
Kyle Huey
a54d7119c6 Bug 1023033: Remove unnecessary MOZ_COUNT_CTOR/DTOR from promise code. r=mccr8 2014-06-17 09:39:16 -07:00
Boris Zbarsky
f4496f1213 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -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
Andrea Marchesini
f87cd8dd11 Bug 995163 - wrap the Promise value in NativePromiseCallback, r=bz 2014-04-29 22:12:14 +01:00
Birunthan Mohanathas
e2b133b310 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
b89f8fc1bb 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
7162b65fa4 Backed out changeset 7fa9564a2486 (bug 974893) for build failures 2014-04-09 09:08:39 +01:00
Andrea Marchesini
b27a1641cd 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
fee221b253 Bug 990242. Remove some dead Promise code. r=nsm 2014-04-01 01:58:28 -04:00
Bobby Holley
e0f74f6583 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
8d45586722 Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz) 2014-02-25 09:43:14 -06:00
Nikhil Marathe
9c3cfd1a18 Bug 945766 - DOM Promise should pass Promise/A+ tests. r=bz 2014-01-28 10:14:57 -08:00
Nikhil Marathe
ee95f9bfe6 Bug 915233 - DOM Promises on Workers. r=baku,bent,smaug,bz sr=sicking 2013-11-24 11:26:07 -08:00
Nikhil Marathe
c034e6930c Bug 882076 - C++ callbacks to DOM Promises. r=baku,mccr8 2013-11-19 10:43:51 -08:00
Nikhil Marathe
d0639e1f14 Bug 939909 - Get rid of Optional<> from internal Promise functions. r=bz 2013-11-19 10:39:51 -08:00
Andrea Marchesini
a03d55dffb Bug 911213 - Implement new promise constructor, r=bz 2013-09-11 18:03:04 +02:00
Mike Hommey
0dc9c0ef85 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
201cec1916 Bug 884279 - Rename Future to Promise. r=mounir 2013-07-11 16:40:36 -04:00
Ed Morley
f17f7614fd Backed out changeset 96036434bb78 (bug 875289) for mochitest-chrome failures on a CLOSED TREE 2013-06-20 11:20:49 +01:00
Andrea Marchesini
0c131d8498 Bug 875289 - Renaming Future to Promise, r=mounir 2013-06-20 10:49:40 +02:00