Commit Graph

224 Commits

Author SHA1 Message Date
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
Reuben Morais
ac85b83f82 Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Boris Zbarsky
67e904587e Bug 1007878 part 1. Add parsing of MozMap to the WebIDL parser. 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
0bf9253cf1 Bug 1007878 part 1. Add parsing of MozMap to the WebIDL parser. r=khuey 2014-05-23 17:32:38 -04:00
Ting-Yu Lin
a4da8b744e Bug 879917 - part 2: Emit useful message on dictionary name collisions. r=bz 2014-05-05 21:50:00 +02:00
Ting-Yu Lin
733a5f0b2e Bug 879917 - part 1: Strip trailing whitespaces in WebIDL.py. r=bz 2014-05-05 21:24:00 +02:00
Boris Zbarsky
ea7478fa08 Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv 2014-05-05 16:01:57 -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
Boris Zbarsky
80ad02a4b4 Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv 2014-05-05 16:01:57 -04:00
Boris Zbarsky
e10e715648 Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey 2014-04-03 23:32:11 -04:00
Anvas
4f44593e24 Bug 946897 - Report a more helpful error message when there is a name collision between an IDLExternalInterface and some other named IDL object. r=khuey 2014-03-22 00:25:40 -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
7a7054f72d Bug 983300 part 1. Disallow Promise as a return type for legacy callers and enforce all overloads for a method either returning promises or not returning promises. r=khuey 2014-03-21 12:18:24 -04: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
Ehsan Akhgari
17afb3cc47 Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky 2014-02-06 13:28:35 -05:00
Boris Zbarsky
d3c7b3b9dd Bug 958667 part 4. Hook up an AvailableIn extended attribute for interfaces. r=peterv 2014-02-05 13:38:17 -05:00
Boris Zbarsky
8ad668ddf4 Bug 963321 part 1. Add WebIDL parser support for having [Cached] dictionary attributes. r=khuey
We don't know at handleExtendedAttribute time what the identifier will
map to, so have to do the check that [Frozen] is not being misused
later.
2014-02-05 13:38:15 -05:00
Andrea Marchesini
c19e1d8813 Bug 620935 - __noSuchMethod__ support for WebIDL r=bz 2014-01-26 12:35:10 +00:00
Boris Zbarsky
661130813a Bug 952365. Add a TreatNonObjectAsNull annotation for WebIDL callback functions and use it for event handlers, since web sites depend on assigning non-callable objects to them in some cases. r=peterv 2014-01-13 15:08:56 -05:00
Nikhil Marathe
3ccadc5848 Bug 957429 - Method parameters that are callbacks obey [TreatNonCallableAsNull] semantics. r=bz 2014-01-08 22:12:27 -08:00
Boris Zbarsky
45faf1e000 Bug 949682 part 1. Add a [Frozen] annotation on WebIDL attributes that have sequence types. r=peterv 2013-12-16 13:06:35 -05:00
Boris Zbarsky
20c9fd1207 Bug 946564 part 2. Make window._content chromeonly and define it in WebIDL. r=peterv 2013-12-09 10:34:04 -05:00
Boris Zbarsky
9a5afd7034 Bug 946067 part 1. Add support for WebIDL extended attributes to allow annotating allowed cross-origin access. r=peterv 2013-12-09 10:34:03 -05:00