Jason Orendorff
d35e6d1e8d
Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
...
Also renamed in this patch:
ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys
These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.
--HG--
extra : rebase_source : 35fb0fa3c8f3d7bc952409ea8c584e58f3c1d78f
2014-09-26 15:16:36 -05:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Peter Van der Beken
ebc693bfd7
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Xrays walk the prototype chain when resolving DOM properties. r=bholley.
...
* * *
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, remove obsolete code. r=bholley.
--HG--
extra : rebase_source : 7a9aa81d3e9d74ed958374942020474147aa4f86
2014-09-15 16:51:40 +02:00
Peter Van der Beken
16b3a0fe7d
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add a named properties object type to DOMObjectType and how to get the parent prototype object in DOMIfaceAndProtoJSClass. r=bz, r=bholley.
...
--HG--
extra : rebase_source : fdd72f5027b365554ab0b986de685204c8030c58
2014-09-09 15:19:10 +02:00
Peter Van der Beken
f0b7d81451
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, cache named properties objects. r=bz.
...
--HG--
extra : rebase_source : ed4b2cc3c095690b8d91bee3202e8316e4531f60
2014-09-15 16:51:33 +02:00
Peter Van der Beken
94ec1727fe
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, create the named properties object from the binding code. r=bz.
...
--HG--
extra : rebase_source : 9147c989b0f6b5791d3e98041029e730036c3892
2014-09-05 22:36:36 +02:00
Peter Van der Beken
19d31419ff
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, calculate parent prototype names in one place. r=bz.
...
--HG--
extra : rebase_source : c3ffbba076fed4ef2157ca8bb430a0d9cbaedd61
2014-09-09 15:19:09 +02:00
Peter Van der Beken
cbd064cb38
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make CreateInterfaceObjects take a js::Class instead of a JSClass. r=bz.
...
--HG--
extra : rebase_source : 8b37d59b5f43215c5acef9f8219e631024ece207
2014-08-05 12:46:42 +02:00
Bobby Holley
db168e5cde
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Boris Zbarsky
cc0da71edc
Bug 1030192 part 2. Codegen changes to handle cases when a sequence is actually overloaded with a dictionary. r=khuey
2014-09-24 09:11:30 -04:00
Boris Zbarsky
5be64e2067
Bug 1070764. Don't try to use the uninitialized temp value while default-constructing a dictionary with a required member. r=khuey
2014-09-24 09:11:30 -04:00
Boris Zbarsky
9b823d6509
Bug 958887 part 3. Fix codegen support for IDL attribute names and methods with dashes in them. r=peterv
2014-09-19 22:58:27 -04:00
Jon Coppeard
64b91b1c09
Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
...
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Eric Faust
385660b12e
Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv)
2014-09-10 15:52:36 -07:00
Peter Van der Beken
bb194022b9
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use overloaded functions and auto to select the right type to store return values. r=bz.
...
--HG--
extra : rebase_source : 50f86f20966fee33cfa039abc227ee2560640fd4
2014-08-28 00:43:56 +02:00
Peter Van der Beken
17de93a57d
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, statically assert that we keep a strong reference to return values of NewObject methods. r=bz.
...
--HG--
extra : rebase_source : b0d62c7a8ecf73de3e24a9ab31ec2cae64174c24
2014-08-28 00:43:56 +02:00
Peter Van der Beken
41421a4284
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use templatized class to hold strong or weak pointer depending on the return type. r=bz.
...
--HG--
extra : rebase_source : 243e9ea15e2f4c213aa8a17a97fbaf53520804ac
2014-08-28 00:43:56 +02:00
Ehsan Akhgari
28f0bef008
Bug 1065025 - Make the generated WebIDL ToJSON method const; r=baku
2014-09-09 14:00:22 -04:00
Chris Peterson
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Boris Zbarsky
935648f51a
Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey
2014-09-08 11:28:57 -04:00
Boris Zbarsky
3e0cc1e8d6
Back out bug 1063889 (rev 2f5df573f4a3) because windowsx.h defines GetFirstChild/GetNextSibling macros, so will make the world blow up if you include it anywhere near nsIDOMNode/nsINode. r=bustage
2014-09-08 12:25:17 -04:00
Boris Zbarsky
5f46861110
Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey
2014-09-08 11:28:57 -04:00
Boris Zbarsky
1f4c6b7396
Bug 1017424 part 8. Remove the annotation of Window as having XPConnect impls in codegen. r=peterv
2014-09-05 14:28:45 -04:00
Boris Zbarsky
d14c26daf5
Bug 1057541 part 3. Change codegen to support required dictionary members. r=khuey
2014-09-05 14:28:43 -04:00
Boris Zbarsky
16db1fc4c0
Bug 1057541 part 2. Add a way to ask an IDLArgument whether it guarantees that it will always have a value. r=khuey
2014-09-05 14:28:43 -04:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Boris Zbarsky
3dc5b32864
Bug 908390 part 1. Make [Exposed] work correctly on jsonifiers and stringifiers and don't create an unforgeable toJSON just because we have a jsonifier. r=khuey
2014-08-29 19:50:05 -04:00
Nikhil Marathe
36bed62589
Bug 1048699 - Patch 2 - Indentation and proper include. r=bz
...
--HG--
extra : transplant_source : %A3%EC%04%97%A4%FC%17%2B%816k%CF%03%BF%8A%7F%A4%19%87%C7
2014-08-28 13:33:39 -07:00
Eric Faust
db3773210b
Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj)
2014-08-28 13:47:16 -07:00
Nikhil Marathe
362c5a201f
Bug 1048699 - Make Exposed=SpecificWorkerType work automatically. r=bz
...
--HG--
extra : rebase_source : 651bd062b015e2aa030b87a842bc7d63dccf349c
2014-08-27 10:17:36 -07:00
Boris Zbarsky
be14202b3d
Bug 929609 part 2. Fix passing of typed arrays to JS-implemented WebIDL to actually work. r=peterv
2014-08-25 15:07:45 -04:00
Boris Zbarsky
30b87a2b87
Bug 929609 part 1. Rename "jsObjectsArePtr" to "typedArraysAreStructs" (and invert its meaning, of course), since that's what it's really used for nowadays. r=peterv
2013-09-30 10:30:06 -04:00
Andrew McCreight
8fd17e2a57
Bug 963382 - Fix misaddressed review comment.
2014-08-21 14:31:44 -07:00
Andrew McCreight
d306a5da23
Bug 1053920 - Define and use JSNativeArguments in Codegen.py. r=bz
2014-08-21 14:31:44 -07:00
Andrew McCreight
91d1b64fd1
Bug 963382, part 2 - Add chrome JS function for clearing cache. r=bz
2014-08-21 13:56:11 -07:00
Andrew McCreight
0c96173882
Bug 963382, part 1 - Split out MethodDefiner's JS implemented case into its own thing. r=bz
2014-08-21 13:56:11 -07:00
Roshan Vidyashankar
2d98c38825
Bug 1038993 - Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv
2014-08-20 16:32:19 -07:00
Ms2ger
51b6bdd7a2
Bug 1056138 - Move checks for the PutForwards and Replaceable extended attributes into the WebIDL parser; r=bz
...
In fact, the WebIDL parser already checks for PutForwards, so the check in the
codegen was superfluous.
2014-08-20 17:31:39 +02:00
Bobby Holley
9b4a386a14
Bug 1036214 - Do a subsumes check on object and any parameters (and things containing them) to JS-implemented WebIDL. r=bz
2014-08-19 18:12:15 -07:00
Andrew McCreight
e2153edd1d
Bug 1048659 - Return the union we construct in a JS callback. r=peterv
2014-08-19 08:41:26 -07:00
Bobby Holley
a87c8777d9
Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm
2014-08-18 10:57:30 -07:00
Bobby Holley
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Seth Fowler
0fd6e994ae
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Jon Coppeard
511f6ef1c5
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Jason Orendorff
56724afcf7
Bug 1041261, part 5 - In DOM bindings implemented as proxies, don't call a named getter/setter/deleter if the id is a symbol. r=peterv.
...
--HG--
extra : rebase_source : 0ec7dad0ed1364d07cf2a8731f7980ab4c89cf7f
2014-08-04 14:20:57 -05:00
Jason Orendorff
244b95dfbf
Bug 1041261, part 4 - Use foundVar and resultVar to move a few declarations in DOM binding code. r=peterv.
...
Now the "bool found;" and "bool result;" declarations are added in the outermost scope where they're going to be used, rather than the scope of the method call that sets them. Until now, those have always been the same scope; part 5 will put an if-block around certain method calls, making these two different scopes.
--HG--
extra : rebase_source : df60ef4c2ef400caaeb16a4950c86f5ba4c31319
2014-08-05 09:10:29 -05:00
Jason Orendorff
84968c47b4
Bug 1041262, part 3 - Codegen scoping changes. r=peterv.
...
This changes CGProxyNamedPresenceChecker to permit declaring the `found` and/or `result` variables in an outer scope. The default is still to declare them in the innermost scope containing the method call.
--HG--
extra : rebase_source : 7060a9b6f829be0c2b86e701b09d7438798fb87c
2014-08-05 11:53:37 -05:00
Valentin Gosu
63ecb5dd80
Bug 1051109 - Define non-static method to jsonify interface attributes r=smaug
2014-08-11 01:17:50 +03:00
Valentin Gosu
36c8ad1406
Bug 1047848 - Part 1 - Change Codegen.py to jsonify parent interface attributes as well r=smaug
2014-08-08 12:09:35 +03:00
Boris Zbarsky
3545a68bc5
Bug 1048437. Allow dictionary members with '-' in the name. r=khuey
2014-08-04 15:02:58 -04:00
Peter Van der Beken
156b657ef5
Bug 1039187 - [Bluetooth] Bluetooth2 build fail. r=bz.
...
--HG--
extra : rebase_source : d3ce4805bcdfe5e12b230efee479ea8002d95e5f
2014-07-18 00:17:17 +02:00
Boris Zbarsky
8c3da312f1
Bug 1017988 part 11. Codegen the definition of interface objects on worker globals. r=khuey
2014-08-04 22:20:35 -04:00
Boris Zbarsky
26b26e1121
Bug 1017988 part 9. Don't codegen window-only things on worker descriptors. r=khuey
2014-08-04 22:20:34 -04:00
Boris Zbarsky
d1f4dba8b5
Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey
2014-08-04 22:20:34 -04:00
Boris Zbarsky
b1c1e22da4
Bug 1043690 part 2. Change the codegen for DOM proxies to ignore named props when looking up property descriptors on [[Set]]. r=efaust
2014-08-01 23:37:14 -04:00
Ben Kelly
8d0e50e7d2
Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-08-01 16:23:48 -04:00
Ben Kelly
93f746a2f6
Revert bug 1025183 (revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me
2014-08-01 14:10:40 -04:00
Ben Kelly
e072a1a235
Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-08-01 13:56:59 -04:00
Szu-Yu Chen [:aknow]
7b5c656ac3
Bug 1035654 - Part 3: Generate cycle collection traverse/unlink for unions. r=bzbarsky
2014-08-01 03:20:00 -04:00
Ed Morley
9e28eb3441
Backed out changeset 01c51cb8d8bd (bug 1025183)
2014-08-01 10:27:32 +01:00
Boris Zbarsky
3688e8eb15
Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley
2014-07-31 23:50:19 -04:00
Ben Kelly
9384922566
Bug 1025183 P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-07-31 19:40:12 -04:00
Terrence Cole
6f307c02a3
Bug 1024250; r=bz
2014-07-17 14:18:04 -07:00
Boris Zbarsky
eafe8cdc8f
Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff
2014-07-23 01:06:33 -04:00
Reuben Morais
90781169de
Bug 1009645 - Implement [FeatureDetectible] extended attribute and hook it up to navigator.getFeature. r=bz
2014-07-14 20:08:45 -03:00
Boris Zbarsky
7a6b7bfb5f
Bug 832014 part 6. Make it possible to specify that only a particular interface that implements a given consequential interface gets cross-origin-settable behavior for a particular property. r=bholley
2014-07-11 19:32:14 -04:00
Boris Zbarsky
e620338f1a
Bug 832014 part 2. Add codegen support for [Unforgeable] interfaces. r=peterv
2014-07-11 19:30:27 -04:00
Benoit Jacob
9f1b7a6188
Bug 1035394 - Fix dangerous public destructors in dom/events - r=smaug
2014-07-08 17:23:17 -04:00
Ms2ger
3b4a60ee80
Bug 1034204 - Implement unforgeable methods; r=bz
2014-07-04 15:02:10 +02:00
Jan de Mooij
574cf83f68
Bug 1032726 part 6 - Some followup changes. r=bz
2014-07-03 13:05:03 +02:00
Jan de Mooij
7aac8950d1
Bug 1032726 part 5 - Make new DOM bindings work with Latin1 strings. r=bz
2014-07-03 10:03:56 +02:00
Boris Zbarsky
a5a20896ce
Bug 1033100. Fix event codegen to compile when an event has a sequence-of-non-null-interface-type member. r=smaug
2014-07-02 15:16:43 -04:00
Jan de Mooij
2df19d3cf9
Bug 1032726 part 2 - Make GetArrayIndexFromId work with Latin1 strings. r=bz,terrence
...
--HG--
extra : rebase_source : b6f8fe3df3946dfe05f5467c22c4fb157b6dcbf2
2014-07-02 15:45:02 +02:00
Peter Van der Beken
e6a15c150f
Bug 1032748 - Make ConvertJSValueToString work on ns*String. r=bz.
2014-01-23 10:18:35 +01:00
Steve Fink
3cdc378cd8
Bug 1022773 - Return value rooting for dom/, r=bz
...
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Kyle Huey
d16856bfd5
Bug 1031051: Part 1 - Allow codegenerating an InitFooEvent method for legacy event types. r=smaug,bz
2014-06-30 16:00:31 -07:00
Bill McCloskey
579bf598b5
Bug 1030343 - Fix compile error in UnionTypes.cpp in old gcc (r=bz)
2014-06-30 14:36:45 -07:00
Eric Faust
04ec29520a
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC)
2014-06-27 04:44:04 -07:00
Carsten "Tomcat" Book
cbe01cdaa8
Backed out changeset 346912776f97 (bug 1027402)
2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
76beb8d59f
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Eric Faust
62d61ccf3f
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
6091687271
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley)
2014-06-27 04:44:04 -07:00
Ben Kelly
69fff9e05a
Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz
2014-06-25 10:25:09 -07:00
Boris Zbarsky
e62870aedd
Bug 1027667. Allow MozMap in unions. r=peterv
2014-06-23 16:03:58 -04:00
Boris Zbarsky
99a6b76589
Bug 1023762 part 2. Add basic support for sequences of non-containers to event codegen. r=smaug
2014-06-23 16:03:58 -04:00
Boris Zbarsky
0c98e10404
Bug 1023762 part 1. Factor out the IDL-to-C++ type mapping for event codegen into a separate function. r=smaug
2014-06-23 16:03:58 -04:00
Boris Zbarsky
ddcf724011
Bug 767924 part 4. Allow [] as a default value for sequences in unions. r=peterv
2014-06-23 16:03:58 -04:00
Boris Zbarsky
764c9e0b63
Bug 767924 part 3. Allow sequences in unions. r=peterv
2014-06-23 16:03:57 -04:00
Boris Zbarsky
a06ee077f0
Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv
2014-06-23 16:03:57 -04:00
Boris Zbarsky
432701a26d
Bug 767924 part 1. Add support for holders with nonempty holderArgs in unions. r=peterv
2014-06-23 16:03:57 -04:00
Boris Zbarsky
f8dc563a90
Bug 1026080 part 2. Add binding codegen support for [] as a default value for sequence arguments and dictionary entries. r=khuey
2014-06-23 16:03:57 -04:00
Benoit Jacob
7c35ffa41a
Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz
2014-06-23 14:49:08 -04:00
Ms2ger
14960387c2
Bug 1026739 - Remove unused INTERFACE_CHAIN macro; r=bz
2014-06-20 12:32:50 +02:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Ben Kelly
1b50c24441
Bug 1027256 P1 Fix SetStringData() to exclude ByteString and otherwise use real type name. r=bz
2014-06-18 20:22:09 -04:00
Eric Faust
f9d65507e2
Bug 1011660 - Remove separate DOMClass struct. (r=bz)
2014-06-18 13:19:19 -07:00
Ben Kelly
85647df24b
Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz
2014-06-16 12:52:00 -04:00
Olli Pettay
03c368b8fc
Bug 1023698 - Missing JSContext* parameter in inherited generated event constructor, r=bz
...
--HG--
extra : rebase_source : 458a5daf28ed3bac57639f6be13b5a1ebd49d91e
2014-06-11 23:25:25 +03:00
Boris Zbarsky
dfe8c38082
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
b058cec1b6
Bug 1009675 part 1. Change the return value of getRetvalDeclarationForType to allow more than two states for the outparam bit. r=peterv
2014-06-11 16:26:51 -04:00
Olli Pettay
0040a9cd76
Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz
2014-06-11 22:38:55 +03:00
Nikhil Marathe
b9757dfad4
Bug 1023520 - Add support for Promise returning methods on globals. r=bz
2014-06-11 09:05:22 -07:00
Ehsan Akhgari
02cf081e67
Bug 1021670 - Enable using non-wrapper-cached objects in unions; r=bzbarsky
...
--HG--
extra : rebase_source : 43353aa015a793d2eb6bed507213ceda2065d99e
2014-06-07 11:50:21 -04:00
Nathan Froyd
3f0cc7c037
Bug 1019160 - part 4 - use jsids to access JS-implemented interface properties; r=bz
2014-06-05 14:47:13 -04:00
Nathan Froyd
b648ec9bd4
Bug 1019160 - part 3 - create atom caches for JS-implemented interfaces; r=bz
2014-06-02 17:23:39 -04:00
Boris Zbarsky
b033195622
Bug 1019160 - part 2 - separate out some Fake* class changes; r=froydnj,because-it-works
2014-06-05 14:06:58 -04:00
Nathan Froyd
6a13086e8b
Bug 1019160 - part 1 - factor out initIdsClassMethod from CGDictionary; r=bz
2014-06-02 17:14:03 -04:00
Jason Orendorff
40c6377023
Bug 998115 - Make the output of Codegen.py less #BOGUS. r=peterv.
2014-06-06 11:15:22 -04:00
Jason Orendorff
3362b05761
Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett.
2014-06-05 13:19:23 -04:00
Ms2ger
3a1bef3474
Bug 1018306 - Call interface.hasInterfaceObject rather than checking the truthiness of the method; r=bz
2014-06-06 10:06:27 +02:00
Nathan Froyd
8463d09509
Bug 1019705 - replace binaryNames accesses with binaryNameFor; r=bz
2014-06-03 12:20:16 -04:00
Boris Zbarsky
2caaa63189
Bug 1017428 part 1. Store information in jitinfo about [Cached] attribute slots in addition to [StoreInSlot] ones. r=peterv,efaust
2014-06-03 11:38:36 -04:00
Peter Van der Beken
0e8aec0dab
Bug 1016960 - make |instanceof WebIDLInterface| work with outer windows. r=bz.
...
--HG--
extra : rebase_source : d62525ea541af2cf832884fb8ea5398595887679
2014-05-28 22:45:37 +02:00
Reuben Morais
978af66e3d
Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz
2014-05-25 15:31:07 -03:00
Fabrice Desré
2deb233e1d
Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz
2014-05-26 12:11:52 -07:00
Reuben Morais
1d0db64ab8
Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz
2014-05-25 15:31:07 -03:00
Boris Zbarsky
c61e88da09
Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey
2014-05-23 17:32:39 -04:00
Boris Zbarsky
e7ef8d309c
Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
02915bc252
Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
0a59bbbf03
Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Wes Kocher
5b516d6682
Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
...
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky
f99ba38a95
Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey
2014-05-23 17:32:39 -04:00
Boris Zbarsky
8a365e4f4d
Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
932dc0b698
Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
30270fee17
Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Jason Orendorff
eafeadfffa
Bug 998080 - Refactor so that definition_body methods return un-indented code. r=peterv.
2014-05-22 08:18:01 -05:00
Boris Zbarsky
e26b5292a5
Bug 1010658 part 2. Stop storing a DOMClass* in a slot on DOM prototypes. r=peterv
2014-05-19 16:37:59 -04:00
Boris Zbarsky
a6ec8f36cc
Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug
2014-05-15 10:26:23 -07:00
Peter Van der Beken
def6ecffa3
Bug 1010872 - Stop preserving Global bindings. r=bz.
...
--HG--
extra : rebase_source : 23046f48a92cd27dd3c5ee6fc60c93b01067bb03
2014-05-15 14:16:06 +02:00
Jan Varga
252c68c45e
Bug 1011510 - Codegen.py: Add EndGuard to enum generation; r=bz
2014-05-16 19:41:31 +02:00
Ryan VanderMeulen
9e342ce37a
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Boris Zbarsky
3166357350
Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug
2014-05-15 10:26:23 -07:00
Peter Van der Beken
42c32dddca
Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.
...
--HG--
extra : rebase_source : 08c6f04e050bdd801a15883bb57d21ff93626024
2014-04-08 20:48:37 +02:00
Peter Van der Beken
4804da54ff
Bug 1005898 - Make WebIDL properties on all globals own properties. r=bz.
...
--HG--
extra : rebase_source : 3eb201d073b090b2627814264a126a1a4281207f
2014-02-15 22:12:34 +01:00
Boris Zbarsky
e05955b899
Bug 1006718. Add some sanity static asserts about DOM object slot counts. r=peterv,jorendorff
2014-05-07 22:28:57 -04:00
Boris Zbarsky
e6d3aa3377
Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv
2014-05-05 16:01:57 -04:00
Boris Zbarsky
83c79d7b5b
Bug 1001157. Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult. r=peterv
2014-05-05 16:01:58 -04:00
Wes Kocher
3afa6d1ec8
Backed out 4 changesets (bug 997285) for mochitest-2,3 and dt3 bustages on a CLOSED TREE r=bz
...
Backed out changeset 1bc5b733beac (bug 997285)
Backed out changeset ec145c86be71 (bug 997285)
Backed out changeset c0b8aef8b570 (bug 997285)
Backed out changeset 477094180dff (bug 997285)
2014-05-05 14:14:11 -07:00
Wes Kocher
6df5e04b05
Backed out changeset 745c46904041 (bug 1001157) for mochitest2,3 and dt3 bustages on a CLOSED TREE r=bz
2014-05-05 14:12:53 -07:00
Boris Zbarsky
03bf8c4453
Bug 1001157. Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult. r=peterv
2014-05-05 16:01:58 -04:00
Boris Zbarsky
5c370770a6
Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv
2014-05-05 16:01:57 -04:00
Boris Zbarsky
13ecba6a77
Bug 1004766. Make sure to enter the compartment of our new global before working with it when wrapping global objects. r=nsm
2014-05-03 01:08:07 -04:00
Jon Coppeard
1216544376
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Michael Shuen
e76fd87034
Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug
2014-04-28 16:53:00 +02:00
Boris Zbarsky
e9122abf27
Bug 942121. Fix WebIDL dictionary member tracing to null-check nullable object types before trying to trace them, since passing pointer-to-null to JS_CallObjectTracer is not OK. r=smaug
2014-04-26 21:50:00 -04:00
Boris Zbarsky
24ebb19c4f
Bug 1000944. Allow unions and dictionaries that contain non-SpiderMonkey WebIDL interface types to be copy-constructed. r=dzbarsky
2014-04-26 21:49:59 -04:00