Skip to content

Commit 7b19a6e

Browse files
Merge pull request #181 from apasel422/resolve
Resolve measureConversion promise with correct type
2 parents 169c889 + ff18be6 commit 7b19a6e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

api.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,8 +1330,11 @@ The <dfn method for=PrivateAttribution>measureConversion(|options|)</dfn> method
13301330
|topLevelSite|, and |now|.
13311331
1. Let |encryptedReport| be the result of encrypting |report|.
13321332
<!-- TODO: Define "encrypting" -->
1333+
1. Let |result| be a {{PrivateAttributionConversionResult}} with the following items:
1334+
: {{PrivateAttributionConversionResult/report}}
1335+
:: |encryptedReport|
13331336
1. [=Queue a task=] on the [=Private Attribution task source=] to
1334-
[=resolve=] |promise| with |encryptedReport|.
1337+
[=resolve=] |promise| with |result|.
13351338
1. Return |promise|.
13361339

13371340
</div>

0 commit comments

Comments
 (0)