Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: Xref the 'exposed' IDL concept #4819

Merged
merged 1 commit into from
Aug 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2920,6 +2920,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://heycam.github.io/webidl/#createsyntheticmodule">CreateSyntheticModule</dfn></li>
<li><dfn data-x-href="https://heycam.github.io/webidl/#setsyntheticmoduleexport">SetSyntheticModuleExport</dfn></li>
<li><dfn data-x-href="https://heycam.github.io/webidl/#synthetic-module-record">Synthetic Module Record</dfn></li>
<li><dfn data-x="idl-exposed" data-x-href="https://heycam.github.io/webidl/#dfn-exposed">exposed</dfn></li>
</ul>

<p>The <cite>Web IDL</cite> also defines the following types that are used in Web IDL fragments
Expand Down Expand Up @@ -8885,9 +8886,9 @@ o.myself = o;</code></pre>
<ol>
<li><p>Let <var>interfaceName</var> be <var>serialized</var>.[[Type]].</p></li>

<li><p>If the interface identified by <var>interfaceName</var> is not exposed in
<var>targetRealm</var>, then throw a <span>"<code>DataCloneError</code>"</span>
<code>DOMException</code>.</p></li>
<li><p>If the interface identified by <var>interfaceName</var> is not
<span data-x="idl-exposed">exposed</span> in <var>targetRealm</var>, then throw a
<span>"<code>DataCloneError</code>"</span> <code>DOMException</code>.</p></li>

<li><p>Set <var>value</var> to a new instance of the interface identified by
<var>interfaceName</var>, created in <var>targetRealm</var>.</p>
Expand Down