tenfourfox/testing/web-platform/tests/WebIDL/valid/xml/exception-inheritance.widlprocxml

32 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-04-19 07:56:45 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
<webidl> exception DOMException {
unsigned short code;
};
exception HierarchyRequestError : <ref>DOMException</ref> { };
exception NoModificationAllowedError : <ref>DOMException</ref> { };</webidl>
<Exception name="DOMException" id="::DOMException">
<webidl> exception DOMException {
unsigned short code;
};</webidl>
<ExceptionField name="code" id="::DOMException::code">
<webidl> unsigned short code;</webidl>
<Type type="unsigned short"/>
</ExceptionField>
</Exception>
<Exception name="HierarchyRequestError" id="::HierarchyRequestError">
<webidl> exception HierarchyRequestError : <ref>DOMException</ref> { };</webidl>
<ExceptionInheritance>
<Name name="DOMException"/>
</ExceptionInheritance>
</Exception>
<Exception name="NoModificationAllowedError" id="::NoModificationAllowedError">
<webidl> exception NoModificationAllowedError : <ref>DOMException</ref> { };</webidl>
<ExceptionInheritance>
<Name name="DOMException"/>
</ExceptionInheritance>
</Exception>
</Definitions>