Commit Graph

52 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
c486bdfbd4 Bug 1157714 - Move browser_monitorUncaught to a xpcshell test. r=self 2015-05-19 12:21:28 +02:00
Ehsan Akhgari
fa0a409d85 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Boris Zbarsky
b25bc69525 Bug 1162013. Process the Promise queue between adjacent setTimeout callback invocations when we're going through the callback list without returning to the event loop. r=smaug 2015-05-07 14:49:31 -04:00
Wes Kocher
8e8734c870 Backed out changeset 57f0b16030e9 (bug 1162013) for m-oth and m-dt3 bustage CLOSED TREE 2015-05-07 13:37:27 -07:00
Boris Zbarsky
2432238dc9 Bug 1162013. Process the Promise queue between adjacent setTimeout callback invocations when we're going through the callback list without returning to the event loop. r=smaug 2015-05-07 14:49:31 -04:00
Boris Zbarsky
f9d2845925 Bug 1152902 part 2. Add a fast path for the case when a Promise is resolved with another Promise. r=nsm 2015-04-17 22:01:02 -04:00
David Rajchenbach-Teller
ec109a7a89 Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz 2015-04-10 17:27:57 +02:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Boris Zbarsky
04d9ab9054 Bug 1120235. Various promise resolve/reject functions should actually return undefined instead of ending up accidentally returning their callee. r=nsm 2015-01-12 22:35:33 -05:00
Ehsan Akhgari
20474e5ba7 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Carsten "Tomcat" Book
c11edbfdb0 Backed out changeset 73c4111cab17 (bug 1083361) for bustage 2014-11-20 09:51:03 +01:00
David Rajchenbach-Teller
78ace752f9 Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz 2014-11-19 14:31:06 +01:00
Nick Fitzgerald
24bd59394c Bug 1084065 - Part 2: Make DOM Promise call the JS::dbg::onPromiseSettled hook; r=bz 2014-11-17 10:44:00 +01:00
Nick Fitzgerald
6c2d75c2e0 Bug 1083210 - Part 2: Make DOM Promise call the JS::dbg::onNewPromise hook. r=bz 2014-11-17 10:42:00 +01:00
Paolo Amadini
96847247ea Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey 2014-10-28 12:08:19 +00:00
Paolo Amadini
2e5156a4d8 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
Boris Zbarsky
0d9ab82c4b Bug 1083950. Add a way to get the promises that depend on a given promise via PromiseDebugging. r=nsm 2014-10-19 22:27:36 -04:00
Nikhil Marathe
9a31dbb780 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
97edadf215 Backed out changeset ebd8df8e8631 (bug 1062323) for Gaia unit test failures. 2014-09-24 17:08:28 -04:00
Nikhil Marathe
1a14ca5478 Bug 1062323 - Chained promises should resolve asynchronously. r=bz 2014-09-22 16:37:40 -07:00
Yuan Xulei
5eb5a12967 Bug 1035060 - Implement AbortablePromise. r=bz 2014-09-12 10:18:49 +08:00
Ms2ger
d9e695483d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Nikhil Marathe
0348f3bab8 Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz
--HG--
extra : transplant_source : %F5%A9%DER%BA%11%E3%2C%E3R%C8%40%F3%5E%D5%C3%A6%FE%9D%90
2014-07-18 18:13:47 -07:00
Ryan VanderMeulen
36322c2c95 Backed out changeset 38bfa2af2bd8 (bug 1023547) for making test_promise.html perma-fail. 2014-07-20 15:39:04 -04:00
Nikhil Marathe
6e0b30b91a Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz 2014-07-18 18:13:47 -07:00
Nikhil Marathe
f42a07f1f7 Bug 965644 - Fix intermittent oranges on promise tests. r=bz 2014-07-01 17:33:00 -07:00
Nikhil Marathe
47373b782f Bug 1008467 - Callbacks to then() resolve Promise asynchronously. r=bz 2014-05-20 14:55:36 -07:00
Nikhil Marathe
9beee79ee3 Bug 1009569 - Promise then() must be called on a clean stack. r=bz 2014-05-20 14:21:13 -07:00
Nikhil Marathe
f98ea7c745 Bug 956197 - Tests to check Promises can accept iterators. r=bz
--HG--
extra : amend_source : 7989612b44c67393de7f74fdd0054587722cc79a
2014-03-28 08:17:53 -07:00
William Chen
0f4ca6400e Bug 973988 - DOM Promise constructor should call the executor with "undefined" as thisArg. r=bz 2014-02-19 10:59:23 -08:00
Nikhil Marathe
079e3e9713 Bug 966348 - Rename Promise.cast to Promise.resolve. r=bz 2014-02-10 09:27:02 -08:00
Nikhil Marathe
8473b7af42 Bug 918806 - Enable DOM Promises. sr=bz
--HG--
extra : rebase_source : dbc7ef836fe7c2a71f38fedda004d7f988361a85
2014-01-30 13:14:00 -08:00
Ryan VanderMeulen
207d08537d Backed out changesets 6db8b08a3aea and 1d7c2025bb56 (bug 918806) for B2G mochitest failures. 2014-01-30 14:46:36 -05:00
Nikhil Marathe
02149fd481 Bug 918806 - Enable DOM Promises. sr=bz 2014-01-30 09:41:43 -08:00
Nikhil Marathe
bf5779d924 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
7b139fafd1 Bug 939332 - Implement Promise.all, Promise.cast, Promise.race. r=bz
--HG--
extra : rebase_source : 72c1a87a6352005765442ea8903cfa16da8608fd
extra : amend_source : 71b6af7c8446cd501bc337d50a345f24814f20db
2013-11-19 13:53:00 -08:00
Nikhil Marathe
828864ed41 Bug 879245 - Implement thenables for Promises. r=bz
--HG--
extra : rebase_source : cde27792ae58b13c88367df7a99fc8981097eedd
2014-01-23 10:47:29 -08:00
Nikhil Marathe
d7c8ab2148 Bug 915233 - DOM Promises on Workers. r=baku,bent,smaug,bz sr=sicking 2013-11-24 11:26:07 -08:00
Nikhil Marathe
8abe0cbb4b Bug 939906 - Make Promise.resolve(), Promise.reject(), Promise.prototype.then() and Promise.prototype.catch() spec compliant. r=baku
--HG--
extra : rebase_source : 7f32dd1222e4ab04f3f0cb4f450b734a4014c805
2013-11-19 13:29:47 -08:00
Nikhil Marathe
f78749daf0 Bug 923305 - Fix typos in test_promise.html that were causing some tests to not be run. r=baku 2013-10-02 15:21:17 -07:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Andrea Marchesini
618a45f717 Bug 911213 - Implement new promise constructor, r=bz 2013-09-11 18:03:04 +02:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Andrea Marchesini
e28277cad4 Bug 875289 - Remove .done() and allow undefined to be passed to .then() and .catch(), r=mounir, sr=bz 2013-07-16 15:56:24 +02:00
Andrea Marchesini
0090dbd0ea 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
Ed Morley
3b410f3a76 Backed out changeset 96036434bb78 (bug 875289) for mochitest-chrome failures on a CLOSED TREE
--HG--
rename : dom/promise/Promise.cpp => dom/future/Future.cpp
rename : dom/promise/Promise.h => dom/future/Future.h
rename : dom/promise/PromiseCallback.cpp => dom/future/FutureCallback.cpp
rename : dom/promise/PromiseCallback.h => dom/future/FutureCallback.h
rename : dom/promise/PromiseResolver.cpp => dom/future/FutureResolver.cpp
rename : dom/promise/PromiseResolver.h => dom/future/FutureResolver.h
rename : dom/promise/Makefile.in => dom/future/Makefile.in
rename : dom/promise/moz.build => dom/future/moz.build
rename : dom/promise/tests/Makefile.in => dom/future/tests/Makefile.in
rename : dom/promise/tests/moz.build => dom/future/tests/moz.build
rename : dom/promise/tests/test_promise.html => dom/future/tests/test_future.html
rename : dom/promise/tests/test_resolve.html => dom/future/tests/test_resolve.html
rename : dom/webidl/Promise.webidl => dom/webidl/Future.webidl
2013-06-20 11:20:49 +01:00
Ed Morley
f4407c78f2 Backed out changeset 80732a2b8422 (bug 875289) 2013-06-20 11:20:01 +01:00