dom/bindings/ErrorResult.h
469d01eebea4e2055553289ce6542fc093460bbd
created 2016-07-15 22:35 -0400
pushed 2016-07-16 12:51 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
dfe216aea3ab80a6fd801096de953de58a793598
created 2016-07-16 10:03 +0200
pushed 2016-07-16 08:03 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 03362dd7616d (bug 1224664)
c907a44b0c6c820bd0f83fe43f68134734fa67fd
created 2016-07-16 10:03 +0200
pushed 2016-07-16 08:03 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset dd2d38b7c16b (bug 933378)
8d50699deac13afab27328b99b8ec4ed2a2c5f59
created 2016-07-16 10:03 +0200
pushed 2016-07-16 08:03 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 1c2bd3bdebd6 (bug 933378)
a795d0003a443bf30b7d0b169d0913aee4b46ade
created 2016-07-16 10:03 +0200
pushed 2016-07-16 08:03 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset ed38780a242c (bug 933378)
9852c943ba72527613e3b4245247a50f51f3959a
created 2016-07-16 10:03 +0200
pushed 2016-07-16 08:03 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 7fef388bc6cf (bug 1224664)
7fef388bc6cf208be8015f654bb0415118cda6b3
created 2016-07-15 23:40 -0400
pushed 2016-07-16 03:40 +0000
Boris Zbarsky Boris Zbarsky - Bug 1224664 followup: NS_ASSERT_OWNINGTHREAD needs to be #ifdef DEBUG if our NS_DECL_OWNINGTHREAD is.
ed38780a242cb738c331a9abaf63b94ae325d325
created 2016-07-15 22:35 -0400
pushed 2016-07-16 03:15 +0000
Boris Zbarsky Boris Zbarsky - Bug 933378 part 4. Change the ErrorResult destructor to suppress the exception, after asserting that it's already suppressed. r=bkelly
1c2bd3bdebd6999903d931a22c3ae42120baf5f2
created 2016-07-15 22:35 -0400
pushed 2016-07-16 03:15 +0000
Boris Zbarsky Boris Zbarsky - Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly
dd2d38b7c16bee235f273a04626a9cbdb040d228
created 2016-07-15 22:35 -0400
pushed 2016-07-16 03:15 +0000
Boris Zbarsky Boris Zbarsky - Bug 933378 part 1. Introduce a TErrorResult class that will serve as a base class for various ErrorResult-like subclasses. No actual behavior changes so far. r=bkelly
03362dd7616d404ea77da256bf5a7245163cc9c9
created 2016-07-15 22:35 -0400
pushed 2016-07-16 03:15 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
63f6395614e8085c33d552e8c56e312df5c763a3
created 2016-04-20 21:09 -0700
pushed 2016-05-27 16:57 +0000
Bill McCloskey Bill McCloskey - Bug 1262671 - void** -> PickleIterator (r=froydnj)
74feb4250db0c7d06d5004e5e7948637ca915aee
created 2015-09-29 13:39 -0700
pushed 2016-03-15 15:50 +0000
Steve Fink Steve Fink - Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
45a4058143650f8447eefbd8907c9477ac6ab07f
created 2016-03-14 21:58 -0700
pushed 2016-03-15 04:59 +0000
Steve Fink Steve Fink - Backed out changeset 901b1c651c98 (bug 1246804)
901b1c651c982ccbf42604231c723d168e1cde69
created 2015-09-29 13:39 -0700
pushed 2016-03-15 04:00 +0000
Steve Fink Steve Fink - Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
f0afcff63e38ae44fe4d44592c45cc4f8db5d013
created 2016-03-10 01:50 -0800
pushed 2016-03-10 09:51 +0000
Kyle Huey Kyle Huey - Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz
cfa41433ed01a8dba9572f1d86ab6213fd349324
created 2016-02-24 10:38 -0500
pushed 2016-02-24 15:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 1249652 part 1. Add a method on ErrorResult to steal an exception, if any, from a JSContext. r=khuey
5be86ea3a376cb7f7c1f405ab14540a675185bf1
created 2015-11-30 22:04 -0500
pushed 2015-12-01 03:05 +0000
Boris Zbarsky Boris Zbarsky - Bug 1228707. Add a away to call Web IDL callbacks while ignoring any errors from them, and use it in a few places. r=smaug
ecb3051bba081b246f8504d23ab568617e9248c5
created 2015-11-20 16:29 -0500
pushed 2015-11-20 21:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 1224007 part 6. Change MaybeSetPendingException to set the ErrorResult state to "not failed", just like SuppressException and StealNSResult already do, and assert in the destructor that the ErrorResult is not Failed().
e597563f32ff62d4fb5ae612cebf93a630b20621
created 2015-11-20 16:29 -0500
pushed 2015-11-20 21:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 1224007 part 5. Get rid of ErrorResult::StealJSException. r=peterv
f38491274f56202ccad74debf422b3a22314b37b
created 2015-11-20 16:29 -0500
pushed 2015-11-20 21:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 1224007 part 3. Push down WouldReportJSException into MaybeSetPendingException, since anyone calling the latter will propagate the JS exception as needed. r=peterv
e7ffa99e2ac9e8420aabc710166041250cd2b245
created 2015-11-20 16:29 -0500
pushed 2015-11-20 21:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 1224007 part 2. Make the various ErrorResult::Report* methods private, so consumers all go through MaybeSetPendingException and rename them to more clearly indicate what they're actually doing. r=peterv
97c1d36af517b7a65cec6437532171d76b535886
created 2015-11-20 16:29 -0500
pushed 2015-11-20 21:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 1224007 part 1. Rename ThrowMethodFailed to MaybeSetPendingException and make it an ErrorResult instance method. r=peterv
c0eab88b18c27ac2fa767725f3b6268c0aeb320e
created 2015-11-20 13:36 -0500
pushed 2015-11-20 18:37 +0000
Boris Zbarsky Boris Zbarsky - Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8
1b5636e3136518de47d25306bb5061e42b99d991
created 2015-11-18 11:07 -0800
pushed 2015-11-18 19:08 +0000
Ben Kelly Ben Kelly - Bug 1225219 Implement ErrorResult::CloneTo(). r=bz
6d9cf8dd2ed88a09ed3b6861117f64908938dc76
created 2015-11-18 09:52 -0800
pushed 2015-11-18 17:52 +0000
Wes Kocher Wes Kocher - Backed out changeset cc92635ec29a (bug 1225219) for build bustage CLOSED TREE
cc92635ec29acf9e11d2527127492fe48d88239b
created 2015-11-18 08:50 -0800
pushed 2015-11-18 16:50 +0000
Ben Kelly Ben Kelly - Bug 1225219 Implement ErrorResult::CloneTo(). r=bz
7662e3d92a364bf3a3d03dcc55b743e7950545ff
created 2015-11-09 20:47 -0500
pushed 2015-11-10 01:47 +0000
Boris Zbarsky Boris Zbarsky - Bug 1219749. Add a way to faithfully propagate the "exception is already on JSContext" state through an ErrorResult. r=peterv
6c919172ced31342d5a90a9c1ab33f3976d2a299
created 2015-10-09 16:48 -0400
pushed 2015-10-09 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1213289 part 4. Convert to using an enum for tracking our union state. r=bkelly
0b320a1a2efe0b205321a10fe849e6a5585921ae
created 2015-10-09 16:48 -0400
pushed 2015-10-09 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1213289 part 3. Add a way to throw a DOMException with a custom message on ErrorResult. r=bkelly
d0598ce9e7cadcb6322752190d2b52a2d600c836
created 2015-10-09 16:48 -0400
pushed 2015-10-09 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1213289 part 2. Introduce ErrorResult::ClearUnionData and use it in various places where we're trying to do that. r=bkelly
c6bf3c59ee4e6e8f49aaf345af1be55a13b3ccc0
created 2015-10-05 09:38 -0700
pushed 2015-10-05 16:38 +0000
Andrew McCreight Andrew McCreight - Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
a11b056ad49b63fb56298a56f548aaee09b22498
created 2015-10-02 16:17 -0700
pushed 2015-10-02 23:17 +0000
Wes Kocher Wes Kocher - Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
8217918269609039037035e1f4f80c315664391b
created 2015-10-02 15:09 -0700
pushed 2015-10-02 22:09 +0000
Andrew McCreight Andrew McCreight - Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
5b173235b1875886cb6a5647b955944f4f17695b
created 2015-10-02 10:49 -0700
pushed 2015-10-02 17:49 +0000
Andrew McCreight Andrew McCreight - Backed out changeset 6fa9cdf4002b for breaking the build.
6fa9cdf4002b6726daedcf81b3e1e47702ca585f
created 2015-10-02 10:42 -0700
pushed 2015-10-02 17:42 +0000
Andrew McCreight Andrew McCreight - Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
eae3e7c3dbbd7fdd56c29eb26345c26780f2a122
created 2015-09-15 11:47 -0700
pushed 2015-09-15 18:47 +0000
Andrew McCreight Andrew McCreight - Bug 1195977, part 7 - Use variadic templates instead of var args for ThrowTypeError() and ThrowRangeError(). r=peterv
8fbf291b2fdc7d23da7e02ea85edbe6d8c44cb62
created 2015-09-15 11:47 -0700
pushed 2015-09-15 18:47 +0000
Andrew McCreight Andrew McCreight - Bug 1195977, part 6 - Inline ErrorResult throw error methods into the header. r=peterv
fba22ced664c2b945b1f34ed142a6ed46ad27dcb
created 2015-09-15 11:47 -0700
pushed 2015-09-15 18:47 +0000
Andrew McCreight Andrew McCreight - Bug 1195977, part 5 - Hoist out inner part of ErrorResult::ThrowErrorWithMessage() into a helper. r=peterv
91d6e262b662a0b4e47358665e222d3927337af9
created 2015-07-13 08:25 -0700
pushed 2015-07-13 15:25 +0000
Birunthan Mohanathas Birunthan Mohanathas - Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
8b940b9d7cf70d0450808b4b64ef1b302307f0c3
created 2015-07-09 22:51 -0400
pushed 2015-07-10 02:51 +0000
Boris Zbarsky Boris Zbarsky - Bug 1180770 part 1. Remove the unused ThrowNotEnoughArgsError. r=peterv
a4093b87ff57bea9a91d40043b79cfbb524aaa1d
created 2015-06-16 16:44 -0400
pushed 2015-06-16 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1174954 part 3. Remove ReportJSExceptionFromJSImplementation, since it no longer does anything interesting. r=bholley
bd079aadd3feeee3f9b9f73c5e0bc4bd6a870722
created 2015-05-03 15:32 -0400
pushed 2015-05-03 19:33 +0000
Andrew McCreight Andrew McCreight - Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
6ba4bb455c2329590135c467a6074169cde78294
created 2015-04-27 09:18 -0400
pushed 2015-04-27 13:19 +0000
Boris Zbarsky Boris Zbarsky - Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv
ba4902e0196c6c9666638dff998af45e48a44305
created 2015-04-27 09:18 -0400
pushed 2015-04-27 13:19 +0000
Boris Zbarsky Boris Zbarsky - Bug 1157898 part 4. Add ErrorResult::ErrorCodeIs() and use it in various places to get rid of ErrorCode(). r=peterv
4b8a27223558d02d7b9b0731231d0ddea3c3cc5d
created 2015-04-26 22:38 -0400
pushed 2015-04-27 02:39 +0000
Boris Zbarsky Boris Zbarsky - Bug 1157754 part 3. Make ClearMessage private on ErrorResult. r=peterv
a03d304acdb37dbd7b1bf4d5b5267f2fbace336d
created 2015-04-26 22:38 -0400
pushed 2015-04-27 02:39 +0000
Boris Zbarsky Boris Zbarsky - Bug 1157754 part 1. Add a way to "catch" an ErrorResult, and a way to safely convert an ErrorResult to an nsresult. r=peterv
913ce28d019658d56aba583f8de24fbff7e636f6
created 2015-04-16 12:00 -0700
pushed 2015-04-16 19:00 +0000
Ben Kelly Ben Kelly - Bug 1110485 P0 Add an ErrorResult constructor that takes nsresult. r=bz
ebba4cbd6c4ba5997f83b1bddb97949dbfecde4d
created 2015-04-15 14:21 -0400
pushed 2015-04-16 11:29 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1154831 - Remove the gcc-4.6-warning-silencing code in ErrorResult::ErrorResult; r=bzbarsky
0109a745ab9cc9d65389b21260f02ebeb4629e51
created 2015-04-15 14:09 -0400
pushed 2015-04-15 20:09 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1149987 - Part 4: Do not attempt to delete ErrorResult::mMessage when deserializing the object from IPDL; r=bzbarsky
55fefc16edbaaacb56f67fa340fb8aefd3082d52
created 2015-04-06 22:22 -0400
pushed 2015-04-09 02:45 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1149987 - Part 3: Give ErrorResult a move constructor and a move assignment operator; r=bzbarsky
1dee5173e641af1dd2bb9b7013916e5091cbba4f
created 2015-04-06 22:20 -0400
pushed 2015-04-09 02:45 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1149987 - Part 2: Make ErrorResult unassignable; r=bzbarsky
7fcc5890a770a1563fc3a44a78ec8d496d72fda6
created 2015-04-06 21:36 -0400
pushed 2015-04-09 02:45 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1149987 - Part 1: Make it possible to send an ErrorResult that doesn't encode a JS exception through the IPDL layer; r=bzbarsky
7fbf03927859971b3cf07c7663cd4c000eaadb73
created 2015-04-08 11:49 -0400
pushed 2015-04-08 15:49 +0000
Ryan VanderMeulen Ryan VanderMeulen - Backed out 5 changesets (bug 1149987) for mochitest crashes.
bdb64d5befa55cb4f57673dadaf8e58435604032
created 2015-04-06 22:22 -0400
pushed 2015-04-08 15:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1149987 - Part 3: Give ErrorResult a move constructor and a move assignment operator; r=bzbarsky
693901a4bcde177154392671ccbae2070697ea36
created 2015-04-06 22:20 -0400
pushed 2015-04-08 15:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1149987 - Part 2: Make ErrorResult unassignable; r=bzbarsky
e7c41c8653c43605976eb5b1579303590ec35414
created 2015-04-06 21:36 -0400
pushed 2015-04-08 15:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1149987 - Part 1: Make it possible to send an ErrorResult that doesn't encode a JS exception through the IPDL layer; r=bzbarsky
eb099aee10670b18cdfb201bb01b9cb5de549f40
created 2015-03-06 01:08 -0500
pushed 2015-03-06 06:08 +0000
Boris Zbarsky Boris Zbarsky - Bug 1122238 part 3. Drop all the DOMException-cloning and sanitization gunk we added in bug 1107592 and bug 1107953 and bug 1117242 . r=bholley
160607e021a9fafa2643beb2695b9f816103f2ce
created 2015-02-20 23:58 -0500
pushed 2015-02-21 04:58 +0000
Boris Zbarsky Boris Zbarsky - Bug 742194 part 1. Add support for throwing uncatchable exceptions to Web IDL bindings. People keep asking for this. r=khuey
53767c427617de53d0c929b7d9324880f634ad1b
created 2015-02-04 18:46 +0700
pushed 2015-02-06 07:27 +0000
Dhi Aurrahman Dhi Aurrahman - Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz
less more (0) -60 tip