diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /js/xpconnect/tests/idl/xpctest_utils.idl | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/xpconnect/tests/idl/xpctest_utils.idl')
-rw-r--r-- | js/xpconnect/tests/idl/xpctest_utils.idl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/js/xpconnect/tests/idl/xpctest_utils.idl b/js/xpconnect/tests/idl/xpctest_utils.idl index e59814272b..db135fcbe1 100644 --- a/js/xpconnect/tests/idl/xpctest_utils.idl +++ b/js/xpconnect/tests/idl/xpctest_utils.idl @@ -17,3 +17,26 @@ interface nsIXPCTestFunctionInterface : nsISupports { interface nsIXPCTestUtils : nsISupports { nsIXPCTestFunctionInterface doubleWrapFunction(in nsIXPCTestFunctionInterface f); }; + +/* + * Test that non-[scriptable] interfaces and [noscript] members are not + * generated for TypeScript bindings. + */ + +[uuid(ddf64cfb-668a-4571-a900-0fe2babb6249)] +interface nsIXPCTestNotScriptable : nsISupports { + // Empty. +}; + +[scriptable, uuid(1bbfe703-c67d-4995-b061-564c8a1c39d7)] +interface nsIXPCTestNoScriptMembers : nsISupports { + [noscript] + attribute long noscriptProp; + + attribute long exposedProp; + + [noscript] + void noscriptMethod(in long arg); + + void exposedMethod(in long arg); +}; |