Commit Graph

20 Commits

Author SHA1 Message Date
Eddy Bruël
b7c5c3b9cd Bug 1164564 - Refactor Promise-backend.js so it can be required as a CommonJS module on the main thread;r=paolo 2015-06-11 21:24:15 +02:00
Ryan VanderMeulen
40a23d2338 Backed out changeset 0ca665e88ae5 (bug 1164564) for Linux debug test_promises_actor_onpromisesettled.js failures. 2015-06-10 12:07:07 -04:00
Eddy Bruël
6372af70e0 Bug 1164564 - Refactor Promise-backend.js so it can be loaded as a CommonJS module on the main thread;r=jlong 2015-06-10 14:25:07 +02:00
Eddy Bruël
6319593dde Bug 1164564 - Refactor Promise-backend.js so it can be required as a CommonJS module;r=jlong 2015-05-26 17:05:07 +02:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brandon Benvie
647698a879 Bug 943512 - Stubify Promise.jsm so it can be used in the devtools debugger server. r=paolo 2014-03-05 10:39:19 -08:00
Ryan VanderMeulen
54a065c778 Backed out changeset 1c3076666191 (bug 943512) for Gaia UI test bustage. 2014-03-12 15:23:48 -04:00
Brandon Benvie
3a5a03cf90 Bug 943512 - Stubify Promise.jsm so it can be used in the devtools debugger server. r=paolo 2014-03-12 18:49:43 +01:00
Wes Kocher
b8b0f96173 Unbacked out changeset 19fe1e621c5c (bug 966182) because it didn't actually introduce the new hazard. 2014-03-05 20:45:55 -08:00
Wes Kocher
e2d785772c Backed out changeset 3bfcf691690a (bug 966182) for adding a hazard. 2014-03-05 20:31:38 -08:00
Myk Melez
e6563c9d35 Bug 966182 - implement Task.async; r=paolo 2014-03-05 18:06:17 -08:00
Brandon Benvie
d9ce165c6f Bug 941757 - Add Promise constructor to Promise.jsm. r=paolo 2014-02-13 09:39:32 -08:00
Nils Maier
5c037183a0 Bug 932548 - Improve stack/message generation for uncaught Promise.jsm rejections. r=yoric 2013-10-31 23:23:10 -04:00
Tareq Khandaker
2db4721253 Bug 926635 - Improve layout of uncaught Promise.jsm error messages. r=Yoric 2013-10-27 08:03:51 -04:00
David Rajchenbach-Teller
a7fa0e6830 Bug 903433 - Report unhandled Promise.jsm exceptions upon garbage-collection. r=paolo 2013-10-12 14:17:46 -04:00
Bill McCloskey
a1075030ec Bug 908955 - Eagerly dump coding exceptions raised in Promise/Task callbacks. r=paolo 2013-09-06 09:19:24 -04:00
Irving Reid
62621610e6 Bug 888753: Reschedule walker loop more often to avoid deadlocks with nested event loops; r=paolo 2013-08-19 15:55:20 -04:00
Tim Taubert
d4917564e2 Bug 895185 - Rename Promise.every() to .all() to reduce confusion about our differing implementation; r=paolo 2013-07-31 10:58:44 -07:00
Tim Taubert
17bf57ffd3 Bug 895185 - Implement Promise.every(); r=paolo sr=mossop 2013-07-20 09:34:10 +02:00
Paolo Amadini
92d13b7935 Bug 810490 - Constant stack space promise. r=mossop 2013-05-30 14:23:42 +02:00