Olli Pettay
640dc295d0
Bug 1136357 - Make Promise skippable, r=mccr8
2015-02-25 00:24:45 +02:00
Boris Zbarsky
20da84c169
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
d54f0f8070
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
Ms2ger
230617c722
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
2015-01-14 08:59:06 +01:00
Boris Zbarsky
946534a82f
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
Edgar Chen
8954e6d67e
Bug 1112471 - Part 2: DOM Changes for getting icc service state API. r=smaug
2014-12-26 10:11:20 +08:00
Ehsan Akhgari
b470964f2c
Bug 1118612 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/promise; r=baku
2015-01-07 11:51:28 -05:00
Andrea Marchesini
dddffc895b
Bug 1057994 - DataStore should not dispatch runnables in a worker when it is shutting down, r=bent
...
--HG--
rename : dom/datastore/tests/file_basic_worker.html => dom/datastore/tests/file_worker_close.html
rename : dom/datastore/tests/test_basic_worker.html => dom/datastore/tests/test_worker_close.html
2014-12-17 14:49:36 +00:00
Dan Gohman
0a0a779f10
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-16 16:30:39 -08:00
Nigel Babu
cd37b395c6
Backed out changeset 6a3a0e3bfaf6 (bug 1054671) for B2G emulator build bustage on CLOSED TREE
2014-12-16 11:24:15 +05:30
Dan Gohman
447fe285f2
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-15 20:53:58 -08:00
Ehsan Akhgari
309b4049b4
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
Boris Zbarsky
ae7e51d646
Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace
2014-11-26 14:25:20 -05:00
Carsten "Tomcat" Book
e4867cec4d
Backed out changeset 73c4111cab17 (bug 1083361) for bustage
2014-11-20 09:51:03 +01:00
David Rajchenbach-Teller
f76c419f9e
Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
2014-11-19 14:31:06 +01:00
Nick Fitzgerald
80eb9d983f
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
105ae727f7
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
f119700716
Bug 1095443 - Ensure processNextEvent never blocks after processing a Promise microtask. r=bz
2014-11-11 13:47:28 +00:00
Ben Kelly
76130134f0
Bug 1091091: Support ErrorResult in Promise::MaybeReject(). r=bz
2014-10-30 11:12:09 -04:00
Jan-Ivar Bruaroey
e8b5e63e1b
Bug 1033885 - add mediaDevices.getUserMedia with promises. r=bz, r=jesup
2014-09-20 02:20:41 -04:00
Paolo Amadini
ec9499744d
Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey
2014-10-28 12:08:19 +00:00
Paolo Amadini
f22950ba82
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
Nikhil Marathe
b8edaa21bb
Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
...
--HG--
extra : transplant_source : o%29%0E%5D%90%11%FA%1ExO%26%7E%9D_%F2%E7%0B%FE%21%B2
2014-10-06 11:01:20 -07:00
Boris Zbarsky
1f2f961464
Bug 1084030. Store the promise creation and settlement timestamps and expose that information via PromiseDebugging. r=nsm
2014-10-20 13:02:21 -04:00
Boris Zbarsky
32e9856cfd
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
Boris Zbarsky
8785d8bc26
Bug 1083851 part 4. Expose promise stacks on PromiseDebugging.
2014-10-19 22:27:12 -04:00
Boris Zbarsky
075178aa90
Bug 1083851 part 3. Capture stacks at promise fulfillment time. r=nsm
2014-10-19 22:27:12 -04:00
Boris Zbarsky
76f098299b
Bug 1083851 part 2. Capture stacks at promise rejection time. r=nsm
2014-10-19 22:27:12 -04:00
Boris Zbarsky
f59edd37b0
Bug 1083851 part 1. Capture allocation stacks at promise creation time. r=nsm
2014-10-19 22:27:12 -04:00
Tom Schuster
0db58380c0
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Peter Van der Beken
9254096129
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Bobby Holley
b0d5796cba
Bug 1070842 - Remove ambiguous globals from xpc::ErrorReporter and make meanings explicit. r=bz
2014-09-29 15:34:20 +02:00
Nikhil Marathe
1901b05e2d
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
Bobby Holley
54afe3012b
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Ryan VanderMeulen
96c3a38dc4
Backed out changeset ebd8df8e8631 (bug 1062323) for Gaia unit test failures.
2014-09-24 17:08:28 -04:00
Nikhil Marathe
2130046b95
Bug 1062323 - Chained promises should resolve asynchronously. r=bz
2014-09-22 16:37:40 -07:00
Bobby Holley
8dae0fc8ce
Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
...
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Ehsan Akhgari
d31e4c0d28
Bug 1068020 - Fix more bad implicit constructors in DOM; r=baku
2014-09-17 17:53:42 -04:00
Yuan Xulei
2ae87a78b2
Bug 1035060 - Implement AbortablePromise. r=bz
2014-09-12 10:18:49 +08:00
Bobby Holley
35d62e8c00
Bug 1062077 - Introduce xpc::ErrorReport. r=bz
...
I've got it! Let's just wrap the JS thing in an XPCOM thing that duplicates
its fields with a different ownership model! We totally need another one of
those, right? And we could even stick it in XPConnect! </sarcasm>
In seriousness - the code to own, format, and display error reports is
currently spread between the JS engine, JSErrorReporters, an async Runnable
abstraction, and elsewhere. We need to condense it somewhere to start chipping
away at this mess.
2014-09-08 16:30:10 -07:00
Ehsan Akhgari
bc7cc3893c
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Ehsan Akhgari
0b2aaa5f23
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
b656763114
Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
...
CLOSED TREE
Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
f1391c83bf
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Yuan Xulei
0b76b1d942
Bug 1055925 - Refactor promise to merge main thread and worker thread tasks into a single task. r=nsm
2014-08-19 18:39:56 +08:00
Andrea Marchesini
042b7cf53f
Bug 1047398 - ServiceWorker should use WeakRef instead nsTWeakRef, r=smaug
2014-08-01 17:42:19 +01:00
Ehsan Akhgari
38ec6af068
Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-07-29 20:43:56 -04:00
Ms2ger
e99bd12a4b
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
Mike Hommey
d10b15b035
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Nikhil Marathe
86f5bb969b
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