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
Ryan VanderMeulen
379f8a7ad4
Backed out changeset 38bfa2af2bd8 (bug 1023547) for making test_promise.html perma-fail.
2014-07-20 15:39:04 -04:00
Nikhil Marathe
c0b86de32d
Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz
2014-07-18 18:13:47 -07:00
Boris Zbarsky
48011830e3
Bug 966452 part 2. Report all unhandled Promise rejections. r=nsm,bholley
2014-07-04 01:24:59 -04:00
Boris Zbarsky
c03ab46f93
Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley.
2014-07-18 21:31:11 -04:00
Benoit Girard
e7aea75462
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Benoit Jacob
57ed0c585c
Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan
2014-07-08 17:23:17 -04:00
Carsten "Tomcat" Book
39f737bb90
Backed out changeset 42f348168125 (bug 966452)
2014-07-04 08:23:38 +02:00
Boris Zbarsky
4a3080b3df
Bug 966452 part 2. Report all unhandled Promise rejections. r=nsm
2014-07-04 01:24:59 -04:00
Nikhil Marathe
4d7bfd252f
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 463146233c874c2f2c63c018f2a43a66ca9ea49a
2014-07-02 17:48:35 -07:00
Boris Zbarsky
e2f0608365
Bug 966471. Add some facilities for examining the state of a promise via a PromiseDebugging utility namespace. r=nsm,peterv
2014-07-02 00:19:48 -04:00
Wes Kocher
bbc09af3cc
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
3d69f76ee1
Bug 965644 - Fix intermittent oranges on promise tests. r=bz
2014-07-01 17:33:00 -07:00
Nikhil Marathe
81a3fad979
Bug 984048 - Promise::MaybeReject ErrorEvent overload no longer needed. Fix compile error. r=bustage
...
--HG--
extra : amend_source : 5fcbc1c3912503e98f36fce514ddc2433da31a3e
2014-07-01 17:07:47 -07:00
Nikhil Marathe
8ece823137
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
2014-07-01 16:43:13 -07:00
Ryan VanderMeulen
6b74ec8899
Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes.
2014-06-30 17:22:47 -04:00
Nikhil Marathe
40400978a6
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 9cc36dea950be96fba079877c2d67b76f8383635
2014-06-30 13:31:02 -07:00
Benoit Jacob
747dcfc8a0
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Kyle Huey
b29ba7e116
Bug 1023033: Remove unnecessary MOZ_COUNT_CTOR/DTOR from promise code. r=mccr8
2014-06-17 09:39:16 -07:00
Ben Kelly
fa96ef9593
Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz
2014-06-16 12:52:00 -04:00
Ben Kelly
d96ec8b401
Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz
2014-06-16 14:08:00 -04:00
Boris Zbarsky
2bb59ed300
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Nikhil Marathe
abe25b169a
Bug 1020226 - Fix unhandled Promise rejection handling in workers. r=khuey
...
* * *
Bug 1020226 - Test case to crash browser when using Promises on workers. r=khuey
2014-06-05 12:21:56 -07:00
Boris Zbarsky
ce7efbba1f
Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey
2014-06-03 11:38:38 -04:00
Ryan VanderMeulen
a1fd06248a
Backed out changesets 6d1c36585219 and bd403a727849 (bug 1016560) for mochitest-other failures.
...
CLOSED TREE
2014-06-03 13:48:49 -04:00
Boris Zbarsky
59db282a5f
Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey
2014-06-03 11:38:38 -04:00
Nikhil Marathe
25ee8c2808
Bug 1008467 - Callbacks to then() resolve Promise asynchronously. r=bz
2014-05-20 14:55:36 -07:00
Nikhil Marathe
7f1cb23bae
Bug 1009569 - Promise then() must be called on a clean stack. r=bz
2014-05-20 14:21:13 -07:00
Nick Lebedev
b7223435b4
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00
Gene Lian
84c4e2d3fc
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
Jon Coppeard
bed7fc43d9
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Andrea Marchesini
e6576fb574
Bug 995163 - wrap the Promise value in NativePromiseCallback, r=bz
2014-04-29 22:12:14 +01:00