Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /webidl/idlharness.any.html - WPT Dashboard Interop Dashboard
- /webidl/idlharness.any.shadowrealm-in-window.html - WPT Dashboard Interop Dashboard
- /webidl/idlharness.any.worker.html - WPT Dashboard Interop Dashboard
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: global=window,dedicatedworker,shadowrealm-in-window
"use strict";
idl_test(
['webidl'],
[],
idl_array => {
idl_array.add_objects({
DOMException: ['new DOMException()',
'new DOMException("my message")',
'new DOMException("my message", "myName")']
});
}
);