Commit Graph

167 Commits

Author SHA1 Message Date
Boris Zbarsky
ba5962ed70 Bug 1278583 part 4. Rip out the now-unused construct hook holder bits in bindings. r=peterv 2016-08-03 18:32:06 -07:00
Jonathan Chan
bd2261bd38 Bug 1289315 - Fix union types for maplike/setlike/iterable in WebIDL parser; r=qdot
MozReview-Commit-ID: Bmn0CPfwUXZ
2016-07-27 09:48:59 -07:00
Alexandre Lissy
6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Boris Zbarsky
1ed92648d1 Bug 1257037 part 15. Get rid of the wantsXrays configuration annotation. Just set bindings to want Xrays if they're exposed in Window. r=khuey 2016-07-08 00:37:55 -04:00
Boris Zbarsky
8c00d2132b Bug 1257037 part 14. Remove the now-unused skipGen bits from binding code. r=khuey 2016-07-08 00:37:55 -04:00
Boris Zbarsky
d959247e48 Bug 1257037 part 13. Get rid of the concept of worker vs non-worker descriptors. r=khuey 2016-07-08 00:37:55 -04:00
Boris Zbarsky
f3fde63185 Bug 1257037 part 11. Get rid of getRelevantProviders, since all the places that use it have a Configuration. r=khuey 2016-07-08 00:37:55 -04:00
Boris Zbarsky
584c6019b6 Bug 1257037 part 10. Store only one descriptor per interface name in the configuration. r=khuey 2016-07-08 00:37:54 -04:00
Boris Zbarsky
67d015d59c Bug 1257037 part 9. Get rid of the concept of mainthread callbacks or worker callbacks; just codegen all the callbacks. r=khuey 2016-07-08 00:37:54 -04:00
Boris Zbarsky
ca29b3c56a Bug 1257037 part 8. Remove Configuration.getDescriptorProvider. r=khuey 2016-07-08 00:37:54 -04:00
Boris Zbarsky
f719b4d8e4 Bug 1257037 part 7. Make the binding Configuration a non-workers DescriptorProvider. r=khuey 2016-07-08 00:37:54 -04:00
Andrea Marchesini
f8c59929b9 Bug 1282851 - Remove DummyInterfaceWorkers, r=khuey 2016-06-29 08:00:39 +02:00
Boris Zbarsky
98b4dca6e9 Bug 1270601 part 2. Add codegen support for IDL namespaces. r=peterv 2016-06-02 10:34:39 -04:00
Jonathan Watt
057734ea40 Bug 1177957, part 1 - Make the WebIDL parser support the [SecureContext] extented attribute. r=bz
MozReview-Commit-ID: Hm6ZvBoGeUj
2016-05-13 23:11:16 +01:00
Peter Van der Beken
5c9bb43e9d Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 073ec0857b63df3e2ecef43ef3b982f2e1be2d24
2016-05-09 17:08:31 +02:00
Boris Zbarsky
919ca7517c Bug 1270349 part 3. Add a way to ask an interface descriptor for a proxy whether its named props should be enumerable. r=peterv 2016-05-09 22:25:40 -04:00
Carsten "Tomcat" Book
98f0a3271a Backed out changeset d385df62c0e7 (bug 1267186) for hazard failures 2016-05-09 13:40:01 +02:00
Peter Van der Beken
b6c1e074c2 Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 324cf124544c0ffe2ad2ceccbed397d5069d1435
2016-03-09 15:48:12 +01:00
Sebastian Hengst
faffe478f6 Backed out changeset f9d3ea58c195 (bug 1267186) for static bustage in WebIDLGlobalNameHash.cpp. r=backout 2016-05-06 18:11:03 +02:00
Peter Van der Beken
827ee394ba Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 5578057666186f58e434767af84fbfeac0cbdc3c
2016-03-09 15:48:12 +01:00
Jeff Walden
3017794ba8 Bug 888969 - Permit a cyclic [[Prototype]] chain to be created through a Location object. r=bz, r=efaust
--HG--
extra : rebase_source : dca3ecec791ecca5a2512a789c756bb4af1ca895
2016-04-29 19:59:40 -07:00
Peter Van der Beken
f781f02ccd Bug 1245650 - remove JavaScript-navigator-property category support. r=bz.
Generate normal properties with getters for things marked as NavigatorProperty,
instead of defining these from a resolve hook.
2016-02-05 20:20:08 +01:00
Eddy Bruel
dae2755a45 Bug 1119490 - Expose the URL constructor to WorkerDebuggerGlobalScope;r=khuey 2016-02-22 10:41:09 +01:00
Boris Zbarsky
6f8f413e72 Bug 1216751 part 5. Remove the now-unnecessary value iterator infrastructure, since it's entirely handled via the %ArrayPrototype% methods now. r=qdot 2016-02-17 22:58:07 -05:00
Boris Zbarsky
a7cbbd23ab Bug 1216751 part 1. Restrict value iterators to interfaces that have indexed properties and pair iterators to interfaces that do not have indexed properties. r=qdot 2016-02-17 22:57:57 -05:00
Boris Zbarsky
24566ec012 Bug 1243001 part 7. Stop wrappercaching dom::Promise when SPIDERMONKEY_PROMISE is defined. r=peterv
nsWrapperCache expects the object it stores to have an ObjectMoved op that will
notify the wrapper cache when the object is moved.  SpiderMonkey promises don't
have a way to do this.

The XPCConvert changes are needed to allow code that passes around Promise
objects as nsISupports to continue working instead of ending up with
double-wrapped nsISupports (XPCWrappedNative for an nsISupports XPCWrappedJS)
around the SpiderMonkey Promise.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
c7fe6eed14 Bug 1243438. Don't try to include the filename '<unknown>' when including headers for unions that have a built-in typedef they're referenced by. r=peterv 2016-01-29 16:56:04 -05:00
Boris Zbarsky
a9549930a2 Bug 1215559. Create separate iterator native types for one-type and two-type iterators, so we don't force the one-type case to implement GetKeyAtIndex. r=qdot 2015-10-16 15:54:51 -04:00
Boris Zbarsky
b9fcc36e5e Back out revision 5985a4717758 (bug 1215559) because the Linux compiler is not happy with the template using bits 2015-10-16 16:16:36 -04:00
Boris Zbarsky
ab96208de8 Bug 1215559. Create separate iterator native types for one-type and two-type iterators, so we don't force the one-type case to implement GetKeyAtIndex. r=qdot 2015-10-16 15:54:51 -04:00
Kyle Machulis
09d9074cb2 Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz 2015-10-15 12:06:13 -07:00
Kyle Machulis
95180ed852 Backout of 91e9d59af87e, 96acfd0d21cf (Bug 1085293) due to build bustage 2015-10-14 12:00:41 -07:00
Kyle Machulis
d51149c624 Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz 2015-10-14 11:33:46 -07:00
Samy Dindane
94585ca8c1 Bug 1142609 - Fix PEP 8 E7xx warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 65c0f7144f5cc7980b7fc4bd65e10870b6156148
2015-08-10 19:11:42 +02:00
Samy Dindane
9d7320f826 Bug 1142609 - Fix PEP 8 E3xx warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 32812b0bd734e49848099c128b12bade345848af
2015-08-10 18:57:39 +02:00
Samy Dindane
45094ca5ae Bug 1142609 - Fix PEP 8 E2xx warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 05ba0f6e73f635b7793b54294d9562faf71fb0f7
2015-08-10 18:53:45 +02:00
Samy Dindane
2bb5a0bda9 Bug 1142609 - Fix PEP 8 E128 warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 5e48d4117aef833012765a532973db211a756071
2015-08-10 18:26:29 +02:00
Boris Zbarsky
dba569f117 Bug 983301 part 2. Change Promise to not be distinguishable from any other type. r=peterv 2015-07-31 13:30:55 -04:00
Kan-Ru Chen
5c2f3fc74e Bug 1179718 - Rename CheckPermissions to CheckAnyPermissions. r=bz 2015-07-17 11:07:53 +08:00
Kan-Ru Chen
a5886f19c7 Bug 1179718 - Add a CheckAllPermissions extended attribute to WebIDL. r=bz 2015-07-17 11:06:23 +08:00
Boris Zbarsky
cf4b97758b Bug 1176800 part 1. When getting all types, include the types Promises are parametrized over. r=peterv 2015-07-01 00:15:30 -04:00
Boris Zbarsky
09be7723cb Bug 1173829. Fix some compile issues in code generated by bindings codegen for non-concrete interfaces. r=peterv
Specifically, two issues:

1)  We didn't include the implementation header for a non-concrete empty
interface.  But if it has a parent we assert it's refcounted if and only if the
parent is refcounted, so need to see the class declaration.

2)  We were getting the parent proto in all cases in CreateInterfaceObjects.
But parent may not have a proto at all if it has no concrete descendants.  So
this patch switches to getting the parent proto only if we have a proto ourselves.
2015-06-17 13:42:06 -04:00
Boris Zbarsky
c3b1832743 Bug 913053. Split up IDLTypedef and IDLTypedefType, and likewise for IDLCallback vs IDLCallbackType, so it's clearer whether we're operating on types or objects represented by those types. r=khuey 2015-05-13 22:19:22 -04:00
Boris Zbarsky
7fb122d0a2 Bug 1157588. Produce a better error message when someone tries to pass a mixin as an argument. r=peterv 2015-04-28 12:25:55 -04:00
Boris Zbarsky
8346b9dfaf Bug 928336. Make defining unforgeable properties on objects faster by just copying them from an unforgeable holder object. r=peterv 2015-03-03 21:01:58 -05:00
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
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
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
Peter Van der Beken
a27df3ec70 Bug 1096328 - Remove nativeOwnership from Bindings.conf, remove the now unused nativeOwnership property. r=bz.
--HG--
extra : rebase_source : 1d4d543c6d32c0f3cd69fc8d360bc07ace341699
2014-11-01 15:25:55 +01:00
Peter Van der Beken
87bee510d9 Bug 1096328 - Remove nativeOwnership from Bindings.conf, don't condition wrapperCache on having a refcounted type. r=bz.
--HG--
extra : rebase_source : bb311c61db74fce4993bf7e4b781730e23ca16fa
2014-11-01 15:22:21 +01:00