Skip to content

Commit

Permalink
Remove DOMException conversion section
Browse files Browse the repository at this point in the history
DOMException is an interface, and this doesn't add anything over the algorithms
for other interfaces.
  • Loading branch information
Ms2ger committed May 22, 2019
1 parent ad03037 commit ff88ac4
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7998,31 +7998,6 @@ that correspond to the union’s [=member types=].
</p>


<h4 id="es-DOMException">DOMException</h4>

IDL {{DOMException}} values are represented by
ECMAScript Object values.

<div id="es-to-DOMException" algorithm="convert an ECMAScript value to DOMException">

An ECMAScript value |V| is [=converted to an IDL value|converted=]
to an IDL {{DOMException}} value by running the following algorithm:

1. If <a abstract-op>Type</a>(|V|) is not Object,
or |V| is not a platform object that represents a {{DOMException}},
then [=ECMAScript/throw=] a {{ECMAScript/TypeError}}.
1. Return the IDL {{DOMException}} value that is a reference
to the same object as |V|.
</div>

<p id="DOMException-to-es">
The result of [=converted to an ECMAScript value|converting=]
an IDL {{DOMException}} value to an ECMAScript
value is the Object value that represents a reference to the same object that the
IDL {{DOMException}} represents.
</p>


<h4 id="es-buffer-source-types">Buffer source types</h4>

Values of the IDL [=buffer source types=]
Expand Down

0 comments on commit ff88ac4

Please sign in to comment.