@@ -5662,7 +5662,7 @@ <h3>Algorithm</h3>
5662
5662
as long as they generally use the same methods, arguments, and options
5663
5663
and return the same results.</ span > </ p >
5664
5664
5665
- < p class ="note "> Interfaces are marked `[Exposed=Endpoint ]`,
5665
+ < p class ="note "> Interfaces are marked `[Exposed=JsonLd ]`,
5666
5666
which creates a global interface.
5667
5667
The use of WebIDL in JSON-LD, while appropriate for use within browsers,
5668
5668
is not limited to such use.</ p >
@@ -5688,12 +5688,12 @@ <h3>Algorithm</h3>
5688
5688
5689
5689
< pre class ="idl ">
5690
5690
/*
5691
- * The Endpoint interface is created to expose the JsonLdProcessor interface.
5691
+ * The JsonLd interface is created to expose the JsonLdProcessor interface.
5692
5692
*/
5693
- [Global=Endpoint , Exposed=Endpoint ]
5694
- interface Endpoint {};
5693
+ [Global=JsonLd , Exposed=JsonLd ]
5694
+ interface JsonLd {};
5695
5695
5696
- [Exposed=Endpoint ]
5696
+ [Exposed=JsonLd ]
5697
5697
interface JsonLdProcessor {
5698
5698
constructor();
5699
5699
static Promise<JsonLdRecord> compact(
@@ -6092,7 +6092,7 @@ <h3>Algorithm</h3>
6092
6092
which has a < a > default graph</ a > accessible via the < a data-link-for ="RdfDataset "> defaultGraph</ a > attribute.</ p >
6093
6093
6094
6094
< pre class ="idl changed ">
6095
- [Exposed=Endpoint ]
6095
+ [Exposed=JsonLd ]
6096
6096
interface RdfDataset {
6097
6097
constructor();
6098
6098
readonly attribute RdfGraph defaultGraph;
@@ -6136,7 +6136,7 @@ <h3>Algorithm</h3>
6136
6136
which is composed of zero or more < a > RdfTriple</ a > instances.</ p >
6137
6137
6138
6138
< pre class ="idl changed ">
6139
- [Exposed=Endpoint ]
6139
+ [Exposed=JsonLd ]
6140
6140
interface RdfGraph {
6141
6141
constructor();
6142
6142
void add(RdfTriple triple);
@@ -6165,7 +6165,7 @@ <h3>Algorithm</h3>
6165
6165
< p > The < dfn > RdfTriple</ dfn > interface describes an < a > triple</ a > .</ p >
6166
6166
6167
6167
< pre class ="idl changed ">
6168
- [Exposed=Endpoint ]
6168
+ [Exposed=JsonLd ]
6169
6169
interface RdfTriple {
6170
6170
constructor();
6171
6171
readonly attribute USVString subject;
@@ -6193,7 +6193,7 @@ <h3>Algorithm</h3>
6193
6193
< p > The < dfn > RdfLiteral</ dfn > interface describes an < a > RDF Literal</ a > .</ p >
6194
6194
6195
6195
< pre class ="idl changed ">
6196
- [Exposed=Endpoint ]
6196
+ [Exposed=JsonLd ]
6197
6197
interface RdfLiteral {
6198
6198
constructor();
6199
6199
readonly attribute USVString value;
@@ -6447,7 +6447,7 @@ <h3>RemoteDocument</h3>
6447
6447
to return information about a remote document or context.</ p >
6448
6448
6449
6449
< pre class ="idl ">
6450
- [Exposed=Endpoint ]
6450
+ [Exposed=JsonLd ]
6451
6451
interface RemoteDocument {
6452
6452
constructor();
6453
6453
readonly attribute USVString contentType;
@@ -7089,7 +7089,7 @@ <h2>Changes since Candidate Release of 05 March 2020</h2>
7089
7089
to update < var > cl reference</ var > and not < var > node</ var > .</ li >
7090
7090
< li > Added < a href ="#api-keywords " class ="sectionRef "> </ a > to describe
7091
7091
the `preserve` keyword, which is only used for framing.</ li >
7092
- < li > Changed `[Exposed=(Window,Worker)]` to `[Exposed=Endpoint ]`,
7092
+ < li > Changed `[Exposed=(Window,Worker)]` to `[Exposed=JsonLd ]`,
7093
7093
which is declared as a global interface in order to expose the {{JsonLdProcessor}} interface
7094
7094
for non-browser usage to address review suggestions.</ li >
7095
7095
</ ul >
0 commit comments