diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-04 10:28:38 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:14 -0500 |
commit | df23f78ad16b40c244f518dba28a8555d61bdd0c (patch) | |
tree | 0d0806f435a548df4dd2d2af0df531e93bd3bc77 /dom/bindings/test/TestCodeGen.webidl | |
parent | 20799ce18c18ff1ad3125ad4e8a7a679b57a858f (diff) | |
download | UXP-df23f78ad16b40c244f518dba28a8555d61bdd0c.tar UXP-df23f78ad16b40c244f518dba28a8555d61bdd0c.tar.gz UXP-df23f78ad16b40c244f518dba28a8555d61bdd0c.tar.lz UXP-df23f78ad16b40c244f518dba28a8555d61bdd0c.tar.xz UXP-df23f78ad16b40c244f518dba28a8555d61bdd0c.zip |
Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen.
Tag UXP Issue #1344
Diffstat (limited to 'dom/bindings/test/TestCodeGen.webidl')
-rw-r--r-- | dom/bindings/test/TestCodeGen.webidl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/bindings/test/TestCodeGen.webidl b/dom/bindings/test/TestCodeGen.webidl index 35777f6aa..3fce5e21b 100644 --- a/dom/bindings/test/TestCodeGen.webidl +++ b/dom/bindings/test/TestCodeGen.webidl @@ -947,6 +947,10 @@ interface TestInterface { [NeedsSubjectPrincipal] attribute boolean needsSubjectPrincipalAttr; [NeedsCallerType] void needsCallerTypeMethod(); [NeedsCallerType] attribute boolean needsCallerTypeAttr; + [CEReactions] void ceReactionsMethod(); + [CEReactions] void ceReactionsMethodOverload(); + [CEReactions] void ceReactionsMethodOverload(DOMString bar); + [CEReactions] attribute boolean ceReactionsAttr; legacycaller short(unsigned long arg1, TestInterface arg2); void passArgsWithDefaults(optional long arg1, optional TestInterface? arg2 = null, @@ -1266,3 +1270,12 @@ interface TestWorkerExposedInterface { [HTMLConstructor] interface TestHTMLConstructorInterface { }; + +interface TestCEReactionsInterface { + [CEReactions] setter creator void (unsigned long index, long item); + [CEReactions] setter creator void (DOMString name, DOMString item); + [CEReactions] deleter void (DOMString name); + getter long item(unsigned long index); + getter DOMString (DOMString name); + readonly attribute unsigned long length; +}; |