Commit Graph

20 Commits

Author SHA1 Message Date
Boris Zbarsky
20da84c169 Bug 1107953 part 5. Add tests for promise rejections with content-side DOMExceptions, and fix the promise code so those tests actually pass. r=bholley 2015-01-15 17:39:02 -05:00
Ehsan Akhgari
b6e35bb4b4 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Boris Zbarsky
4b3ac033b1 Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley 2014-03-05 08:32:27 -05:00
Chris Peterson
1eddac7a94 Bug 956470 - Fix -Wuninitialized warning in ErrorResult.h. r=bz 2014-01-03 20:21:13 -08:00
Peter Van der Beken
dcf5712030 Bug 905392 - Need way to throw web-console-visible exception-message from JS-implemented webidl object. r=bz. 2013-09-03 14:01:53 +02:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ms2ger
d329ccb29b Bug 907605 - Remove BindingUtils.h include from PrimitiveConversions.h; r=bz 2013-08-22 08:34:48 +02:00
Andrea Marchesini
0fc4510b29 Bug 899546 - ENSURE_SUCCESS macro for ErrorResult, r=bz 2013-07-31 10:12:46 +02:00
Ehsan Akhgari
8b46075683 Bug 889016 - Part 1: Add an API to report a not-enough-arguments error in Web IDL bindings; r=bzbarsky 2013-07-04 09:24:49 -04:00
Andrea Marchesini
66dc1ae9ec Bug 856410 - Implement futures - Part 0: ErrorResult::StealJSException. r=bz 2013-06-11 21:41:21 -04:00
Olli Pettay
6ac80f5895 Bug 866347 - Don't include jsapi.h in ErrorResult.h, r=waldo
--HG--
extra : rebase_source : e2b44338cf71a858b0a40c59a1af4e90620ed3aa
2013-04-30 17:04:52 +03:00
Boris Zbarsky
d5740592e1 Bug 860473 part 3. Root ErrorResult::ThrowJSException. r=evilpie,smaug 2013-04-11 14:31:06 -04:00
Boris Zbarsky
25deb6d78c Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv 2013-02-19 11:54:40 -05:00
Masatoshi Kimura
1224fb0c27 Bug 841802 - Part 1: Add ErrorResult::ClearMessage(). r=bz 2013-02-19 22:30:28 +09:00
Masatoshi Kimura
32a0cfd0f7 Bug 801487 - Implement ErrorResult::ThrowTypeError. r=bz 2012-11-06 18:23:14 -05:00
Boris Zbarsky
8b4fc28fc2 Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv 2012-08-23 21:08:08 -07:00
Boris Zbarsky
dd04ca96d7 Bug 754457. Disallow copy-construction of ErrorResult, so it can only be passed by reference, not by value. r=peterv 2012-05-15 14:23:29 -04:00
Boris Zbarsky
90b5c814e8 Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
ce8665a6aa Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
1833a29c14 Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00