summaryrefslogtreecommitdiff
path: root/test/data/idl/eventtarget.idl
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-05 11:38:56 +0100
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-05 20:06:05 +0100
commit26dc8906aeb0783cf36bde31e9051b29a193eb23 (patch)
tree0921de4f6a92c3dc6571c1ba693e4ff19d76df8d /test/data/idl/eventtarget.idl
parent1c7bc7e17ace1e457c4c0336353f142aef36d254 (diff)
downloadnsgenbind-26dc8906aeb0783cf36bde31e9051b29a193eb23.tar.gz
nsgenbind-26dc8906aeb0783cf36bde31e9051b29a193eb23.tar.bz2
make tests work
add basic commandlien handling
Diffstat (limited to 'test/data/idl/eventtarget.idl')
-rw-r--r--test/data/idl/eventtarget.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/data/idl/eventtarget.idl b/test/data/idl/eventtarget.idl
new file mode 100644
index 0000000..2cfd15e
--- /dev/null
+++ b/test/data/idl/eventtarget.idl
@@ -0,0 +1,5 @@
+interface EventTarget {
+ void addEventListener(DOMString type, EventListener? callback, optional boolean capture = false);
+ void removeEventListener(DOMString type, EventListener? callback, optional boolean capture = false);
+ boolean dispatchEvent(Event event);
+};