Граф коммитов

129 Коммитов

Автор SHA1 Сообщение Дата
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
Boris Zbarsky dc9744dbac Bug 1113827 part 1. Automatically mark Web IDL [NewObject] methods that return a JS type as fallible. r=peterv 2015-01-12 11:52:21 -05:00
Carsten "Tomcat" Book b8dd41d84c Backed out 12 changesets (bug 1096328) for M11 and M5 Test failures on a CLOSED TREE
Backed out changeset 12dd1ad43923 (bug 1096328)
Backed out changeset 4a067de94f22 (bug 1096328)
Backed out changeset 676112a4f092 (bug 1096328)
Backed out changeset e2e64e751ece (bug 1096328)
Backed out changeset 9ed945e9a8a5 (bug 1096328)
Backed out changeset 47be69b84be5 (bug 1096328)
Backed out changeset d6e68ba4846d (bug 1096328)
Backed out changeset 899d8cd8c4e8 (bug 1096328)
Backed out changeset 55c831086864 (bug 1096328)
Backed out changeset 6005fd357342 (bug 1096328)
Backed out changeset 0f330a5dd346 (bug 1096328)
Backed out changeset c37e10cff765 (bug 1096328)
2015-01-12 14:48:15 +01:00
Peter Van der Beken eecdaa8a30 Bug 1096328 - Remove nativeOwnership from Bindings.conf, remove the now unused nativeOwnership property. r=bz.
--HG--
extra : rebase_source : a121c0061d1afec19beeecaf507da30ac027936c
2014-11-01 15:25:55 +01:00
Peter Van der Beken 2bd3fd551f Bug 1096328 - Remove nativeOwnership from Bindings.conf, don't condition wrapperCache on having a refcounted type. r=bz.
--HG--
extra : rebase_source : a76c18e5ffa4c1a48d3ab6119f7aff1065795787
2014-11-01 15:22:21 +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
Boris Zbarsky 9ee334fef9 Bug 1081241. Things that aren't exposed in Window shouldn't show up in RegisterBindings at all. r=smaug 2014-11-16 15:01:32 -05:00
Tom Schuster 8a051a23e7 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Peter Van der Beken d76c717d3c Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Boris Zbarsky c522210a60 Bug 1083591. Support stringifiers and jsonifiers on non-concrete Web IDL interfaces as well, since they make sense there. r=peterv 2014-10-19 22:26:20 -04:00
Boris Zbarsky a2710406db Bug 1073124 part 2. Define Exposed=System things in BackstagePass::NewResolve as needed. r=bholley 2014-10-17 11:30:19 -04: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 5f962f62f8 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, annotate Window as having named properties. r=bz.
--HG--
extra : rebase_source : 7e4628edb7c49837e8675ca787db0c00ce70ff14
2014-09-05 22:36:32 +02:00
Boris Zbarsky 6c258577ab Bug 1071615. Make codegen fail when "A implements B" appears on a Web IDL file different from the file A is defined in. r=khuey 2014-09-24 09:11:29 -04:00
Boris Zbarsky 895d364e1c Bug 958887 part 1. Add support for doing BinaryName annotations in IDL. r=peterv 2014-09-19 22:58:26 -04: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
Boris Zbarsky 8de010d510 Bug 921453. Don't allow conditional-exposure annotations on an interface that has no interface object, since they make no sense there. r=khuey 2014-08-29 19:50:04 -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
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
Reuben Morais 62da4d3530 Bug 1009645 - Remove FeatureDetectible, add things with CheckPermissions or AvailableIn to the feature list instead. r=smaug 2014-07-24 16:57:02 -03: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 d1f4dba8b5 Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey 2014-08-04 22:20:34 -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
Nathan Froyd 8463d09509 Bug 1019705 - replace binaryNames accesses with binaryNameFor; r=bz 2014-06-03 12:20:16 -04: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 57cd950edf 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
Boris Zbarsky 720591b1f5 Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv 2014-03-05 22:48:03 -05:00
Boris Zbarsky 7abaa88b21 Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv 2014-02-07 15:56:14 -05:00
Ehsan Akhgari 4a415b8dd7 Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky 2014-02-06 13:28:35 -05:00
Boris Zbarsky bb0bc45763 Bug 967694. Don't generate Xray resolveOwnProperty/enumerateOwnProperties hooks on WebIDL Xrays for plugin-loading elements, because those elements really only want to have the hook called when they're being touched by script from the same website. r=bholley 2014-02-05 13:38:18 -05:00
Boris Zbarsky 4ecbf2387a Bug 958667 part 4. Hook up an AvailableIn extended attribute for interfaces. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky e4850f6e76 Bug 958667 part 1. Make it possible to use multiple methods of disabling the visibility of a constructor at once, disabling it if any of them says it should be disabled. r=peterv 2014-02-05 13:38:16 -05:00
Kyle Huey 1d5269baf5 Bug 958011: Fix worker object cycle collection to not rely on the JSObject being finalized, which is a bogus assumption. r=bent,mccr8 2014-02-02 10:08:50 -08:00
Ryan VanderMeulen 79c6767d01 Backed out changesets d8a6bde76293 and 0b28eaf5bde9 (bug 956806) for suspicion of making OSX 10.6 debug mochitest-bc even more orange prone than usual. 2014-01-08 15:34:24 -05:00
Boris Zbarsky 0b927c76d8 Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv 2014-01-08 10:29:15 -05:00
Ms2ger a4f80d66d9 Bug 935362 - Part b: Remove customTrace support; r=khuey 2013-11-28 15:03:15 +01:00
Ms2ger 5c3ce5df59 Bug 935362 - Part a: Remove nativeOwnership = 'worker' support; r=khuey 2013-11-28 15:03:15 +01:00