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

255 Коммитов

Автор SHA1 Сообщение Дата
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
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
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 0221e36996 Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky 01f8cea46f Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. 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
Boris Zbarsky 6ac7384613 Bug 1105614. Fix dependency tracking for IDL methods with dictionary arguments. r=peterv 2014-12-01 15:17:58 -05:00
Andrea Marchesini 9d30f59efd Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01: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
Boris Zbarsky b32a7b90f2 Bug 1098739. Add a BufferSource typedef in our IDL. r=khuey 2014-11-16 15:01:08 -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 ed12d1f80c Bug 1073124 part 1. Hack the "System" global name into the Web IDL parser, since we have no actual Web IDL interface for system globals. r=khuey 2014-10-17 11:30:18 -04:00
Boris Zbarsky 78d7e5c45b Bug 1030192 part 1. Make sequences distinguishable from dictionaries and callbacks in the Web IDL parser. r=khuey 2014-09-24 09:11:30 -04: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
Boris Zbarsky 41fde7f472 Bug 1066776. Make variadic dictionary arguments work. r=khuey 2014-09-19 00:02:33 -04: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 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
Boris Zbarsky 360bc9ab4d Bug 1057541 part 1. Change the IDL parser to allow an optional "required" on dictionary members. r=khuey 2014-09-05 14:28:42 -04: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 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 03d4120c1d Bug 1047777. Disallow the [CheckPermissions] extended attributeon things that are exposed in workers, since its implementation does not work correctly on workers. r=peterv 2014-08-25 15:07:44 -04:00
Andrew McCreight 8b0074dc93 Bug 1056316 - Prune out obsolete cases from error message about combining Throws with other things. r=bz 2014-08-21 14:31:43 -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
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 3545a68bc5 Bug 1048437. Allow dictionary members with '-' in the name. r=khuey 2014-08-04 15:02:58 -04:00
Boris Zbarsky 8b7f7ff8f1 Bug 1017988 part 10. Disallow Pref annotations on things that are exposed in workers. r=khuey 2014-08-04 22:20:35 -04:00
Boris Zbarsky 0fa57174d9 Bug 1017988 part 7. Add support for parsing the [Exposed] Web IDL attribute and determining whether a given interface member should be exposed in a particular global. 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 bb7246da13 Bug 1017988 part 5. Store the set of known global names on our outermost IDLScope. r=khuey 2014-08-04 22:20:33 -04:00
Boris Zbarsky b6e246c5f6 Bug 1017988 part 4. Rejigger how we do partial interfaces so that we can keep track of which partial interface a given member came from. r=khuey 2014-08-04 22:20:33 -04:00
Boris Zbarsky 8692e4a923 Bug 1017988 part 3. Allow the Global extended attribute to take a value. r=khuey 2014-08-04 22:20:33 -04:00
Boris Zbarsky deaa309f90 Bug 1017988 part 2. Add support for parenthesized lists as values of extended attributes in Web IDL. r=khuey 2014-08-04 22:20:33 -04:00
Boris Zbarsky 82495c5d72 Bug 1017988 part 1. Make our Web IDL parser fail on warnings from the underlying ply code. r=khuey 2014-08-04 22:20:32 -04:00
Ben Kelly 9e28c19084 Bug 1025183 P1 Add ScalarValueString to webidl parser. 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 687ee09c07 Bug 1025183 P1 Add ScalarValueString to webidl parser. r=bz 2014-08-01 13:56:59 -04:00
Ed Morley 7323d04da2 Backed out changeset 1be9a6d20566 (bug 1025183) for failures in test_scalarvaluestring.html on B2G/Android; CLOSED TREE 2014-08-01 10:28:52 +01:00
Boris Zbarsky 0511225e67 Bug 1045743. Add support for the Promise<type> syntax to Web IDL bindings. r=khuey 2014-07-31 23:50:30 -04:00
Ben Kelly 3e5f087f4e Bug 1025183 P1 Add ScalarValueString to webidl parser. r=bz 2014-07-31 19:40:11 -04:00
Reuben Morais bb157707dd Bug 1009645 - Address additional comments. r=bz
--HG--
extra : rebase_source : c6befdd143ad15751182af10f80b03c2f23eea4d
2014-07-15 16:15:28 -03: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 a57cc37a52 Bug 832014 part 1. Add parser support for an [Unforgeable] annotation on WebIDL interfaces. r=peterv 2014-07-11 19:30:26 -04:00