Skip to content

Commit 5954458

Browse files
committed
Removed the [Exposed=(Window,Worker)] extended attribute from to address review suggestions.
1 parent 3509ca8 commit 5954458

File tree

2 files changed

+8386
-8
lines changed

2 files changed

+8386
-8
lines changed

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5662,8 +5662,11 @@ <h3>Algorithm</h3>
56625662
as long as they generally use the same methods, arguments, and options
56635663
and return the same results.</span></p>
56645664

5665-
<p class="note">Interfaces are marked `[Exposed=(Window,Worker)]`,
5666-
but the API is also intended for use outside of a browser context.</p>
5665+
<p class="note">Interfaces are not marked with the `[Exposed]`
5666+
<a data-cite="WEBIDL#dfn-extended-attribute">extended attribute</a>,
5667+
as this is currently quite browser specific.
5668+
The use of WebIDL in JSON-LD, while appropriate for use within browsers,
5669+
is not limited to such use.</p>
56675670

56685671
<section><h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
56695672

@@ -5685,7 +5688,6 @@ <h3>Algorithm</h3>
56855688
in this document mention this directly.</p>
56865689

56875690
<pre class="idl">
5688-
[Exposed=(Window,Worker)]
56895691
interface JsonLdProcessor {
56905692
constructor();
56915693
static Promise&lt;JsonLdRecord> compact(
@@ -6084,7 +6086,6 @@ <h3>Algorithm</h3>
60846086
which has a <a>default graph</a> accessible via the <a data-link-for="RdfDataset">defaultGraph</a> attribute.</p>
60856087

60866088
<pre class="idl changed">
6087-
[Exposed=(Window,Worker)]
60886089
interface RdfDataset {
60896090
constructor();
60906091
readonly attribute RdfGraph defaultGraph;
@@ -6128,7 +6129,6 @@ <h3>Algorithm</h3>
61286129
which is composed of zero or more <a>RdfTriple</a> instances.</p>
61296130

61306131
<pre class="idl changed">
6131-
[Exposed=(Window,Worker)]
61326132
interface RdfGraph {
61336133
constructor();
61346134
void add(RdfTriple triple);
@@ -6157,7 +6157,6 @@ <h3>Algorithm</h3>
61576157
<p>The <dfn>RdfTriple</dfn> interface describes an <a>triple</a>.</p>
61586158

61596159
<pre class="idl changed">
6160-
[Exposed=(Window,Worker)]
61616160
interface RdfTriple {
61626161
constructor();
61636162
readonly attribute USVString subject;
@@ -6185,7 +6184,6 @@ <h3>Algorithm</h3>
61856184
<p>The <dfn>RdfLiteral</dfn> interface describes an <a>RDF Literal</a>.</p>
61866185

61876186
<pre class="idl changed">
6188-
[Exposed=(Window,Worker)]
61896187
interface RdfLiteral {
61906188
constructor();
61916189
readonly attribute USVString value;
@@ -6439,7 +6437,6 @@ <h3>RemoteDocument</h3>
64396437
to return information about a remote document or context.</p>
64406438

64416439
<pre class="idl">
6442-
[Exposed=(Window,Worker)]
64436440
interface RemoteDocument {
64446441
constructor();
64456442
readonly attribute USVString contentType;
@@ -7081,6 +7078,9 @@ <h2>Changes since Candidate Release of 05 March 2020</h2>
70817078
to update <var>cl reference</var> and not <var>node</var>.</li>
70827079
<li>Added <a href="#api-keywords" class="sectionRef"></a> to describe
70837080
the `preserve` keyword, which is only used for framing.</li>
7081+
<li>Removed the `[Exposed=(Window,Worker)]`
7082+
<a data-cite="WEBIDL#dfn-extended-attribute">extended attribute</a>
7083+
from <a href="#the-application-programming-interface" class="sectionRef"></a> to address review suggestions.</li>
70847084
</ul>
70857085
</section>
70867086
<section id="ack"

0 commit comments

Comments
 (0)