diff options
Diffstat (limited to 'dom/bindings/mozwebidlcodegen/test/TestEvent.webidl')
-rw-r--r-- | dom/bindings/mozwebidlcodegen/test/TestEvent.webidl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/bindings/mozwebidlcodegen/test/TestEvent.webidl b/dom/bindings/mozwebidlcodegen/test/TestEvent.webidl new file mode 100644 index 0000000000..db08562918 --- /dev/null +++ b/dom/bindings/mozwebidlcodegen/test/TestEvent.webidl @@ -0,0 +1,13 @@ +interface EventTarget { + void addEventListener(); +}; + +interface Event {}; + +callback EventHandlerNonNull = any (Event event); +typedef EventHandlerNonNull? EventHandler; + +[NoInterfaceObject] +interface TestEvent : EventTarget { + attribute EventHandler onfoo; +}; |