dom/bindings/ErrorResult.h
5f4630838d46dd81dadb13220a4af0da9e23a619
created 2019-01-18 10:16 +0100
pushed 2019-01-21 13:03 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-12-03 16:23 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
03ecdc85a12613b5fb79805c32a9896395351415
created 2018-07-13 14:39 +0300
pushed 2018-08-24 17:49 +0000
Andi-Bogdan Postelnicu Andi-Bogdan Postelnicu - Bug 1475515 - Remove member initialization for union Extra::mMessage. r=bz
13efb4f58614a7bb20ca3149b0ca50cf92c7a13d
created 2018-06-16 17:21 +0300
pushed 2018-08-24 17:49 +0000
Andi-Bogdan Postelnicu Andi-Bogdan Postelnicu - Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv
0be300394024d07621c28ac80135f41d47e18895
created 2018-06-27 06:51 -0700
pushed 2018-08-24 17:49 +0000
Ben Kelly Ben Kelly - Bug 1471303 Fix CopyableErrorResult::operator==() to actually compile with ipdl types. r=bz
b15524c982e924e0732f56c4b9ca170ffcd10a30
created 2018-06-06 16:28 -0700
pushed 2018-06-18 21:43 +0000
Steve Fink Steve Fink - Bug 1343620 - Use JS_HAZ_ROOTED everywhere instead of programmatic annotations, r=pbone
bb85c5ee5afc151be0d07ecc48318dc69cfef446
created 2018-06-01 18:30 +0200
pushed 2018-06-18 21:43 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
b54db66223586b4e04f5cb926fccdacf8a176b91
created 2018-05-30 21:15 +0200
pushed 2018-06-18 21:43 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
f557f72f5d462ecdc486e5ed9ba1fc930dfa3eee
created 2018-04-26 13:50 -0700
pushed 2018-04-28 10:35 +0000
Ben Kelly Ben Kelly - Bug 1357463 Add CopyableErrorResult to opt in to auto-cloning ErrorResult values. r=bz
822e81707327954a2c4e7d8060c5d91ae528bbf3
created 2018-04-25 19:40 -0700
pushed 2018-04-26 21:04 +0000
Jeff Walden Jeff Walden - Bug 1451248. r=jorendorff, r=bz
8a94faa5cc60495da5d80d4b3c07bf5877d2e6d8
created 2018-04-13 16:01 +0300
pushed 2018-04-26 21:04 +0000
Sebastian Hengst Sebastian Hengst - Backed out 4 changesets (bug 525063) on request from Andi. a=backout
d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
created 2018-04-10 21:11 +0200
pushed 2018-04-26 21:04 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
898598ebe01890668a5a1d9288e5d64d54c29337
created 2018-03-26 16:41 -0400
pushed 2018-04-26 21:04 +0000
Boris Zbarsky Boris Zbarsky - Bug 1449019. Actually propagate out exceptions from the innerHTML getter. r=smaug
61ca8af8e31332158c4307c8277282d27012d46e
created 2018-03-05 19:27 -0500
pushed 2018-03-06 14:33 +0000
Kannan Vijayan Kannan Vijayan - Bug 1411415 - r=bz r=fitzgen
38fdcb96bb9258fdd963a063273e36ab9da6e1fc
created 2018-02-02 13:21 -0800
pushed 2018-03-01 16:46 +0000
Eric Rahm Eric Rahm - Bug 1434689 - Part 4: Annotate IgnoreErrors as MOZ_TEMPORARY_CLASS. r=bz
27018abb80f8dec9412757f215b738de751385b9
created 2018-02-01 14:21 -0500
pushed 2018-03-01 16:46 +0000
Boris Zbarsky Boris Zbarsky - Bug 1434686 part 1. Introduce a mozilla::IgnoreErrors which can be used as a temporary to pass to an ErrorResult& arg when the error should be ignored. r=mystor
f6ef04a022f3c5aa861e438298302a989308369e
created 2017-12-06 16:52 -0800
pushed 2018-01-11 21:05 +0000
Eric Rahm Eric Rahm - Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
bf9838fd466c02f4283ff3f885bae02fc21a9acb
created 2017-10-23 22:40 +0200
pushed 2017-11-02 16:33 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1411034 - Remove the const to fix the -Wignored-qualifiers warning r=froydnj
5505b53a0acb3dcf2c6a565169d99c23e1c8da52
created 2017-02-14 16:17 -0800
pushed 2017-06-12 13:08 +0000
Andrew McCreight Andrew McCreight - Bug 1338272 - Require that the return value of MaybeSetPendingException is used. r=bz
8640e2712eef577a339d4d12b0c27af808a633ca
created 2017-02-28 14:41 -0500
pushed 2017-06-12 13:08 +0000
Michael Layzell Michael Layzell - Bug 1331434 - Part 2: Add MOZ_MAY_CALL_AFTER_MUST_RETURN and MOZ_MUST_RETURN_FROM_CALLER annotations, r=ehsan
b17eeee93d22d89e99355b72c5b46b6125ff99f1
created 2017-02-15 00:02 -0500
pushed 2017-04-18 12:07 +0000
Boris Zbarsky Boris Zbarsky - Bug 1339540 part 3. Use nsresult values in the ErrorResult error module in place of NS_ERROR_TYPE_ERR/NS_ERROR_RANGE_ERR in ErrorResult code. r=smaug
8682efc34f6c8ca80c2d4394870f581c441debc6
created 2017-02-15 00:02 -0500
pushed 2017-04-18 12:07 +0000
Boris Zbarsky Boris Zbarsky - Bug 1339540 part 2. Move the three ErrorResult-internal NS_ERROR_DOM_* values over to the ErrorResult error module. r=smaug
46116604aa0b07bffac9c4c27e19f27805e56883
created 2017-02-10 23:06 -0500
pushed 2017-03-06 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1328861 - Be a little less trusting about our error codes in ErrorResult. r=smaug a=abillings
ec1b482c8b7efdfaddab0378cef686b68edd85ca
created 2017-01-17 23:52 -0500
pushed 2017-03-06 20:48 +0000
Boris Zbarsky Boris Zbarsky - Bug 1330536 part 3. Add a subclass of FastErrorResult that can be used only to throw OOM. r=smaug
b000e60212be6963d7edba66a52914d575efcbbc
created 2017-02-10 23:06 -0500
pushed 2017-02-13 18:24 +0000
Boris Zbarsky Boris Zbarsky - Bug 1328861 - Be a little less trusting about our error codes in ErrorResult. r=smaug, a=abillings
e17ed0283ffd24e64d975b3a4cde505add6e7cb5
created 2016-07-20 15:06 -0700
pushed 2016-09-19 13:38 +0000
Jeff Walden Jeff Walden - Bug 1285649 - Replace an ellipsis function, whose last non-ellipsis argument was subject to integer promotions, with a variadic template function so as not to invoke C++ undefined behavior, because that would be Bad. r=froydnj
1684231d408ca9fc2d136e01f720a899b72d5282
created 2016-07-26 11:12 -0700
pushed 2016-09-19 13:38 +0000
Jeff Walden Jeff Walden - Backed out changeset 1a2627378a0d, didn't tag the reviewer correctly.
1a2627378a0dace519c6e8d6c465f76bc4d8d599
created 2016-07-20 15:06 -0700
pushed 2016-09-19 13:38 +0000
Jeff Walden Jeff Walden - Bug 1285649 - Replace an ellipsis function, whose last non-ellipsis argument was subject to integer promotions, with a variadic template function so as not to invoke C++ undefined behavior, because that would be Bad. NOT REVIEWED YET
5d9f5afda58e2f7b06d1f221d191889666378ef0
created 2016-07-15 22:35 -0400
pushed 2016-09-19 13:38 +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
a3834c6ce6d7fac2787923d7efb1da443fe785eb
created 2016-07-15 22:35 -0400
pushed 2016-09-19 13:38 +0000
Boris Zbarsky Boris Zbarsky - Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly
d2cbe0d4b29aa2981e8a443651e6b966840a84f2
created 2016-07-15 22:35 -0400
pushed 2016-09-19 13:38 +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
469d01eebea4e2055553289ce6542fc093460bbd
created 2016-07-15 22:35 -0400
pushed 2016-09-19 13:38 +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-09-19 13:38 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 03362dd7616d (bug 1224664)
c907a44b0c6c820bd0f83fe43f68134734fa67fd
created 2016-07-16 10:03 +0200
pushed 2016-09-19 13:38 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset dd2d38b7c16b (bug 933378)
8d50699deac13afab27328b99b8ec4ed2a2c5f59
created 2016-07-16 10:03 +0200
pushed 2016-09-19 13:38 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 1c2bd3bdebd6 (bug 933378)
a795d0003a443bf30b7d0b169d0913aee4b46ade
created 2016-07-16 10:03 +0200
pushed 2016-09-19 13:38 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset ed38780a242c (bug 933378)
9852c943ba72527613e3b4245247a50f51f3959a
created 2016-07-16 10:03 +0200
pushed 2016-09-19 13:38 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 7fef388bc6cf (bug 1224664)
7fef388bc6cf208be8015f654bb0415118cda6b3
created 2016-07-15 23:40 -0400
pushed 2016-09-19 13:38 +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-09-19 13:38 +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-09-19 13:38 +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-09-19 13:38 +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-09-19 13:38 +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-08-01 13:59 +0000
Bill McCloskey Bill McCloskey - Bug 1262671 - void** -> PickleIterator (r=froydnj)
74feb4250db0c7d06d5004e5e7948637ca915aee
created 2015-09-29 13:39 -0700
pushed 2016-06-06 19:02 +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-06-06 19:02 +0000
Steve Fink Steve Fink - Backed out changeset 901b1c651c98 (bug 1246804)
901b1c651c982ccbf42604231c723d168e1cde69
created 2015-09-29 13:39 -0700
pushed 2016-06-06 19:02 +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-06-06 19:02 +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-04-25 16:57 +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 2016-01-25 13:55 +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 2016-01-25 13:55 +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 2016-01-25 13:55 +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 2016-01-25 13:55 +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 2016-01-25 13:55 +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 2016-01-25 13:55 +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 2016-01-25 13:55 +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 2016-01-25 13:55 +0000
Ben Kelly Ben Kelly - Bug 1225219 Implement ErrorResult::CloneTo(). r=bz
6d9cf8dd2ed88a09ed3b6861117f64908938dc76
created 2015-11-18 09:52 -0800
pushed 2016-01-25 13:55 +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 2016-01-25 13:55 +0000
Ben Kelly Ben Kelly - Bug 1225219 Implement ErrorResult::CloneTo(). r=bz
7662e3d92a364bf3a3d03dcc55b743e7950545ff
created 2015-11-09 20:47 -0500
pushed 2016-01-25 13:55 +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
940121320e6e7c8ae30560de3933db2f28619e59
created 2015-11-18 11:07 -0800
pushed 2015-12-14 20:08 +0000
Ben Kelly Ben Kelly - Bug 1225219 Implement ErrorResult::CloneTo(). r=bz a=ritu
less more (0) -100 -60 tip