Boris Zbarsky
282d7c0569
Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley
2016-11-11 16:09:05 -05:00
Boris Zbarsky
d5fd55b992
Bug 1021289 part 2. Remove support for indexed deleters, since they're gone from the spec. r=peterv
2016-11-04 12:41:26 -04:00
Boris Zbarsky
3f10f5ed57
Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
...
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.
The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits. Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Boris Zbarsky
e8c8715cfb
Bug 1297756
part 2. Allow specifying a default value for a union containing an enum. r=mystor
2016-08-30 12:55:17 -04:00
Michael Layzell
164944c0c0
Bug 1292293 - Part 1: Update the WebIDL Parser to allow default values for ByteString, r=bz
...
--HG--
extra : rebase_source : 8d031a5a34e4bb75a3432e23e625370cbcea0dae
2016-08-05 17:46:54 -04: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
0f8a633cfe
Bug 1277401 part 5. Change dictionary codegen to output Func stuff as needed. r=peterv
2016-06-07 10:34:54 -04:00
Andrea Marchesini
be787b709b
Bug 989619 - patch 1 - Codegen should allow static methods with a reserved C++ keywords as the name, r=peterv
2016-06-04 09:31:44 +02:00
Boris Zbarsky
783e8cc098
Bug 1270601 part 3. Add a way to annotate and IDL namespace as needing a new plain object as its prototype, because using Object.prototype as the prototype of 'console' is not web-compatible. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
98b4dca6e9
Bug 1270601 part 2. Add codegen support for IDL namespaces. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
3ebd37957e
Bug 1274049. Make sure we actually codegen our various test callbacks in bindings codegen tests. r=peterv
2016-05-19 13:48:11 -04:00
Jonathan Watt
55bfea4bac
Bug 1177957, part 4 - Tests for the [SecureContext] WebIDL extended attribute. r=bz
...
MozReview-Commit-ID: IodQqQ3rAfI
2016-05-16 10:04:38 +01:00
Boris Zbarsky
0baeed7ed3
Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust
2015-11-25 15:48:09 -05:00
Phil Ringnalda
53745073f0
Back out 13 changesets (bug 1170760) for Gu bustage in homescreen/test/unit/apps_test.js
...
CLOSED TREE
Backed out changeset 5d84599a8846 (bug 1170760)
Backed out changeset 6104fe33d5f5 (bug 1170760)
Backed out changeset 1dfb229da01d (bug 1170760)
Backed out changeset f380faddfdd8 (bug 1170760)
Backed out changeset 541831dc6b57 (bug 1170760)
Backed out changeset 6a5b7dfab882 (bug 1170760)
Backed out changeset ee514a256922 (bug 1170760)
Backed out changeset 3c2c1acc34ee (bug 1170760)
Backed out changeset dc2a7f5dc5d6 (bug 1170760)
Backed out changeset b312a08fbab5 (bug 1170760)
Backed out changeset cb6aba9b8497 (bug 1170760)
Backed out changeset 39e4f5b1ba40 (bug 1170760)
Backed out changeset 7d79cce3630a (bug 1170760)
2015-11-25 21:02:55 -08:00
Boris Zbarsky
93faa5b1b0
Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust
2015-11-25 15:48:09 -05:00
Martin Thomson
4574e04530
Bug 1155923 - Add Deprecated attribute to interfaces, r=peterv
...
--HG--
extra : transplant_source : q%B6%21%A22%A6%8Ftg%C8%1D%02%91/%C7%8A%AA%E2%C6g
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
4952084732
Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
...
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Martin Thomson
d4f1b7fa44
Bug 1155923 - Add Deprecated attribute to interfaces. r=peterv
...
--HG--
extra : transplant_source : %E7_%24v%EA%08%AB1%A2%2BPl%AE%85%B9-%A6%D9%FEG
2015-09-24 16:31:47 -07:00
Boris Zbarsky
78b27415bc
Bug 983301 part 1. Handle JS-to-native conversion for Promise values via calling Promise::Resolve on whatever value was passed in (except if the type is nullable and the passed-in value is null or undefined). r=peterv
2015-07-31 13:30:55 -04:00
Boris Zbarsky
6a7660edde
Bug 1176236
. Make typed array arguments work for constructors of JS-implemented interfaces. r=peterv
2015-07-01 14:15:20 -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
806a236c64
Bug 1129239. Don't require 'optional' keyword on trailing dictionary arguments if the dictionary has a required member. r=smaug
2015-04-17 12:13:25 -04:00
Paul Adenot
a1ddbe8bcb
Bug 1148496 - Allow to set an interface member as [Deprecated] in WebIDL. r=bz,smaug
2015-04-14 17:03:49 +02:00
Boris Zbarsky
b864faa155
Bug 1134112 part 2. When doing dictionary init, if we have a non-optional union member just go ahead and uninit it before we try initing it. That way even if it's already been initialized (e.g. because we default-initialized at some point) things will still work correctly. r=peterv
2015-02-19 14:36:35 -05:00
Boris Zbarsky
fc8317f7a4
Bug 1134112 part 1. When doing fast-init of a Web IDL dictionary, do fast-init of its dictionary members and its ancestors too. r=peterv
2015-02-19 14:36:26 -05:00
Boris Zbarsky
ff62f8c4c5
Bug 1130364. Fix the handling of nestingLevel to actuall increment it more than once. 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
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
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
cc0da71edc
Bug 1030192 part 2. Codegen changes to handle cases when a sequence is actually overloaded with a dictionary. r=khuey
2014-09-24 09:11:30 -04:00
Boris Zbarsky
9b823d6509
Bug 958887 part 3. Fix codegen support for IDL attribute names and methods with dashes in them. r=peterv
2014-09-19 22:58:27 -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
d14c26daf5
Bug 1057541 part 3. Change codegen to support required dictionary members. r=khuey
2014-09-05 14:28:43 -04:00
Boris Zbarsky
be14202b3d
Bug 929609 part 2. Fix passing of typed arrays to JS-implemented WebIDL to actually work. r=peterv
2014-08-25 15:07:45 -04:00
Boris Zbarsky
30b87a2b87
Bug 929609 part 1. Rename "jsObjectsArePtr" to "typedArraysAreStructs" (and invert its meaning, of course), since that's what it's really used for nowadays. r=peterv
2013-09-30 10:30:06 -04:00
Roshan Vidyashankar
2d98c38825
Bug 1038993
- Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv
2014-08-20 16:32:19 -07:00
Boris Zbarsky
3545a68bc5
Bug 1048437. Allow dictionary members with '-' in the name. r=khuey
2014-08-04 15:02:58 -04:00
Ben Kelly
8866034d70
Bug 1025183
P5 Add tests for ScalarValueString. 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
a38c3c73df
Bug 1025183
P5 Add tests for ScalarValueString. r=bz
2014-08-01 13:57:00 -04:00
Ms2ger
3b4a60ee80
Bug 1034204
- Implement unforgeable methods; r=bz
2014-07-04 15:02:10 +02:00
Ben Kelly
69fff9e05a
Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz
2014-06-25 10:25:09 -07:00
Boris Zbarsky
e62870aedd
Bug 1027667. Allow MozMap in unions. r=peterv
2014-06-23 16:03:58 -04:00
Boris Zbarsky
ddcf724011
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
764c9e0b63
Bug 767924 part 3. Allow sequences in unions. r=peterv
2014-06-23 16:03:57 -04:00