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

interface Event {};

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

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