summaryrefslogtreecommitdiffstats
path: root/dom/bindings/mozwebidlcodegen/test/TestEvent.webidl
blob: 0b795a80244251421ffcd7a55d4444b7a36104e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
interface EventTarget {
  undefined addEventListener();
};

interface Event {};

callback EventHandlerNonNull = any (Event event);
typedef EventHandlerNonNull? EventHandler;

[LegacyNoInterfaceObject]
interface TestEvent : EventTarget {
  attribute EventHandler onfoo;
};