@@ -5082,7 +5082,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5082
5082
and if passed, the < a data-link-for ="JsonldOptions "> compactArrays</ a >
5083
5083
< span class ="changed "> and < a data-link-for ="JsonldOptions "> ordered</ a > </ span >
5084
5084
flags in < a data-lt ="jsonldprocessor-compact-options "> options</ a > .</ li >
5085
- < li > Fulfill the < var > promise</ var > passing < var > compacted output</ var >
5085
+ < li > Resolve the < var > promise</ var > with < var > compacted output</ var >
5086
5086
< span class ="changed "> transforming < var > compacted output</ var > from the
5087
5087
< a > internal representation</ a > to a JSON serialization</ span > .</ li >
5088
5088
</ ol >
@@ -5114,8 +5114,8 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5114
5114
< li > If the passed < a data-lt ="jsonldprocessor-expand-input "> input</ a >
5115
5115
is a < a > string</ a > representing the < a > IRI</ a > of a remote document, await and dereference it as < var > remote document</ var >
5116
5116
using < a > LoadDocumentCallback</ a > , passing < a data-lt ="jsonldprocessor-expand-input "> input</ a >
5117
- for < a data-link-for ="LoadDocumentCallback "> url</ a >
5118
- and the < a data-link-for ="JsonldOptions "> extractAllScripts</ a > option for < a data-link-for ="LoadDocumentOptions "> extractAllScripts</ a > .
5117
+ for < a data-link-for ="LoadDocumentCallback "> url</ a > ,
5118
+ the < a data-link-for ="JsonldOptions "> extractAllScripts</ a > option for < a data-link-for ="LoadDocumentOptions "> extractAllScripts</ a > .
5119
5119
</ li >
5120
5120
< li class ="changed "> If necessary, transform < a data-link-for ="RemoteDocument "> document</ a >
5121
5121
from < var > remote document</ var > into the < a > internal representation</ a > .
@@ -5141,7 +5141,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5141
5141
and if passed, the < span class ="changed "> < a data-link-for ="JsonldOptions "> frameExpansion</ a > </ span >
5142
5142
< span class ="changed "> and < a data-link-for ="JsonldOptions "> ordered</ a > </ span >
5143
5143
flags in < a data-lt ="jsonldprocessor-compact-options "> options</ a > .</ li >
5144
- < li > Fulfill the < var > promise</ var > passing < var > expanded output</ var >
5144
+ < li > Resolve the < var > promise</ var > with < var > expanded output</ var >
5145
5145
< span class ="changed "> transforming < var > expanded output</ var > from the
5146
5146
< a > internal representation</ a > to a JSON serialization</ span > .</ li >
5147
5147
</ ol >
@@ -5187,7 +5187,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5187
5187
and if passed, the < a data-link-for ="JsonldOptions "> compactArrays</ a >
5188
5188
< span class ="changed "> and < a data-link-for ="JsonldOptions "> ordered</ a > </ span >
5189
5189
flags in < a data-lt ="jsonldprocessor-compact-options "> options</ a > .</ li >
5190
- < li > Fulfill the < var > promise</ var > passing < var > flattened output</ var >
5190
+ < li > Resolve the < var > promise</ var > with < var > flattened output</ var >
5191
5191
< span class ="changed "> transforming < var > flattened output</ var > from the
5192
5192
< a > internal representation</ a > to a JSON serialization</ span > .</ li >
5193
5193
</ ol >
@@ -5242,7 +5242,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5242
5242
as is the support for < a > generalized RDF Datasets</ a >
5243
5243
and thus the < a data-link-for ="JsonLdOptions "> produceGeneralizedRdf</ a > option may be also be removed.</ div >
5244
5244
</ li >
5245
- < li > Fulfill the < var > promise</ var > passing < var > dataset</ var > .</ li >
5245
+ < li > Resolve the < var > promise</ var > with < var > dataset</ var > .</ li >
5246
5246
</ ol >
5247
5247
5248
5248
< dl class ="parameters ">
@@ -5283,7 +5283,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5283
5283
as is the support for < a > generalized RDF Datasets</ a >
5284
5284
and thus the < a data-link-for ="JsonLdOptions "> produceGeneralizedRdf</ a > option may be also be removed.</ div >
5285
5285
</ li >
5286
- < li > Fulfill the < var > promise</ var > passing < var > dataset</ var > .</ li >
5286
+ < li > Resolve the < var > promise</ var > with < var > dataset</ var > .</ li >
5287
5287
</ ol >
5288
5288
5289
5289
< dl class ="parameters ">
@@ -5556,8 +5556,8 @@ <h3>LoadDocumentCallback</h3>
5556
5556
5557
5557
< p > The < dfn > LoadDocumentCallback</ dfn > defines a callback that custom document loaders
5558
5558
have to implement to be used to retrieve remote documents and contexts.
5559
- Upon successful completion, the callback returns a < a > Promise</ a > containing a < a > RemoteDocument</ a > .
5560
- On failure, the Promise is rejected with an appropriate error < a data-link-for ="JsonLdError "> code</ a > .</ p >
5559
+ The callback returns a < a > Promise</ a > resolving to a < a > RemoteDocument</ a > .
5560
+ On failure, the < a > Promise</ a > is rejected with an appropriate error < a data-link-for ="JsonLdError "> code</ a > .</ p >
5561
5561
5562
5562
< pre class ="idl " data-transform ="unComment "> <!--
5563
5563
callback LoadDocumentCallback = Promise<RemoteDocument> (
@@ -5684,7 +5684,7 @@ <h3>LoadDocumentCallback</h3>
5684
5684
the returned < a > Content-Type</ a > (without parameters) as < a data-link-for ="RemoteDocument "> contentType</ a > ,
5685
5685
any returned < code > profile</ code > parameter,
5686
5686
and any < var > contextUrl</ var > .</ li >
5687
- < li > Fulfill the < var > promise</ var > passing < var > remote document</ var > .</ li >
5687
+ < li > Resolve the < var > promise</ var > with < var > remote document</ var > .</ li >
5688
5688
</ ol >
5689
5689
5690
5690
< p class ="note "> A custom < a > LoadDocumentCallback</ a > set via the
0 commit comments