Boris Zbarsky
ba9c231e2a
Bug 1180770 part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv
2015-07-09 22:51:28 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
33f3efd014
Bug 1146333. Get rid of WrapCallThisValue and just use ToJSValue, now that we have it. r=peterv
2015-03-30 23:43:45 -04:00
Boris Zbarsky
2bea3a108b
Bug 742194 part 1. Add support for throwing uncatchable exceptions to Web IDL bindings. People keep asking for this. r=khuey
2015-02-20 23:58:36 -05:00
Nikhil Marathe
67f670c500
Bug 1121682 - fetch() should reject with TypeError
2015-01-14 13:43:27 -08:00
Tom Tromey
bd386c07a2
Bug 1096341 - require an exception to be set in ToJSValue overload. r=bz
2014-11-10 09:06:00 +01:00
Ben Kelly
f7766f01e7
Bug 1091091: Support ErrorResult in Promise::MaybeReject(). r=bz
2014-10-30 11:12:09 -04:00
Boris Zbarsky
7fe5d9f4a0
Bug 996831. Add a ToJSValue overload for nsresult, to allow rejecting promises from C++ more easily. r=bholley
2014-04-16 15:13:41 -04:00
Ryan VanderMeulen
e917377eca
Backed out 3 changesets (bug 996474, bug 996831) for B2G bustage on a CLOSED TREE.
...
Backed out changeset 8f98a4c2257f (bug 996831)
Backed out changeset 7acce569bd84 (bug 996831)
Backed out changeset 1845b09c7578 (bug 996474)
2014-04-16 19:31:41 -04:00
Boris Zbarsky
c2a6e9348f
Bug 996831 followup to fix silly gcc build bustage and reopen the CLOSED TREE
2014-04-16 16:17:01 -04:00
Boris Zbarsky
74e1cbe3d8
Bug 996831. Add a ToJSValue overload for nsresult, to allow rejecting promises from C++ more easily. r=bholley
2014-04-16 15:13:41 -04:00
Boris Zbarsky
0ca109ca20
Bug 994453 part 1. Factor out the to-JS conversions from Promise.h into mozilla::dom::ToJSValue methods. r=bholley
...
Apart from moving the methods, I made the following changes:
1) Renamed them to ToJSValue.
2) Inlined the boolean overload.
3) Added overloads that take integer types.
4) Changed the order of the aCx and aArgument arguments so aCx comes first.
5) Renamed "abv" to "obj" in the typed array overload.
2014-04-10 14:57:07 -04:00