Commit Graph

3047 Commits

Author SHA1 Message Date
Boris Zbarsky
99430ec9c0 Bug 1157898 part 4. Add ErrorResult::ErrorCodeIs() and use it in various places to get rid of ErrorCode(). r=peterv 2015-04-27 09:18:52 -04:00
Boris Zbarsky
ece8127b76 Bug 1157754 part 3. Make ClearMessage private on ErrorResult. r=peterv 2015-04-26 22:38:17 -04:00
Boris Zbarsky
399ba482a5 Bug 1157754 part 1. Add a way to "catch" an ErrorResult, and a way to safely convert an ErrorResult to an nsresult. r=peterv 2015-04-26 22:38:17 -04:00
Aryeh Gregor
0263fdcfc2 Bug 1157848 - Fix leak in OwningNonNull constructor from already_AddRefed; r=bz 2015-04-24 14:27:34 +03:00
Nikhil Marathe
b79d343a14 Bug 1131327 - Patch 1 - Introduce ServiceWorkerRegistration{Base,MainThread,WorkerThread} r=baku 2015-04-03 15:18:55 -07:00
Jan de Mooij
bfb27c97d1 Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Carsten "Tomcat" Book
150d4d1475 Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)
2015-04-23 08:37:24 +02:00
Nick Fitzgerald
7017b19d0c Bug 1024774 - Part 7: Add HeapSnapshot WebIDL interface; r=bholley 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
06aaf342e4 Bug 1024774 - Part 1: Add the ChromeUtils WebIDL interface. r=bholley 2015-04-22 11:09:54 -07:00
Andrea Marchesini
eed309c59a Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan 2015-04-22 08:29:18 +02:00
Ehsan Akhgari
d278570d19 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
01d294be4b Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Rahul
1267ab5733 Bug 1152473 - Remove InstallEvent. r=nsm,ehsan 2015-04-20 18:47:13 -07:00
Ehsan Akhgari
74f43d26e8 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Boris Zbarsky
7908fd12c4 Bug 1152902 part 1. Add a way to flag a method in webidl as being identity-testable, so we'll expose such an identity test from bindings to other C++ code. r=peterv 2015-04-17 22:01:02 -04:00
Boris Zbarsky
54db3e707e Bug 1155942. Treat USVString and ByteString as serializable values. r=bkelly 2015-04-20 16:54:46 -04:00
Aryeh Gregor
a5d422d0dc Bug 1153649 part 3 - More OwningNonNull improvements; r=bz 2015-04-19 15:28:50 +03:00
Aryeh Gregor
e6726b3179 Bug 1153649 part 1 - Improve usability of OwningNonNull; r=bz 2015-04-19 15:28:49 +03:00
Phil Ringnalda
afefb44917 Back out 2 changesets (bug 1152902) for Gu bustage
CLOSED TREE

Backed out changeset 462f2f668259 (bug 1152902)
Backed out changeset 1c5ed66652c3 (bug 1152902)
2015-04-18 15:30:17 -07:00
Boris Zbarsky
0c3477aecc Bug 1155793 part 2. Split apart the concepts of movability and eliminatability in jitinfo, since some things are not movable but are eliminatable. r=efaust. 2015-04-17 22:01:02 -04:00
Boris Zbarsky
5a219cc77a Bug 1155793 part 1. Make it possible to safely change the number of bits in the slotIndex field in jitinfo. r=efaust 2015-04-17 22:01:02 -04:00
Boris Zbarsky
9708bf2310 Bug 1152902 part 1. Add a way to flag a method in webidl as being identity-testable, so we'll expose such an identity test from bindings to other C++ code. r=peterv 2015-04-17 22:01:02 -04:00
Jim Blandy
a52b425862 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
Boris Zbarsky
e23b0186b2 Bug 1129239. Don't require 'optional' keyword on trailing dictionary arguments if the dictionary has a required member. r=smaug 2015-04-17 12:13:25 -04:00
Ben Kelly
20c070b338 Bug 1110485 P0 Add an ErrorResult constructor that takes nsresult. r=bz 2015-04-16 12:00:15 -07:00
Daniel Holbert
2161e09d2c Bug 1148506: Remove unused variable 'bool result' from code generated by getDeleterBody(), in Codegen.py. r=jorendorff 2015-04-16 11:00:28 -07:00
Jim Blandy
c49a3b9f79 Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium 2015-03-19 00:46:40 -07:00
Ehsan Akhgari
aed12567f8 Bug 1154831 - Remove the gcc-4.6-warning-silencing code in ErrorResult::ErrorResult; r=bzbarsky 2015-04-16 07:29:31 -04:00
Martin Thomson
91567c5feb Bug 1153294 - Exposing Document.documentLoadGroup to Chrome JS, r=sicking 2015-04-15 14:19:21 -07:00
Ehsan Akhgari
3344e3c192 Bug 1149987 - Part 8: Do not store or match Response objects with a Vary:* header; r=bkelly 2015-04-15 15:55:51 -04:00
Ehsan Akhgari
d9154ef126 Bug 1149987 - Part 4: Do not attempt to delete ErrorResult::mMessage when deserializing the object from IPDL; r=bzbarsky
In opt builds, we do not initialize mMessage, so the null check is going
to be ineffective to test whether mMessage has a value that we should
delete.  But in IPDL, the ParamTraits Read method is only called with
freshly allocated objects, so we don't need to free anything here.
In order to be safe and ensure that we don't leak this memory, this
patch adds a number of assertions to check whether mMessage is
indeed only initialized where we expect it to.
2015-04-15 15:55:01 -04:00
Brian Birtles
cae37c8fed Bug 1153734 part 5 - Add AnimationEffectReadonly as a superinterface of KeyframeEffectReadonly; r=smaug
This patch also replaces some tabs with spaces in KeyframeEffect.h because I was
in the area.
2015-04-15 08:48:21 +09:00
Paul Adenot
d8c0b4d55d Bug 1148496 - Allow to set an interface member as [Deprecated] in WebIDL. r=bz,smaug 2015-04-14 17:03:49 +02:00
Boris Zbarsky
5c0ebc7a8f Bug 1153516. Stop using loose is() comparisons in test_dom_xrays.html. r=bholley 2015-04-13 19:36:44 -04:00
Brian Birtles
28a48770ea Bug 1152171 part 2 - Rename AnimationTimeline to DocumentTimeline; r=smaug
And then re-add AnimationTimeline as an abstract super-interface of
DocumentTimeline.
2015-04-10 10:34:22 +09:00
Doug Turner
1cb1b34095 Bug 1038811 - Push Notifications - WebIDL changes. r=nsm. sr=jst 2015-04-10 20:19:28 -07:00
Ryan VanderMeulen
e7c9ec097f Merge m-c to b2g-inbound. a=merge 2015-04-09 12:08:54 -04:00
Thomas Zimmermann
559b775004 Bug 1146355: Prepare build system to support Bluetooth APIs v1 and v2, r=shuang
This patch adds support for both Bluetooth interfaces to the build
system. The actual interface must be selected at compile time.
2015-04-09 15:57:40 +02:00
Thomas Zimmermann
508a9da29d Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu 2015-04-09 15:57:40 +02:00
Ehsan Akhgari
293095378e Bug 1149987 - Part 3: Give ErrorResult a move constructor and a move assignment operator; r=bzbarsky 2015-04-08 22:44:50 -04:00
Ehsan Akhgari
1d5748e27e Bug 1149987 - Part 2: Make ErrorResult unassignable; r=bzbarsky
This object is not copyable, so it should probably not be
assignable either, especially since the compiler generated
copy constructor can potentially cause UAF issues on the
mMessage member, for example.
2015-04-08 22:44:47 -04:00
Ehsan Akhgari
5303aae53b Bug 1149987 - Part 1: Make it possible to send an ErrorResult that doesn't encode a JS exception through the IPDL layer; r=bzbarsky 2015-04-08 22:44:44 -04:00
Ehsan Akhgari
2049093026 Bug 1151884 - Enable the uint32_t overload of ToJSValue; r=smaug 2015-04-08 21:58:07 -04:00
Ryan VanderMeulen
a148661e18 Backed out 5 changesets (bug 1149987) for mochitest crashes.
Backed out changeset b62e371d6189 (bug 1149987)
Backed out changeset daa762fca8e6 (bug 1149987)
Backed out changeset bdb64d5befa5 (bug 1149987)
Backed out changeset 693901a4bcde (bug 1149987)
Backed out changeset e7c41c8653c4 (bug 1149987)

CLOSED TREE
2015-04-08 11:49:49 -04:00
Ehsan Akhgari
915fd31fbc Bug 1149987 - Part 5: Do not store or match Response objects with a Vary:* header; r=bkelly 2015-04-08 10:27:40 -04:00
Ehsan Akhgari
1e2d6ce351 Bug 1149987 - Part 3: Give ErrorResult a move constructor and a move assignment operator; r=bzbarsky 2015-04-08 10:27:37 -04:00
Ehsan Akhgari
38c90e2d03 Bug 1149987 - Part 2: Make ErrorResult unassignable; r=bzbarsky
This object is not copyable, so it should probably not be
assignable either, especially since the compiler generated
copy constructor can potentially cause UAF issues on the
mMessage member, for example.
2015-04-08 10:27:36 -04:00
Ehsan Akhgari
de0743a17a Bug 1149987 - Part 1: Make it possible to send an ErrorResult that doesn't encode a JS exception through the IPDL layer; r=bzbarsky 2015-04-08 10:27:35 -04:00
Nikhil Marathe
0bb77ad8b0 Bug 1109751 - Consume FormData support in Fetch API. r=baku 2015-04-03 22:55:15 -07:00
Wes Kocher
d642860643 Backed out 2 changesets (bug 1109751) for asan mochitest-3 failures
Backed out changeset 269ce19afa43 (bug 1109751)
Backed out changeset add6d1bd2e52 (bug 1109751)
2015-04-03 12:22:47 -07:00