Terrence Cole
88c8a8a09a
Bug 1024250; r=bz
2014-07-17 14:18:04 -07:00
Boris Zbarsky
858b055504
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
92fc628721
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
12589bea78
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
8f80150b34
Bug 832014 part 2. Add codegen support for [Unforgeable] interfaces. r=peterv
2014-07-11 19:30:27 -04:00
Benoit Jacob
fa79bad116
Bug 1035394 - Fix dangerous public destructors in dom/events - r=smaug
2014-07-08 17:23:17 -04:00
Ms2ger
b3fdf22d45
Bug 1034204
- Implement unforgeable methods; r=bz
2014-07-04 15:02:10 +02:00
Jan de Mooij
1153e692ac
Bug 1032726 part 6 - Some followup changes. r=bz
2014-07-03 13:05:03 +02:00
Jan de Mooij
9fd69da2e1
Bug 1032726 part 5 - Make new DOM bindings work with Latin1 strings. r=bz
2014-07-03 10:03:56 +02:00
Boris Zbarsky
f890ca7741
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
2d66c3ecb7
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
6135e3bfe3
Bug 1032748 - Make ConvertJSValueToString work on ns*String. r=bz.
2014-01-23 10:18:35 +01:00
Steve Fink
abace8aef1
Bug 1022773 - Return value rooting for dom/, r=bz
...
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Kyle Huey
898ad2ecb6
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
413d785b47
Bug 1030343 - Fix compile error in UnionTypes.cpp in old gcc (r=bz)
2014-06-30 14:36:45 -07:00
Eric Faust
ec142f1ef6
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
4fcd931d23
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
ae32e4a7cc
Backed out changeset 346912776f97 (bug 1027402)
2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
5f562e29f0
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Eric Faust
a3511c108a
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
9f81106775
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley)
2014-06-27 04:44:04 -07:00
Ben Kelly
5c8f0e057b
Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz
2014-06-25 10:25:09 -07:00
Boris Zbarsky
3cdf56e57b
Bug 1027667. Allow MozMap in unions. r=peterv
2014-06-23 16:03:58 -04:00
Boris Zbarsky
89c0698c51
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
eb41acaf27
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
f45428ce7c
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
9f2a71b4c5
Bug 767924 part 3. Allow sequences in unions. r=peterv
2014-06-23 16:03:57 -04:00
Boris Zbarsky
c6565944fa
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
6e9a88a012
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
92435b16f9
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
960f977388
Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz
2014-06-23 14:49:08 -04:00
Ms2ger
ac277f03ae
Bug 1026739 - Remove unused INTERFACE_CHAIN macro; r=bz
2014-06-20 12:32:50 +02:00
Birunthan Mohanathas
f475f7189b
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Ben Kelly
8b916631f8
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
dea30e7893
Bug 1011660 - Remove separate DOMClass struct. (r=bz)
2014-06-18 13:19:19 -07:00
Ben Kelly
fa96ef9593
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
479ba87bab
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
c9eabf9d78
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
2bb59ed300
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
408a5b29c4
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
2672babef6
Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz
2014-06-11 22:38:55 +03:00
Nikhil Marathe
ab04f844ca
Bug 1023520 - Add support for Promise returning methods on globals. r=bz
2014-06-11 09:05:22 -07:00
Ehsan Akhgari
8f6948b38d
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
b558491613
Bug 1019160 - part 4 - use jsids to access JS-implemented interface properties; r=bz
2014-06-05 14:47:13 -04:00
Nathan Froyd
78a8f1ecf2
Bug 1019160 - part 3 - create atom caches for JS-implemented interfaces; r=bz
2014-06-02 17:23:39 -04:00
Boris Zbarsky
2e18b306eb
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
4d0b8802dd
Bug 1019160 - part 1 - factor out initIdsClassMethod from CGDictionary; r=bz
2014-06-02 17:14:03 -04:00
Jason Orendorff
8920364a5c
Bug 998115 - Make the output of Codegen.py less #BOGUS. r=peterv.
2014-06-06 11:15:22 -04:00
Jason Orendorff
736717218a
Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett.
2014-06-05 13:19:23 -04:00
Ms2ger
f5f42c265d
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
c49115cd14
Bug 1019705 - replace binaryNames accesses with binaryNameFor; r=bz
2014-06-03 12:20:16 -04:00
Boris Zbarsky
cd11feea1c
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
ae261fc98e
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
24b03739fb
Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz
2014-05-25 15:31:07 -03:00
Fabrice Desré
bed5c8c262
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
ac85b83f82
Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz
2014-05-25 15:31:07 -03:00
Boris Zbarsky
ab5d1f90e8
Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey
2014-05-23 17:32:39 -04:00
Boris Zbarsky
a2e3bc72ea
Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
2e69c899dd
Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
72c13f6d06
Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Wes Kocher
b1b2b3a291
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
7933c029d2
Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey
2014-05-23 17:32:39 -04:00
Boris Zbarsky
6a5cd20ceb
Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
619f8192dd
Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Boris Zbarsky
aea41c8d2e
Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Jason Orendorff
7457608460
Bug 998080 - Refactor so that definition_body methods return un-indented code. r=peterv.
2014-05-22 08:18:01 -05:00
Boris Zbarsky
e32f492a47
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
f1c785425b
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
6db1cff461
Bug 1010872 - Stop preserving Global bindings. r=bz.
...
--HG--
extra : rebase_source : 23046f48a92cd27dd3c5ee6fc60c93b01067bb03
2014-05-15 14:16:06 +02:00
Jan Varga
7c7442ba47
Bug 1011510 - Codegen.py: Add EndGuard to enum generation; r=bz
2014-05-16 19:41:31 +02:00
Ryan VanderMeulen
96ed00e142
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
a1e3e4475e
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
8119bfc066
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
4874a03840
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
bec6a79bcc
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
ea7478fa08
Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv
2014-05-05 16:01:57 -04:00
Boris Zbarsky
2b052eec3c
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
16c59c13d3
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
1ddc916438
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
35be4d0568
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
80ad02a4b4
Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv
2014-05-05 16:01:57 -04:00
Boris Zbarsky
914525f2b6
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
bed7fc43d9
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Michael Shuen
2a4c7b090c
Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug
2014-04-28 16:53:00 +02:00
Boris Zbarsky
b6824005fe
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
2d3a3e88ce
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
Boris Zbarsky
d558bfb282
Bug 1000675. Don't always include nsContentUtils in example codegen, fix example header guards to not end with __, don't use fully-qualified names in argument types when those argument types are in the mozilla::dom namespace already, and include headers from mozilla/dom. r=jst
2014-04-26 21:49:59 -04:00
Birunthan Mohanathas
4de1915f30
Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug
2014-04-25 12:49:00 -04:00
Jason Orendorff
b4e94a9f46
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Jason Orendorff
d50e6f5a9b
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Jason Orendorff
db966f6c54
Bug 987007, part 2a - Instead of generating identical DOMProxyHandler::set() methods for many interfaces, implement it in a common base class. r=bz.
...
--HG--
extra : rebase_source : 15e81591de2a7c07b34a23143b876feadc2d7a1e
2014-04-25 15:07:18 -05:00
Jason Orendorff
f7acb4f179
Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
...
--HG--
extra : rebase_source : a26eb85a086a18219a4d423cd7ad49a92cfd2584
2014-04-25 15:07:18 -05:00
Jason Orendorff
9c8346b489
Bug 987007, part 1 - Make CGProxyIndexed{Getter,Setter,PresenceChecker,Deleter} return finished C++ code with the type already in it (rather than a template to be filled in later). r=bz.
...
--HG--
extra : rebase_source : 019165a1081d442b9805eb11d9be2e37f860841a
2014-04-25 15:07:17 -05:00
Jason Orendorff
0a2f37d760
Bug 987618 - More cosmetic changes in Codegen.py. r=bz.
...
--HG--
extra : rebase_source : 5f495765ffaf3f073cf63a78ea92e74ae16d3bae
2014-04-25 11:50:34 -05:00
Jason Orendorff
9db1fcfa1c
Bug 986492, part 3 - Address review comments from peterv on part 2. Remove bogus extra semicolons from Codegen.py output. Fix a spelling error.
...
--HG--
extra : rebase_source : 0230a4f9bef4690d7382e5982670ccad3f607d0b
2014-04-25 11:50:34 -05:00
Jason Orendorff
0cbc6fd44f
Bug 986492, part 2 - Use fill() and dedent() throughout Codegen.py. Change dedent() to strip an initial blank line from its argument, if present. r=peterv.
...
--HG--
extra : rebase_source : 41a423806998eeb90fc66bf3663ead5bacd2c64b
2014-04-25 11:50:34 -05:00
Terrence Cole
c97877c686
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Boris Zbarsky
ac9f0ba11d
Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv
2014-04-15 22:58:44 -04:00
Boris Zbarsky
938ba48ab7
Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv
2014-04-15 22:58:44 -04:00
Boris Zbarsky
7d2331d5b5
Bug 995546. Nix bogus GetParentObject methods on WebIDL objects without a wrapper cache. r=bholley
2014-04-15 22:58:43 -04:00
Peter Van der Beken
ee04132a64
Bug 993688 - Mark Window.document StoreInSlot. r=bz.
...
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01:00
Boris Zbarsky
893f2b3907
Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley
2014-04-10 00:58:43 -04:00
Boris Zbarsky
a0c3167371
Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley
2014-04-08 18:27:19 -04:00
Boris Zbarsky
35fca5eeeb
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
9bcd256586
Bug 991742 part 5. Remove use of the "aScope" argument in binding Wrap() methods. r=bholley
2014-04-08 18:27:16 -04:00
Boris Zbarsky
6881a9948d
Bug 991742 part 4. Remove the "scope" argument of WrapCallThisObject(). r=bholley
2014-04-08 18:27:15 -04:00
Boris Zbarsky
9f72e9c2b1
Bug 991742 part 3. Remove the "scope" argument of WrapNativeParent(). r=bholley
2014-04-08 18:27:15 -04:00
Peter Van der Beken
0fe5048c3a
Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz.
...
--HG--
extra : rebase_source : cc8f013525dca74a4d7926f3cbb301ac42aab406
2014-02-15 22:12:33 +01:00
Jason Orendorff
26ca11f540
Bug 986492, part 1 - Add fill() convenience function to Codegen.py. r=peterv.
2014-04-04 17:03:11 -05:00
Eric Faust
75a58dbebc
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Olli Pettay
63d14af0e7
Bug 991074 - Fix for "Assertion failure: JS_IsExceptionPending(cx), at ./EventListenerBinding.cpp:24". r=bz
2014-04-02 13:25:00 +02:00
Jason Orendorff
2562384ccc
Bug 984883 - Make Codegen.py easier to read. r=bz.
2014-04-01 11:11:44 -05:00
Boris Zbarsky
ebbf189925
Bug 958540 part 3. Switch the assignment operator on WebIDL unions to use SetAs*, not RawSetAs*, so you can use it to change the type of a union. r=dzbarsky
2014-04-01 01:58:27 -04:00
Boris Zbarsky
8c8ba238df
Bug 958540 part 2. Rename the existing SetAs* methods on unions to RawSetAs* and add new SetAs* methods that ensure the right type for the union. r=dzbarsky
2014-04-01 01:58:27 -04:00
Boris Zbarsky
0d09417dfa
Bug 958540 part 1. Factor out the uninit behavior of union structs into a separate method. r=dzbarsky
2014-04-01 01:58:27 -04:00
Boris Zbarsky
d4a40b2bea
Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley
2014-03-29 01:45:10 -04:00
Nathan Froyd
23709854ea
Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz
2014-03-22 13:04:09 -04:00
Nathan Froyd
bfa7382195
Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz
2013-12-10 16:04:55 -05:00
Boris Zbarsky
7b6eb470fb
Bug 987110. Disallow dictionary members that would shadow Object.prototype properties. r=bholley
2014-03-25 22:48:46 -04:00
Jeff Walden
d3340fc45f
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
...
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Boris Zbarsky
f8115c0dde
Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust
2014-03-21 12:18:24 -04:00
Boris Zbarsky
51d9175a36
Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust
2014-03-21 12:18:24 -04:00
Boris Zbarsky
4b7f853a76
Bug 983300 part 2. Introduce a GenericPromiseReturningBindingMethod for methods that return Promise return value. r=khuey,bholley
...
This method effectively catches exceptions from GenericBindingMethod and converts them into rejected promises. This handles calls to Promise-returning APIs from everything except Ion fast paths.
2014-03-21 12:18:24 -04:00
Boris Zbarsky
a8103d552c
Bug 983261. Improve example codegen for non-leaf and non-root interfaces. r=khuey
2014-03-20 23:19:43 -04:00
Boris Zbarsky
0708700fcb
Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley
2014-03-20 23:19:43 -04:00
Jeff Walden
c1673141f3
Back out bug 985687, likely cause of js1_8_5/extensions/recursion.js cantankering. r=CLOSED TREE
2014-03-20 16:39:30 -07:00
Jeff Walden
3d1397e2b2
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
...
--HG--
extra : rebase_source : 4a9d1d783e658648c4ff210760b38f8353631458
2014-03-11 12:03:56 -07:00
Birunthan Mohanathas
dca15fad8e
Bug 984112 - Part 2: Use JS::CallArgs functions instead of JS_CALLEE in Codegen.py. r=bz
2014-03-19 13:05:04 -04:00
Peter Van der Beken
7ddc350148
Bug 983620 - Remove the unused aScope argument from WrapGlobalObject. r=bz.
2014-02-05 22:09:18 +01:00
Boris Zbarsky
2f0c359fd1
Bug 983228. Add a sequence tracer for sequences of unions. r=baku
2014-03-14 14:51:22 -04:00
Boris Zbarsky
6cd11c42fa
Bug 983264. Include callback headers in UnionTypes.h when a callback is used in a union. r=mccr8
2014-03-14 14:51:06 -04:00
Boris Zbarsky
bbf277fb09
Bug 983029. Make sure to observe stack discipline for Rooted when initializing a WebIDL union containing the 'object' type. r=khuey
2014-03-14 14:50:39 -04:00
Boris Zbarsky
37956d4eb4
Bug 981036 followup. Actually add the comment that was asked for. DONTBUILD
2014-03-10 21:38:04 -04:00
Boris Zbarsky
bd39425edd
Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley
2014-03-10 17:38:31 -04:00
Boris Zbarsky
29e21af8b1
Bug 874788. Allow WebIDL HTMLAllCollection to emulate undefined. r=peterv
2014-03-05 22:48:04 -05:00
Boris Zbarsky
94e63969a7
Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv
2014-03-05 22:48:03 -05:00
Masayuki Nakano
d26caa0d74
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Bobby Holley
c96d59f157
Bug 916644 - Disable invoking WebIDL constructors without |new| unless you have the system principal. r=bz
2014-03-04 10:05:08 -08:00
Jeff Walden
5a7db86560
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
...
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Boris Zbarsky
c9d6e0595e
Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv
2014-02-14 10:46:09 -05:00
Andrea Marchesini
27aa10cd04
Bug 965860 - patch 7 - Console API in workers, r=khuey
2014-02-27 23:39:30 +00:00
Benjamin Bouvier
470398b6d7
Bug 939843: Required changes in the rest of the tree; r=froydnj
...
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Boris Zbarsky
6a83088182
Bug 974284. Do a better job of commoning up identical cases in overload resolution for WebIDL methods. r=khuey
2014-02-27 07:54:33 -05:00
Boris Zbarsky
54b6eab72f
Bug 962256 yet another part. Eliminate some unnecessary roots in HTMLDocumentBinding::DOMProxyHandler::get. r=bholley
2014-02-26 12:40:57 -05:00
Boris Zbarsky
c2283f49a9
Back out revision c35458a437cc (bug 976305) for breaking DataStore tests. r=orange
2014-02-25 18:52:21 -05:00
Boris Zbarsky
760d08fda8
Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley
2014-02-25 17:26:16 -05:00
Boris Zbarsky
cf34412533
Bug 972312 part 1. Generate virtual As*Event functions on WebIDL events so that we can easily go from an nsDOMEvent to the relevant event subtype. r=smaug
2014-02-23 00:01:12 -05:00
Boris Zbarsky
2166b04394
Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey
2014-02-19 10:13:38 -05:00
Bobby Holley
c1aac455ec
Bug 968335 - Implement GetCallerPrincipalOverride. r=bz
2014-02-14 22:36:44 -08:00