diff options
Diffstat (limited to 'testing/web-platform/tests/WebIDL/valid/xml/callback.widlprocxml')
-rw-r--r-- | testing/web-platform/tests/WebIDL/valid/xml/callback.widlprocxml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/web-platform/tests/WebIDL/valid/xml/callback.widlprocxml b/testing/web-platform/tests/WebIDL/valid/xml/callback.widlprocxml new file mode 100644 index 000000000..9eac06ce2 --- /dev/null +++ b/testing/web-platform/tests/WebIDL/valid/xml/callback.widlprocxml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd"> +<Definitions> + <webidl>callback AsyncOperationCallback = void (DOMString status); + +callback interface EventHandler { + void eventOccurred(DOMString details); +};</webidl> + <Callback name="AsyncOperationCallback" id="::AsyncOperationCallback"> + <webidl>callback AsyncOperationCallback = void (DOMString status);</webidl> + <Type type="void"/> + <ArgumentList> + <Argument name="status"> + <Type type="DOMString"/> + </Argument> + </ArgumentList> + </Callback> + <Interface name="EventHandler" callback="callback" id="::EventHandler"> + <webidl>callback interface EventHandler { + void eventOccurred(DOMString details); +};</webidl> + <Operation name="eventOccurred" id="::EventHandler::eventOccurred"> + <webidl> void eventOccurred(DOMString details);</webidl> + <Type type="void"/> + <ArgumentList> + <Argument name="details"> + <Type type="DOMString"/> + </Argument> + </ArgumentList> + </Operation> + </Interface> +</Definitions> |