dom/bindings/ErrorResult.h
d6ac1345dbc6c41a87ec95ba9dd769e27d5bcc8e
created 2021-03-10 08:19 +0000
pushed 2021-03-10 21:58 +0000
Chris Peterson Chris Peterson - Bug 1691889 - Replace MOZ_MUST_USE with [[nodiscard]] in dom/. r=peterv
93fabad45659d172b723c9606215d3acaab54df1
created 2020-11-23 16:21 +0000
pushed 2020-11-24 09:22 +0000
Simon Giesecke Simon Giesecke - Bug 1660470 - Add missing include directives/forward declarations. r=nika
c209abd2eac7c0f6dd386dca90163a08d24d193f
created 2020-07-04 09:38 +0000
pushed 2020-07-04 21:34 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1519636 - Reformat recent changes to the Google coding style r=andi
07005a4accac25ff2b9aa2fb6767f4b5482442e6
created 2020-04-30 10:25 +0000
pushed 2020-05-05 21:38 +0000
Peter Van der Beken Peter Van der Beken - Bug 1629390 - Don't crash when throwing exception with invalid UTF-8. r=smaug
29ad47d407184bcb2be89cd627504eca9c3609d4
created 2020-03-06 21:08 +0000
pushed 2020-03-07 09:32 +0000
Boris Zbarsky Boris Zbarsky - Bug 1619112 part 6. Remove duplicated string array appender bits. r=smaug
6c096ce0e3e6dffe4761eca660542f6d7dce14f8
created 2020-03-06 21:08 +0000
pushed 2020-03-07 09:32 +0000
Boris Zbarsky Boris Zbarsky - Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug
5006a4d63a02786249c639730722b5e46ddfa6b0
created 2020-03-06 21:04 +0000
pushed 2020-03-07 09:32 +0000
Boris Zbarsky Boris Zbarsky - Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug
d0caab4d75adaed137b22003a66f001df27ad562
created 2020-03-06 20:54 +0000
pushed 2020-03-07 09:32 +0000
Boris Zbarsky Boris Zbarsky - Bug 1619112 part 1. Change the internal storage for ErrorResult errors-with-messages to UTF8 strings. r=smaug
30cbe52bf3701bc5bab675387a29ac412907fd98
created 2020-03-04 16:52 +0000
pushed 2020-03-05 04:16 +0000
Boris Zbarsky Boris Zbarsky - Bug 1617974. Simplify OOMReporter setup. r=peterv
7407151a786c30fc707fcb21dec641123bc0577a
created 2020-03-03 15:47 +0000
pushed 2020-03-04 03:43 +0000
Boris Zbarsky Boris Zbarsky - Bug 1617972. Add a table that stores the exception type of DOM errors. r=peterv
b64f17a5e742a3ca692d0cabd15ccb9a77d90996
created 2020-02-20 15:47 +0000
pushed 2020-02-20 22:49 +0000
Simon Giesecke Simon Giesecke - Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/bindings. r=smaug
5d563581134e09cdeed0e114a3a878fa4fa5190d
created 2020-02-14 10:19 +0000
pushed 2020-02-15 09:56 +0000
Boris Zbarsky Boris Zbarsky - Bug 1615022 part 3. Disallow conversion of CopyableErrorResult to ErrorResult&. r=farre
8592b157cb28f715bf0908021f2186b5eba8c1d7
created 2020-02-14 08:37 +0000
pushed 2020-02-15 09:56 +0000
Boris Zbarsky Boris Zbarsky - Bug 1615022 part 1. Allow move-constructing ErrorResult from CopyableErrorResult. r=farre
3244330ee9d604a35a7b844641e879800d77ab62
created 2020-02-10 13:08 +0000
pushed 2020-02-10 21:33 +0000
Boris Zbarsky Boris Zbarsky - Bug 1613978. Allow passing u"...", not just nsAStrings, to templated ThrowType/RangeError. r=peterv
8ac8dc6e0638063e97fc5ccb9b14ab0522fbb8f4
created 2020-02-06 21:22 +0000
pushed 2020-02-07 03:55 +0000
Boris Zbarsky Boris Zbarsky - Bug 1613013 part 3. Annotate TypeErrors and RangeErrors from WebIDL implementations with the method they come from. r=peterv
d396725817cdda2418b4fa43f487f334653067e7
created 2020-02-06 20:40 +0000
pushed 2020-02-07 03:55 +0000
Boris Zbarsky Boris Zbarsky - Bug 1613013 part 2. Change ThrowErrorMessage to be templated on the error number. r=peterv
c9ac45b91718d501e59fe09f7963ba9413e65512
created 2020-02-06 21:16 +0000
pushed 2020-02-07 03:55 +0000
Boris Zbarsky Boris Zbarsky - Bug 1613013 part 1. Annotate DOMExceptions from WebIDL implementations with the method they come from. r=peterv
77847cfc676bf46e246c7fbff5aa12c95af12986
created 2020-02-03 20:37 +0000
pushed 2020-02-04 04:04 +0000
Boris Zbarsky Boris Zbarsky - Bug 1612213 part 3. Switch Promise::RejectWithDOMException consumers to new convenience methods. r=smaug,jgilbert
a3d6d20d73259b548c84e7adb1b168a7053f2155
created 2020-01-30 08:57 +0000
pushed 2020-02-04 04:04 +0000
Boris Zbarsky Boris Zbarsky - Bug 1612213 part 2. Move the DOMException definitions from ErrorResult.h into a separate file. r=smaug
0a3bf632a719c224b8cb03063bc763c53143da10
created 2020-01-30 09:01 +0000
pushed 2020-02-04 04:04 +0000
Boris Zbarsky Boris Zbarsky - Bug 1412856 part 1. Change ClientOpPromise to use a CopyableErrorResult for its rejection type. r=dom-workers-and-storage-reviewers,sg?
70615b052db52c0a7c4e9ff54aecb1b73d440f5f
created 2020-01-29 09:09 +0000
pushed 2020-01-29 15:51 +0000
Boris Zbarsky Boris Zbarsky - Bug 1612007. Add convenience methods for throwing various spec-defined DOMExceptions on ErrorResult. r=smaug
81ae47660566a29c5395432886e4fd9a403eac97
created 2020-01-20 16:19 +0000
pushed 2020-01-21 00:17 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj
2aa57942649806333b9273bf13fb40f1dbfdb3da
created 2020-01-20 16:18 +0000
pushed 2020-01-21 00:17 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1609996 - Remove mozilla/Move.h. r=froydnj
55c9bc5fb1fe59bb21afcde021cbb3553d17fd9e
created 2019-11-14 22:51 +0000
pushed 2019-11-15 09:53 +0000
Boris Zbarsky Boris Zbarsky - Bug 1594304. Add deprecation notes to methods that allow throwing a bare nsresult with no useful message. r=smaug
1d9d4f2b0813d822df78df21278d1456ab1b49f2
created 2019-09-20 02:17 +0000
pushed 2019-09-23 21:56 +0000
Boris Zbarsky Boris Zbarsky - Bug 1581276. Require a message arg to ThrowDOMException. r=smaug
395ae88909c6e61b9abb677dcfbf84fe087cc9e0
created 2019-09-20 02:19 +0000
pushed 2019-09-23 21:56 +0000
Boris Zbarsky Boris Zbarsky - Bug 1581315 part 3. Add MOZ_MUST_RETURN_FROM_CALLER_IF_THIS_IS_ARG to more ErrorResult methods. r=smaug
4968ed697e0ae799dfc220919137d575e4fc698b
created 2019-09-20 02:17 +0000
pushed 2019-09-23 21:56 +0000
Boris Zbarsky Boris Zbarsky - Bug 1581315 part 1. Adjust MOZ_MUST_RETURN_FROM_CALLER to only apply to method calls on arguments. r=nika
9d5377b224b3ea3f1c682f8e81ec99cda6e60b0f
created 2019-09-20 02:19 +0000
pushed 2019-09-23 21:56 +0000
Boris Zbarsky Boris Zbarsky - Bug 1581173 part 1. Add a way to more easily throw TypeErrors and RangeErrors with custom message strings via ErrorResult. r=smaug
5f4630838d46dd81dadb13220a4af0da9e23a619
created 2019-01-18 10:16 +0100
pushed 2019-01-19 09:59 +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-11-30 11:01 +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-07-14 09:41 +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-07-12 21:52 +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-06-27 22:08 +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-15 09:49 +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-02 23:03 +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-01 22:02 +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-27 10:05 +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 06:05 +0000
Jeff Walden Jeff Walden - Bug 1451248. r=jorendorff, r=bz
8a94faa5cc60495da5d80d4b3c07bf5877d2e6d8
created 2018-04-13 16:01 +0300
pushed 2018-04-13 13:02 +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-11 23:46 +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-03-27 09:16 +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 04:27 +0000
Kannan Vijayan Kannan Vijayan - Bug 1411415 - r=bz r=fitzgen
38fdcb96bb9258fdd963a063273e36ab9da6e1fc
created 2018-02-02 13:21 -0800
pushed 2018-02-03 09:53 +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-02-01 21:54 +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 2017-12-08 09:57 +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-10-25 09:29 +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-04-12 17:51 +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-03-08 16:00 +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-02-15 11:25 +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-02-15 11:25 +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
150d0b07434b2da24e104407d79ef9427e1051c0
created 2017-02-10 23:06 -0500
pushed 2017-02-12 01:42 +0000
Boris Zbarsky Boris Zbarsky - Bug 1328861. Be a little less trusting about our error codes in ErrorResult. r=smaug
ec1b482c8b7efdfaddab0378cef686b68edd85ca
created 2017-01-17 23:52 -0500
pushed 2017-01-18 14:24 +0000
Boris Zbarsky Boris Zbarsky - Bug 1330536 part 3. Add a subclass of FastErrorResult that can be used only to throw OOM. r=smaug
e17ed0283ffd24e64d975b3a4cde505add6e7cb5
created 2016-07-20 15:06 -0700
pushed 2016-07-27 14:35 +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-07-27 14:35 +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-07-27 14:35 +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-07-17 08:08 +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-07-17 08:08 +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-07-17 08:08 +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-07-17 08:08 +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-17 08:08 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 03362dd7616d (bug 1224664)
less more (0) -100 -60 tip