Boris Zbarsky
|
30f7932607
|
Bug 1135810. Add more explicit checks for whether a descriptor wants Xrays or not instead of assuming that Xrays are desired if and only if descriptor.workers is false. r=peterv
|
2015-02-26 09:40:08 -05:00 |
Boris Zbarsky
|
1de627093f
|
Bug 1136292 part 1. Stop passing a parent to BindingJSObjectCreator methods, since it's always the global anyway. r=peterv
|
2015-02-26 09:40:07 -05:00 |
Boris Zbarsky
|
746d0e6061
|
Bug 1133760 part 2. Get rid of unforgeable holders; just store unforgeable properties for DOM proxies directly on the expando object. r=peterv
|
2015-02-26 09:40:07 -05:00 |
Boris Zbarsky
|
92822b6be2
|
Bug 1133760 part 1. The ownPropNames hook can't be called via Xrays, so stop trying to handle that case. r=peterv
|
2015-02-26 09:40:07 -05:00 |
Boris Zbarsky
|
a9831518b7
|
Bug 1134730. DOM proxy finalizers should not assume that the JS object has an actual reference to the DOM object (and in particular that the slot it's stored in is a private slot). r=peterv
|
2015-02-26 09:40:07 -05:00 |
Boris Zbarsky
|
05d3e6df24
|
Bug 1135803. Take out the bits that try to handle interface types mapping to JSObject* in worker descriptors, since we never do that anymore. r=smaug
|
2015-02-24 16:04:22 -05:00 |
Boris Zbarsky
|
0417f5bf22
|
Bug 1135792 . Stop assuming that every binding for a global with a non-worker descriptor is a binding for Window. r=smaug
|
2015-02-24 16:04:22 -05:00 |
Boris Zbarsky
|
b864faa155
|
Bug 1134112 part 2. When doing dictionary init, if we have a non-optional union member just go ahead and uninit it before we try initing it. That way even if it's already been initialized (e.g. because we default-initialized at some point) things will still work correctly. r=peterv
|
2015-02-19 14:36:35 -05:00 |
Boris Zbarsky
|
fc8317f7a4
|
Bug 1134112 part 1. When doing fast-init of a Web IDL dictionary, do fast-init of its dictionary members and its ancestors too. r=peterv
|
2015-02-19 14:36:26 -05:00 |
Boris Zbarsky
|
a12c99976e
|
Bug 1131096. Use IDLExposureMixins for IDLInterfaceMember. r=peterv
|
2015-02-13 14:34:54 -05:00 |
Wes Kocher
|
9d8054d6eb
|
Backed out changeset 6e0973b390f5 (bug 1131096)
|
2015-02-13 13:25:31 -08:00 |
Tom Schuster
|
797b78de4b
|
Bug 1124934 - Add a HasProperty ObjectOp. r=jorendorff
|
2015-02-13 12:20:02 +01:00 |
Boris Zbarsky
|
fd45968faa
|
Bug 1131096. Use IDLExposureMixins for IDLInterfaceMember. r=peterv
|
2015-02-13 14:34:54 -05:00 |
Boris Zbarsky
|
1dcfd471fc
|
Bug 1132252. An interface with an interface object should not inherit from one that's [NoInterfaceObject]. r=smaug
|
2015-02-12 18:39:26 -05:00 |
Tom Schuster
|
43324bd36f
|
Bug 1125437 - Get rid of SetPropertyAttributes and use DefineProperty to follow ES6 specification. r=efaust
|
2015-02-11 23:40:47 +01:00 |
Boris Zbarsky
|
efe41d396b
|
Bug 1127501. Treat external interfaces as only being exposed in Window in Web IDL bindings. r=peterv
|
2015-02-09 11:42:27 -05:00 |
Boris Zbarsky
|
ff62f8c4c5
|
Bug 1130364. Fix the handling of nestingLevel to actuall increment it more than once. r=peterv
|
2015-02-09 11:42:27 -05:00 |
Boris Zbarsky
|
a5d07f87ac
|
Bug 1127341. If we make our codegen for a binding depend on the exposure set of an interface argument to one of the binding's methods, we need to adjust the dependency set of the binding accordingly, so we'll regenerate if the exposure set changes. r=khuey
|
2015-02-09 11:42:26 -05:00 |
Jason Orendorff
|
8f9fef2147
|
Bug 1127121 - Remove property key type splitting in ObjectOps. r=bhackett.
--HG--
extra : rebase_source : dab65791e3efc9fc625365b6aa5dc26d5cad19fb
|
2015-01-28 17:12:44 -06:00 |
Ehsan Akhgari
|
866d758e54
|
Bug 1069719 - Abort the execution of scripts when a prerendered page calls an IDL blacklisted function; r=bzbarsky
|
2015-01-26 11:02:56 -05:00 |
Masatoshi Kimura
|
6cc5dabbee
|
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
|
2015-01-26 07:22:11 +09:00 |
Boris Zbarsky
|
a98237e46b
|
Bug 1123541. Make sure to assign to resultVar in the binding call generator even if resultVar is predeclared, as long as we have a result to assign. r=peterv
|
2015-01-24 22:40:53 -05:00 |
Phil Ringnalda
|
760b4604b1
|
Back out 2 changesets (bug 1125351, bug 1069719) for m-oth bustage
CLOSED TREE
Backed out changeset fb315ec11af4 (bug 1125351)
Backed out changeset 0ab33c2362cf (bug 1069719)
|
2015-01-24 14:52:07 -08:00 |
Ehsan Akhgari
|
e2812f5ac3
|
Bug 1069719 - Abort the execution of scripts when a prerendered page calls an IDL blacklisted function; r=bzbarsky
|
2015-01-24 15:13:28 -05:00 |
Tom Schuster
|
7f95393f87
|
Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff
|
2015-01-24 16:38:08 +01:00 |
Tom Schuster
|
66ad9a2e49
|
Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz
|
2015-01-24 16:38:08 +01:00 |
Tom Schuster
|
269e651092
|
Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz
|
2015-01-22 17:17:26 +01:00 |
Boris Zbarsky
|
d68bc247c4
|
Bug 1121688. Filter out overloads with non-worker-exposed arguments when generating worker bindings. r=peterv
|
2015-01-20 16:44:14 -05:00 |
Boris Zbarsky
|
0221e36996
|
Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv
|
2015-01-15 17:39:01 -05:00 |
Boris Zbarsky
|
cb9b43858f
|
Bug 1118978 part 1. Introduce "Affects" and "DependsOn" state for IDL attributes and operations and desugar [Pure] and [Constant] into that state. r=peterv
This does not change the generated binding code in any way for our existing IDL files.
|
2015-01-15 17:39:01 -05:00 |
Wes Kocher
|
7777c308be
|
Backed out 4 changesets (bug 1118978) for b2g build bustage on a CLOSED TREE
Backed out changeset e0ecb643aa2b (bug 1118978)
Backed out changeset bf31c6661b2c (bug 1118978)
Backed out changeset 5a4839c2fd53 (bug 1118978)
Backed out changeset 40b84c88ed16 (bug 1118978)
|
2015-01-15 15:52:41 -08:00 |
Boris Zbarsky
|
1b79c3c8c8
|
Bug 1107953 part 2. Change codegen to output an aCompartment argument on all callbacks that have an aExceptionHandling argument. r=peterv
|
2015-01-15 17:39:02 -05:00 |
Boris Zbarsky
|
7d49fcea6d
|
Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv
|
2015-01-15 17:39:01 -05:00 |
Boris Zbarsky
|
cad2943fbf
|
Bug 1118978 part 1. Introduce "Affects" and "DependsOn" state for IDL attributes and operations and desugar [Pure] and [Constant] into that state. r=peterv
This does not change the generated binding code in any way for our existing IDL files.
|
2015-01-15 17:39:01 -05:00 |
Ms2ger
|
b83d21c58c
|
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
|
2015-01-14 08:59:06 +01:00 |
Peter Van der Beken
|
dc3a33aa88
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
|
2015-01-08 22:56:42 +01:00 |
Peter Van der Beken
|
6bf82f2628
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, change a python check for a refcounted type to a static_assert. r=bz.
--HG--
extra : rebase_source : 3b9396921576b07ae3e6403ecb562502d75e5f16
|
2014-11-01 15:20:23 +01:00 |
Peter Van der Beken
|
cff93906c9
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make example code spit out a refcounted class always. r=bz.
--HG--
extra : rebase_source : 0b4ec833f40a8593283554b53626a1d8fed97282
|
2014-11-01 15:15:42 +01:00 |
Peter Van der Beken
|
d1986de6f9
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, autodetect the right smart pointer for owned and refcounted objects. r=bz.
--HG--
extra : rebase_source : ef48d9f72bdbc4891206841d5c8f26fd5140ac3d
|
2014-11-01 15:08:00 +01:00 |
Peter Van der Beken
|
5cf1ca0a14
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make WrapNewBindingNonWrapperCachedObject work for owned objects. r=bz.
--HG--
extra : rebase_source : 5c8df69bacf2fbe00dfbb864100144850c75c10a
|
2014-11-01 15:00:47 +01:00 |
Peter Van der Beken
|
4d7c6b1523
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make the WrapObject signature for non-refcounted objects the same as for refcounted objects. r=bz.
* * *
[mq]: owned_fold.patch
--HG--
extra : rebase_source : 1eec318046dae59e740ee5409a97c7cbfd88c9b1
|
2014-11-01 15:00:28 +01:00 |
Peter Van der Beken
|
9d5d3dc23d
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, templatize deferred finalization. r=bz.
--HG--
extra : rebase_source : 2486e80073d49ffc5ed93676382846fe7c87bd64
|
2014-11-01 14:48:19 +01:00 |
Peter Van der Beken
|
2130acfa6b
|
Bug 1096328 - Remove nativeOwnership from Bindings.conf, add template to detect refcounted classes. r=bz.
--HG--
extra : rebase_source : 48ddff175ca379a0fcda1511c822f920246a04bc
|
2014-11-01 14:10:59 +01:00 |
Olli Pettay
|
05d8cc1271
|
Bug 1119652, create mozilla::dom::Event::As*Event automatically for all the codegen'ed Events and annotate As*Event with MOZ_OVERRIDE in the codegen, r=bz
--HG--
extra : rebase_source : 8dc5e2f29d4ae7702e4f41c01e971016c357c85a
|
2015-01-10 13:46:41 +02:00 |
Ehsan Akhgari
|
4354953b4f
|
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
|
bad2ee9b82
|
Bug 1117167. Make the generated implementation classes for JS-implemented bindings store an nsIGlobalObject, not an nsPIDOMWindow, so we can use them in sandboxes. r=peterv
|
2015-01-08 11:57:19 -05:00 |
Jeff Walden
|
79c821101e
|
Bug 603201 - Make HasPropertyOnPrototype fallible. r=peterv
|
2015-01-02 14:02:36 -06:00 |
Boris Zbarsky
|
58dedbbec6
|
Bug 1117131. Output the JS hooks for our cache-clearing stuff for [Pure] properties on JS-implemented objects even if we have no interface object, since these live on instances. r=mccr8
|
2015-01-02 17:08:33 -05:00 |
Tom Schuster
|
8960d9ef9f
|
Bug 1094176 - Remove lookup API from browser. r=bholley
|
2014-12-17 00:28:39 +01:00 |
Jason Orendorff
|
92f1bf16c5
|
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
|
2014-11-22 12:23:39 -06:00 |