Boris Zbarsky
9894e14428
Bug 1332713 part 2. Disallow [SameObject] Promise-typed attributes. r=qdot
2017-01-27 18:53:36 -05:00
Boris Zbarsky
94a230e52a
Bug 1332713 part 1. Disallow Promise-typed attributes with setters. r=qdot
2017-01-27 18:53:36 -05:00
Boris Zbarsky
7547c36287
Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot
2017-01-24 16:11:33 -05:00
Iris Hsiao
747c446db4
Backed out changeset f9ae7da00387 (bug 1333480) for bustage
...
CLOSED TREE
2017-01-25 10:44:16 +08:00
Boris Zbarsky
1586a2e95a
Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot
2017-01-24 16:11:33 -05:00
Wes Kocher
29f8528a73
Backed out changeset b8b06fdb30ce (bug 1333480) for build bustage a=backout
...
MozReview-Commit-ID: 7wCiW0N8tby
--HG--
extra : rebase_source : fa619c21ee25c58ab67336cc3c4a9d5692029e5c
2017-01-24 13:57:26 -08:00
Boris Zbarsky
20418bd1bf
Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot
2017-01-24 16:11:33 -05:00
Boris Zbarsky
b1b6ca681a
Bug 1333117. We should ensure, at build-time, that partial interfaces are defined in the same file as the interface they extend, since our build system doesn't really support correct dep builds if they're placed in a different file. r=qdot
2017-01-24 16:11:30 -05:00
Boris Zbarsky
2973eff777
Bug 1330536 part 1. Add a CanOOM annotation, and the corresponding GetterCanOOM, SetterCanOOM annotations, to the IDL parser. These can be used in the cases when Throws/GetterThrows/SetterThrows can be used, to indicate that the only possible exception is NS_ERROR_OUT_OF_MEMORY. r=smaug
2017-01-17 23:52:13 -05:00
Boris Zbarsky
94a9f0d729
Bug 1323721 part 12. Create a separate IDLPromiseType; stop treating Promise as an interface altogether. r=qdot
2016-12-19 15:38:44 -08:00
Boris Zbarsky
6c78cc893a
Bug 1323721 part 11. Make isInterface and isGeckoInterface test false for the isPromise() case. r=qdot
2016-12-19 15:38:44 -08:00
Boris Zbarsky
865e7c42eb
Bug 1323721 part 5. Move Promise native-to-JS conversion out of the isGeckoInterface section. r=qdot
2016-12-19 15:38:43 -08:00
Boris Zbarsky
83b5a8468f
Bug 1324178. Actually enforce the various checks the IDL spec says to do for arguments of constructors and named constructors. r=baku
2016-12-19 15:38:42 -08:00
Boris Zbarsky
f74b8c3888
Bug 1323274. Disallow nullable Promise types. r=qdot
2016-12-16 14:06:54 -05:00
Edgar Chen
881cbd80bd
Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
...
MozReview-Commit-ID: 6egmavfTmFT
2016-11-17 23:31:50 +08:00
Sebastian Hengst
5e1b29b9c0
Backed out changeset f2a5fc3e8c4e (bug 1274159)
2016-12-14 13:27:22 +01:00
Edgar Chen
da0139302c
Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
...
MozReview-Commit-ID: 6egmavfTmFT
--HG--
extra : rebase_source : 07436a4b8dfc1960f0cc24b67b8cc5d1e2ffd5cd
2016-11-17 23:31:50 +08:00
Boris Zbarsky
099ef6f007
Bug 1315135. Remove the RegExp (and some Date) special casing from our dictionary conversions and Web IDL overload resolution. r=peterv
2016-11-23 22:57:29 -05:00
Boris Zbarsky
282d7c0569
Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley
2016-11-11 16:09:05 -05:00
Andrea Marchesini
8524257019
Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 2 - WorkletGlobalScope, r=smaug
2016-11-06 09:54:29 +01:00
Boris Zbarsky
e1249e3f78
Bug 1021289 followup. Fix webidl parser tests to account for there being no more indexed deleters
2016-11-04 13:28:17 -04: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
b4c8518aff
Bug 1311362. Fix webidl member name collision checking with ancestor interfaces to not claim name collisions on totally unrelated names. r=qdot
...
Fixing this exposed the fact that the 'size' tests were passing quite accidentally, since we never added 'size' to the disallowed names sets.
2016-10-19 16:03:00 -04:00
Boris Zbarsky
e158454b4e
Bug 1309970. Add a way to return frozen arrays to chrome callers with a .contains defined on them, returning the same value as .includes. r=qdot
2016-10-13 22:14:26 -04:00
Boris Zbarsky
13a81b596c
Bug 946906 part 7. Forbid using [Cached] or [StoreInSlot] with [NewObject]. r=bholley
...
This guarantees that an interface type returned from a [Cached] or [StoreInSlot]
getter must be wrappercached, because non-wrappercached things can only be
returned from [NewObject] getters or methods.
2016-10-10 18:16:26 -04:00
Boris Zbarsky
010d3de058
Bug 1307115. Improve error reporting on name collisions in webidl. r=qdot
2016-10-04 23:42:06 -04:00
Andrea Marchesini
47e3640d27
Bug 1297393 - Make passing of subject principals to webidl entry points explicit - part 1 - WebIDL [NeedsSubjectPrincipal], r=ehsan, r=peterv
2016-09-29 08:55:19 +02:00
Boris Zbarsky
37ce88ab1c
Bug 1298410. Remove support for IDL arrays, since those are not a thing anymore. r=peterv
2016-09-01 21:31:23 -04:00
Boris Zbarsky
1e5fa72546
Bug 1297756
part 1. Improve the exception thrown when an invalid default value (right type but wrong value) is used for a union. r=mystor
2016-08-30 12:55:15 -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
Edgar Chen
3c4e6a930e
Bug 1286548 - SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; r=bz
...
MozReview-Commit-ID: K7Z3r2YRt7M
--HG--
extra : rebase_source : 5ebb9cd09de4a42690bac6cd04208f108da50731
2016-07-14 17:48:20 +08: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
James Graham
5eb8c8dd4e
Bug 1277039 - Fix output of |mach webidl-parser-test| to be less verbose by default, r=gps
...
MozReview-Commit-ID: AiMiksDzUdt
--HG--
extra : rebase_source : 3125cd305459a8080c3b266b07c199937bc36c5c
2016-06-06 17:52:24 +01:00
Boris Zbarsky
5b496a675c
Bug 1277401 part 3. Add IDL parser support for [Func] on dictionary members. r=peterv
2016-06-07 10:34:54 -04:00
Cameron McCormack
e3ca5e1f4a
Bug 1141916 - Part 2: Support [ChromeOnly] on dictionary members. r=peterv
2016-06-02 12:14:24 -04:00
Cameron McCormack
fe6930a402
Bug 1141916 - Part 1: Store extended attributes on IDLArguments. r=peterv
2016-06-02 12:10:56 -04: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
7e52059153
Bug 1270601 part 1. Add Web IDL parser support for IDL namespace syntax. r=peterv
2016-06-02 10:34:39 -04:00
JMortelliti
b122e889a9
Bug 1015318 - Factor out the common code from IDLNullableType, IDLSequenceType, and IDLMozMapType into a new superclass, IDLParameterizedType. r=bzbarsky
...
MozReview-Commit-ID: 20darfFam9f
2016-05-14 10:17:44 -04:00
Jonathan Watt
c708a6bc4b
Bug 1177957, part 2 - WebIDL parser tests for the [SecureContext] extented attribute. r=bz
...
MozReview-Commit-ID: 7hIblAhdBYw
2016-05-13 23:11:16 +01:00
Jonathan Watt
057734ea40
Bug 1177957, part 1 - Make the WebIDL parser support the [SecureContext] extented attribute. r=bz
...
MozReview-Commit-ID: Hm6ZvBoGeUj
2016-05-13 23:11:16 +01:00
James Graham
2d4b6790d3
Bug 1272698 - Allow specifying tests in |mach webidl-parser-test|, r=gps
...
MozReview-Commit-ID: 8i6qgdF963i
--HG--
extra : rebase_source : b4a1a4db6545ddfc481429c6fac39edd75c9af87
2016-05-13 17:58:46 +01:00
Xidorn Quan
114633161f
Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
...
MozReview-Commit-ID: 61wybyS36KE
--HG--
extra : source : 98e1ae5fa2ddf5308fba6e09b47cbb831c60ac8a
2016-05-12 10:28:56 +10:00
Xidorn Quan
fe0ed0d00a
Bug 1268798 part 2 - Add result summary for WebIDL parser test. r=khuey
...
MozReview-Commit-ID: DMgATDa9yXX
--HG--
extra : source : 94aba7834b4c813251b8a8714ef7a9b10b1f3603
2016-05-12 10:28:56 +10:00
Xidorn Quan
82fa51890c
Bug 1268798 part 1 - Fix exception whitelist in WebIDL parser. r=khuey
...
MozReview-Commit-ID: 5rBXjHgQuGd
--HG--
extra : source : 0fbdf91d6cec99db9baf0646c372da0f5cb664e4
2016-05-12 10:28:56 +10:00
Boris Zbarsky
eb97fe75ff
Bug 1270349
part 1. Add IDL parser support for [LegacyUnenumerableNamedProperties]. r=peterv
2016-05-09 22:25:40 -04:00
Jeff Walden
3017794ba8
Bug 888969 - Permit a cyclic [[Prototype]] chain to be created through a Location object. r=bz, r=efaust
...
--HG--
extra : rebase_source : dca3ecec791ecca5a2512a789c756bb4af1ca895
2016-04-29 19:59:40 -07:00
Peter Van der Beken
f781f02ccd
Bug 1245650 - remove JavaScript-navigator-property category support. r=bz.
...
Generate normal properties with getters for things marked as NavigatorProperty,
instead of defining these from a resolve hook.
2016-02-05 20:20:08 +01:00
Boris Zbarsky
052df2b3f5
Bug 1104955 part 1. Add parsing for [Unscopeable] in IDL. r=khuey
2016-03-29 15:49:45 -04:00