@@ -5078,7 +5078,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5078
5078
and if passed, the < a data-link-for ="JsonldOptions "> compactArrays</ a >
5079
5079
< span class ="changed "> and < a data-link-for ="JsonldOptions "> ordered</ a > </ span >
5080
5080
flags in < a data-lt ="jsonldprocessor-compact-options "> options</ a > .</ li >
5081
- < li > Fulfill the < var > promise</ var > passing < var > compacted output</ var >
5081
+ < li > Resolve the < var > promise</ var > with < var > compacted output</ var >
5082
5082
< span class ="changed "> transforming < var > compacted output</ var > from the
5083
5083
< a > internal representation</ a > to a JSON serialization</ span > .</ li >
5084
5084
</ ol >
@@ -5110,8 +5110,8 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5110
5110
< li > If the passed < a data-lt ="jsonldprocessor-expand-input "> input</ a >
5111
5111
is a < a > string</ a > representing the < a > IRI</ a > of a remote document, await and dereference it as < var > remote document</ var >
5112
5112
using < a > LoadDocumentCallback</ a > , passing < a data-lt ="jsonldprocessor-expand-input "> input</ a >
5113
- for < a data-link-for ="LoadDocumentCallback "> url</ a >
5114
- and the < a data-link-for ="JsonldOptions "> extractAllScripts</ a > option for < a data-link-for ="LoadDocumentOptions "> extractAllScripts</ a > .
5113
+ for < a data-link-for ="LoadDocumentCallback "> url</ a > ,
5114
+ the < a data-link-for ="JsonldOptions "> extractAllScripts</ a > option for < a data-link-for ="LoadDocumentOptions "> extractAllScripts</ a > .
5115
5115
</ li >
5116
5116
< li class ="changed "> If necessary, transform < a data-link-for ="RemoteDocument "> document</ a >
5117
5117
from < var > remote document</ var > into the < a > internal representation</ a > .
@@ -5137,7 +5137,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5137
5137
and if passed, the < span class ="changed "> < a data-link-for ="JsonldOptions "> frameExpansion</ a > </ span >
5138
5138
< span class ="changed "> and < a data-link-for ="JsonldOptions "> ordered</ a > </ span >
5139
5139
flags in < a data-lt ="jsonldprocessor-compact-options "> options</ a > .</ li >
5140
- < li > Fulfill the < var > promise</ var > passing < var > expanded output</ var >
5140
+ < li > Resolve the < var > promise</ var > with < var > expanded output</ var >
5141
5141
< span class ="changed "> transforming < var > expanded output</ var > from the
5142
5142
< a > internal representation</ a > to a JSON serialization</ span > .</ li >
5143
5143
</ ol >
@@ -5183,7 +5183,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5183
5183
and if passed, the < a data-link-for ="JsonldOptions "> compactArrays</ a >
5184
5184
< span class ="changed "> and < a data-link-for ="JsonldOptions "> ordered</ a > </ span >
5185
5185
flags in < a data-lt ="jsonldprocessor-compact-options "> options</ a > .</ li >
5186
- < li > Fulfill the < var > promise</ var > passing < var > flattened output</ var >
5186
+ < li > Resolve the < var > promise</ var > with < var > flattened output</ var >
5187
5187
< span class ="changed "> transforming < var > flattened output</ var > from the
5188
5188
< a > internal representation</ a > to a JSON serialization</ span > .</ li >
5189
5189
</ ol >
@@ -5265,7 +5265,7 @@ <h3>The <dfn>JsonLdProcessor</dfn> Interface</h3>
5265
5265
as is the support for < a > generalized RDF Datasets</ a >
5266
5266
and thus the < a data-link-for ="JsonLdOptions "> produceGeneralizedRdf</ a > option may be also be removed.</ div >
5267
5267
</ li >
5268
- < li > Fulfill the < var > promise</ var > passing < var > dataset</ var > .</ li >
5268
+ < li > Resolve the < var > promise</ var > with < var > dataset</ var > .</ li >
5269
5269
</ ol >
5270
5270
5271
5271
< dl class ="parameters ">
@@ -5538,8 +5538,8 @@ <h3>LoadDocumentCallback</h3>
5538
5538
5539
5539
< p > The < dfn > LoadDocumentCallback</ dfn > defines a callback that custom document loaders
5540
5540
have to implement to be used to retrieve remote documents and contexts.
5541
- Upon successful completion, the callback returns a < a > Promise</ a > containing a < a > RemoteDocument</ a > .
5542
- On failure, the Promise is rejected with an appropriate error < a data-link-for ="JsonLdError "> code</ a > .</ p >
5541
+ The callback returns a < a > Promise</ a > resolving to a < a > RemoteDocument</ a > .
5542
+ On failure, the < a > Promise</ a > is rejected with an appropriate error < a data-link-for ="JsonLdError "> code</ a > .</ p >
5543
5543
5544
5544
< pre class ="idl " data-transform ="unComment "> <!--
5545
5545
callback LoadDocumentCallback = Promise<RemoteDocument> (
@@ -5666,7 +5666,7 @@ <h3>LoadDocumentCallback</h3>
5666
5666
the returned < a > Content-Type</ a > (without parameters) as < a data-link-for ="RemoteDocument "> contentType</ a > ,
5667
5667
any returned < code > profile</ code > parameter,
5668
5668
and any < var > contextUrl</ var > .</ li >
5669
- < li > Fulfill the < var > promise</ var > passing < var > remote document</ var > .</ li >
5669
+ < li > Resolve the < var > promise</ var > with < var > remote document</ var > .</ li >
5670
5670
</ ol >
5671
5671
5672
5672
< p class ="note "> A custom < a > LoadDocumentCallback</ a > set via the
0 commit comments