Commit Graph

247 Commits

Author SHA1 Message Date
Boris Zbarsky
8e5894769a Bug 1105614. Fix dependency tracking for IDL methods with dictionary arguments. r=peterv 2014-12-01 15:17:58 -05:00
Andrea Marchesini
8883a53fd9 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
d6a9efff54 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
75e6ffdf2f Bug 1098739. Add a BufferSource typedef in our IDL. r=khuey 2014-11-16 15:01:08 -05:00
Tom Schuster
107172fa13 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Peter Van der Beken
8b6010b5ce 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
b9aa282cae 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
a6b5448916 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
065e3c563e 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
be56af5d99 Bug 958887 part 1. Add support for doing BinaryName annotations in IDL. r=peterv 2014-09-19 22:58:26 -04:00
Boris Zbarsky
cf1632f7eb Bug 1066776. Make variadic dictionary arguments work. r=khuey 2014-09-19 00:02:33 -04:00
Boris Zbarsky
cb658776f3 Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Boris Zbarsky
45593d2f34 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
2335faf35a Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey 2014-09-08 11:28:57 -04:00
Boris Zbarsky
c47ae2642e 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
a5c25c365b 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
0a3a2fb401 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
2b2588399a Bug 1048699 - Make Exposed=SpecificWorkerType work automatically. r=bz
--HG--
extra : rebase_source : 651bd062b015e2aa030b87a842bc7d63dccf349c
2014-08-27 10:17:36 -07:00
Boris Zbarsky
cf7e3a0cfe 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
2947a1c2bf 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
0ca421fbf7 Bug 1038993 - Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv 2014-08-20 16:32:19 -07:00
Ms2ger
2908280aa1 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
9ef413e461 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
ea296a9f26 Bug 1048437. Allow dictionary members with '-' in the name. r=khuey 2014-08-04 15:02:58 -04:00
Boris Zbarsky
78f080efdd 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
b2466b701e 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
e33a0d02ad Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
25fea4d8e1 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
c3da59dd62 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
cdd3704c80 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
2d5a711006 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
3e851836ba 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
93ddfc0b09 Bug 1025183 P1 Add ScalarValueString to webidl parser. r=bz 2014-08-01 16:23:48 -04:00
Ben Kelly
04e4ab033e Revert bug 1025183 (revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me 2014-08-01 14:10:40 -04:00
Ben Kelly
2515a485c4 Bug 1025183 P1 Add ScalarValueString to webidl parser. r=bz 2014-08-01 13:56:59 -04:00
Ed Morley
f603663d5e 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
6f36b0cbb8 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
2e166095f9 Bug 1025183 P1 Add ScalarValueString to webidl parser. r=bz 2014-07-31 19:40:11 -04:00
Reuben Morais
66ea77e992 Bug 1009645 - Address additional comments. r=bz
--HG--
extra : rebase_source : c6befdd143ad15751182af10f80b03c2f23eea4d
2014-07-15 16:15:28 -03: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
ee5c456d8a Bug 832014 part 1. Add parser support for an [Unforgeable] annotation on WebIDL interfaces. r=peterv 2014-07-11 19:30:26 -04:00
Ms2ger
b3fdf22d45 Bug 1034204 - Implement unforgeable methods; r=bz 2014-07-04 15:02:10 +02: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
Ben Kelly
5c8f0e057b Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07: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
ebe88d39c2 Bug 1026080 part 1. Add WebIDL parser support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:56 -04:00
Boris Zbarsky
eaf8eb1b2a Bug 1026706. Stop pickling our yacc grammar in the WebIDL parser, because now it's apparently faster to recreate it than to unpickle it. r=khuey 2014-06-23 16:03:56 -04: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