dom/promise/Promise.h
55c9bc5fb1fe59bb21afcde021cbb3553d17fd9e
created 2019-11-14 22:51 +0000
pushed 2019-11-19 11:31 +0000
Boris Zbarsky Boris Zbarsky - Bug 1594304. Add deprecation notes to methods that allow throwing a bare nsresult with no useful message. r=smaug
adfac78ca4eb2fa1b9783f5fce561a8b6532d4d7
created 2019-10-26 08:14 +0000
pushed 2019-10-29 21:34 +0000
Jeff Walden Jeff Walden - Bug 1591655 - Remove the unnecessary |proto| argument from |JS::NewPromiseObject| and its callers, seeing as all callers pass |nullptr| (and therefore uniformly request the default prototype). r=jandem,bzbarsky
f3eb9ec9f7b9fea2ac078b3f91fc07c4c5cc817f
created 2019-09-19 13:02 +0000
pushed 2019-09-23 21:59 +0000
Boris Zbarsky Boris Zbarsky - Bug 1581278 part 2. Add convenience methods for rejecting promises with various types of spec exceptions. r=smaug
ac548c2a725b66db57c81bb24accca2bbe075931
created 2019-07-29 14:43 +0000
pushed 2019-07-29 21:45 +0000
Olli Pettay Olli Pettay - Bug 1565930, try to make Promise less error prone to compartment mismatches, r=bzbarsky
64fb8460f0f87df8c59a5f49ebb4837dde1adb90
created 2019-05-02 18:38 +0000
pushed 2019-05-03 22:03 +0000
Boris Zbarsky Boris Zbarsky - Bug 1547923 part 2. Remove Promise::GlobalJSObject. r=mccr8
0bd696ed34eace2844a540509a5022dc57b48508
created 2019-03-26 19:34 +0000
pushed 2019-03-27 05:03 +0000
Zibi Braniecki Zibi Braniecki - Bug 1483036 - Add MaybeResolveWithClone and MaybeRejectWithClone to Promise. r=smaug
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-11-30 15:15 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
18d88d24495acae45a381f8bf95c3ab86fe800ec
created 2018-10-09 21:42 +0000
pushed 2018-10-10 04:45 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1491403 - Part 3: Propagate the user input event handling state to the promise resolve handlers in case the promise creator requests it r=smaug,arai,baku
23e112bfaf97817122b1f3bae3e9ecf4ff9d63ef
created 2018-08-27 13:10 -0700
pushed 2018-08-28 18:15 +0000
Kris Maglione Kris Maglione - Bug 1486512: Fix compiling Promise-inl.h on MSVC. r=froydnj
721d186ac3c3ecdf7a8e3fb1a2f4b6052d56e725
created 2018-08-18 09:43 -0700
pushed 2018-08-23 22:05 +0000
Kris Maglione Kris Maglione - Bug 1484373: Part 2c - Add Promise::Then handler which accepts a lambda. r=smaug
8a23e3023c9297a52371e56bb5d11df5d43e3b4b
created 2018-08-07 18:25 +0000
pushed 2018-08-08 22:12 +0000
Alex Gaynor Alex Gaynor - Bug 1446509 - added final versions of macro for declaring AddRef and Decref; r=froydnj
a014f0010edb667a4cb193c1b8183924a5e0ac61
created 2018-06-02 13:26 +0200
pushed 2018-06-13 09:25 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1466385. Use forwarding reference in MaybeResolve. r=bz
b640dc9b89986c1886ef00402727da756d96f0ef
created 2018-06-07 16:44 +0200
pushed 2018-06-07 14:48 +0000
Jan de Mooij Jan de Mooij - Bug 1466121 part 1 - Rename JSCompartment to JS::Compartment. r=luke
1800b8895c08bc0c60302775dc0a4b5ea4deb310
created 2018-05-17 00:54 +0300
pushed 2018-05-16 22:10 +0000
Ciure Andrei Ciure Andrei - Backed out 2 changesets (bug 1458043) for dom/presentation/tests/mochitest/test_presentation_1ua_connection_wentaway_inproc.html failures a=backout
0b5c103fcb70edad6ad01a94385134d047641272
created 2018-04-30 18:11 -0400
pushed 2018-05-14 21:58 +0000
Nika Layzell Nika Layzell - Bug 1458043 - Part 2: Use native refcounting for Promises, r=bz
438494d2d17bec92e4f4e38661a85b60680ab087
created 2018-04-13 19:31 -0400
pushed 2018-04-16 11:13 +0000
Boris Zbarsky Boris Zbarsky - Bug 1453339. Make it harder to mess up Promise::All. r=peterv
bb61d1086230b2b8fa033b5e81f21351d8766083
created 2018-04-14 10:25 -0400
pushed 2018-04-14 14:25 +0000
Ryan VanderMeulen Ryan VanderMeulen - Backed out changeset 91406356569c (bug 1453339) for landing without review.
91406356569ce2b32ed48486cc516f490eec1ab8
created 2018-04-12 17:03 -0400
pushed 2018-04-14 13:41 +0000
Boris Zbarsky Boris Zbarsky - Bug 1453339 - Make it harder to mess up Promise::All. r=peterv
068c59c7c4ec46802b4a18e98adc227aed6d5da1
created 2017-11-17 11:01 +0800
pushed 2018-03-04 23:41 +0000
Olli Pettay Olli Pettay - Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
a416b0a21b1395dfe7dc28577a31be57c075d9b4
created 2018-03-01 16:29 +0200
pushed 2018-03-01 14:29 +0000
Csoregi Natalia Csoregi Natalia - Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
55c94c05c57f0bb34ca131c68c79e05a97aa4b6c
created 2017-11-17 11:01 +0800
pushed 2018-03-01 08:41 +0000
Olli Pettay Olli Pettay - Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
b6ecd2cc921732c42a24bffe69379b4a3a2b9c51
created 2017-08-06 20:47 +0300
pushed 2017-09-28 13:12 +0000
Andrea Marchesini Andrea Marchesini - Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug
469ad7100cae38afacee8c5591973b8600844dbb
created 2017-08-10 13:27 +0200
pushed 2017-09-28 00:01 +0000
Alexandre Poirot Alexandre Poirot - Bug 1392540 - Keep running debugger Promise while debugging workers. r=baku
7b660e651128af5f31f35bfce835b9c03c71b4c0
created 2016-12-19 15:38 -0800
pushed 2016-12-19 23:40 +0000
Boris Zbarsky Boris Zbarsky - Bug 1323721 part 6. Remove the now-unused Promise::WrapObject. r=till
918e37b44bddf0ab04f59887a1bb753aa586b3d9
created 2016-12-11 09:12 -0800
pushed 2016-12-14 16:12 +0000
Till Schneidereit Till Schneidereit - Bug 1322920 - Remove DOM Promise implementation. r=bz
1538850bba0fa58be8bddea4670e9f1c2f88f8f0
created 2016-10-18 17:58 +0100
pushed 2016-10-18 17:04 +0000
Jon Coppeard Jon Coppeard - Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
ad2e3708134aa669bf2950671482f482254daf5d
created 2016-09-07 10:51 +0800
pushed 2016-09-08 07:34 +0000
Kaku Kuo Kaku Kuo - Bug 1300071 - Create an API to access DOM Promise's state. r=bz
b18d0dc89c1bcde24ba63b77f239f16fdf9a5620
created 2016-08-16 11:03 +0800
pushed 2016-08-18 00:25 +0000
Kaku Kuo Kaku Kuo - Bug 1293878 part 2 - remove not used Promise::MaybeRejectWithNull() utility; r=smaug
fa719d1a5a6a802e04c0cab8891b97af01abb186
created 2016-08-10 10:07 +0800
pushed 2016-08-10 14:54 +0000
Kaku Kuo Kaku Kuo - Bug 1292091 - Part 1 - add Promise::MaybeResolveWithUndefined() utility method; r=bz
e26509e4c8a1bc309478e57d0fd45d8cb706b523
created 2016-07-07 20:08 -0400
pushed 2016-07-08 00:12 +0000
Boris Zbarsky Boris Zbarsky - Bug 1279313 part 2. Use an AutoEntryScript when resolving or rejecting a Promise from C++, in case we are resolving with an object and plan to call the "then" getter.
70c00c6c05838d6d4be3a7d8e01a5494fbbd94e8
created 2016-06-23 10:53 +0200
pushed 2016-06-23 08:53 +0000
Andrea Marchesini Andrea Marchesini - Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
e6da60a095471f83a98b4e048c05b5d620f42299
created 2016-06-23 10:13 +0200
pushed 2016-06-23 08:14 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
1c5d78c7ba432f923296cf6d664e345782cb67b1
created 2016-06-22 17:24 +0200
pushed 2016-06-23 07:49 +0000
Andrea Marchesini Andrea Marchesini - Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
8ec9ca3e6d929c8ac8b26bed3abcedb05c150534
created 2016-06-09 20:26 +0100
pushed 2016-06-14 23:57 +0000
Kaku Kuo Kaku Kuo - Bug 1276272 - part 1 - add Promise::MaybeRejectWithVode() utility method; r=ehsan
12affc4c78cf672c930e84a6cddd5fdf3868354a
created 2016-03-22 16:22 +0100
pushed 2016-06-10 09:12 +0000
Till Schneidereit Till Schneidereit - Bug 911216 - Part 24: Use promise rejection tracking to report unhandled rejections to the console. r=bz,Paolo
e979e75c94f650e3a1ecf4b3416a8ab605edb417
created 2016-03-28 10:28 -0700
pushed 2016-03-28 17:28 +0000
Kyle Huey Kyle Huey - Bug 1259290: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz
1052435cba5f65a63f87dfddcb43e35941e1ecb6
created 2016-03-24 16:12 +0100
pushed 2016-03-24 15:08 +0000
Eddy Bruel Eddy Bruel - Bug 1229769 - We should be able to use DOM promises in the worker debugger;r=khuey
6c701e2a30470c3ae6102be68ff20edfd3ad685d
created 2016-03-23 11:02 -0400
pushed 2016-03-23 15:04 +0000
Boris Zbarsky Boris Zbarsky - Bug 1257725 part 3. Get rid of ThreadsafeAutoJSContext usage in Promise code. r=bholley
5a52f75bbf6baf10fff417d9973d3d31305869e8
created 2016-02-09 17:40 -0500
pushed 2016-02-09 22:44 +0000
Boris Zbarsky Boris Zbarsky - Bug 1243001 part 7. Stop wrappercaching dom::Promise when SPIDERMONKEY_PROMISE is defined. r=peterv
d8cfb5df18c378a2283f7cbf7f3c99ca164f0497
created 2016-02-09 17:40 -0500
pushed 2016-02-09 22:44 +0000
Boris Zbarsky Boris Zbarsky - Bug 1243001 part 5. Get rid of most of the dom::Promise methods when SPIDERMONKEY_PROMISE is defined, and reimplement the rest in terms of SpiderMonkey Promise. r=peterv
060438e9046e8ffb053b431e04cfa4e06eb7aedb
created 2016-01-19 14:35 +0800
pushed 2016-01-27 10:25 +0000
Kaku Kuo Kaku Kuo - Bug 1239300 - reject promise with null while creating imagebitmap from empty blob; r=smaug
79478e472e28eca0225e6a1ccaabcbf179ced7a3
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust
28e2db073b6593b647df66864fce8ecac935a3f5
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 11. Add subclassing support to Promise::Reject. r=baku,efaust
f540f2da98a582b15bc2032f62d2db6e9c039f3a
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust
fed3e6ac1affd2773441a28b9170c47eaf80e6d1
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 8. Add subclassing support to Promise::All. r=baku,efaust
694d3b2752a723b5223cdc79c7cfea04d01e6617
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 7. Add subclassing support to Promise::Race. r=baku,efaust
0eeec5eed51bae9a8b1bbc29215fc5ceea44bb66
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - 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
57a6ec978c7967f075b8d7dba7402fabd9a2f0ff
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 5. Implement NewPromiseCapability which can either return a PromiseCapability as in the spec, or one that has a native promise and maybe resolve/reject functions if the consumer asked for them. r=baku,efaust
6fbe06bfeba55e7f03a98c6d800a0564d22a8dfd
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 3. Add an @@species getter on Promise. r=peterv
b8bdcbadd22b7bdd4dc430f12d02df508372cf02
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 2. Pass in the 'this' value to Promise static methods. r=peterv
86e73c5414d638ce77d4960a260cbeebff659568
created 2015-11-25 15:48 -0500
pushed 2015-12-01 03:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 1. Introduce a PromiseCapability struct. r=baku,efaust
08f527d6528249e686c4ef9fac002939e3dab59a
created 2015-11-25 21:02 -0800
pushed 2015-11-26 05:03 +0000
Phil Ringnalda Phil Ringnalda - Back out 13 changesets (bug 1170760) for Gu bustage in homescreen/test/unit/apps_test.js
5d84599a88460d7ecb53b8ef5f7ccbdd5b463afd
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust
1dfb229da01df4659e7f521f01d8c6d88d30f0d6
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 11. Add subclassing support to Promise::Reject. r=baku,efaust
f380faddfdd8ee76862fbb284b70143f6ec3bfb2
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust
6a5b7dfab8822228233b0a079b249ead32ecc70c
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 8. Add subclassing support to Promise::All. r=baku,efaust
ee514a25692270b5df04c85326d14bd798e20bd8
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 7. Add subclassing support to Promise::Race. r=baku,efaust
3c2c1acc34ee4f971e1172171ef692a6b7ed1adb
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - 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
dc2a7f5dc5d6f3b202c328853e3d86101d372bdc
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 5. Implement NewPromiseCapability which can either return a PromiseCapability as in the spec, or one that has a native promise and maybe resolve/reject functions if the consumer asked for them. r=baku,efaust
cb6aba9b849770047f6a93e2b05f7137bda3dc43
created 2015-11-25 15:48 -0500
pushed 2015-11-25 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1170760 part 3. Add an @@species getter on Promise. r=peterv
less more (0) -100 -60 tip