summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-11-21 16:18:37 +0000
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-11-21 16:18:37 +0000
commit2bfd4d2720b55df0141189633ef6fae530663d04 (patch)
treea71fb8a50c0152ad1729523735e290a8d8aba365 /test/data
parent93c89193c1f2a29b00741d1494f262642108abe2 (diff)
downloadnsgenbind-2bfd4d2720b55df0141189633ef6fae530663d04.tar.gz
nsgenbind-2bfd4d2720b55df0141189633ef6fae530663d04.tar.bz2
name and docuemnt the binding property attribute
Diffstat (limited to 'test/data')
-rw-r--r--test/data/bindings/window.bnd10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/data/bindings/window.bnd b/test/data/bindings/window.bnd
index 7b411b1..50ffe51 100644
--- a/test/data/bindings/window.bnd
+++ b/test/data/bindings/window.bnd
@@ -31,8 +31,10 @@ binding window {
internal "JSObject *" console;
internal "JSObject *" location;
- shared unshared type EventHandler;
- shared unshared foo;
+ property unshared type WindowProxy;
+ property unshared foo;
+ property shared type EventHandler;
+ property shared baz;
}
api mark %{
@@ -199,3 +201,7 @@ getter window %{
getter self %{
jsret = obj;
%}
+
+getter EventHandler %{
+ /* example shared property type handler */
+%}