Skip to content

Conversation

taymonbeal
Copy link
Contributor

Previously, these methods returned PromiseLike, even though the spec has always required them to return real Promises and browsers have always done so. According to #60, this was done in order to work around #47; now that #47 has been fixed, this workaround is obsolete.

This generally should not be a breaking change since it is making the SubtleCrypto type contract stricter and that API is generally implemented by the platform, not by users.

Previously, these methods returned PromiseLike, even though the spec has
always required them to return real Promises and browsers have always
done so. According to #60, this was done in order to work around #47;
now that #47 has been fixed, this workaround is obsolete.

This generally should not be a breaking change since it is making the
SubtleCrypto type contract stricter and that API is generally
implemented by the platform, not by users.
@taymonbeal taymonbeal requested a review from sandersn as a code owner March 25, 2020 19:24
@msftclas
Copy link

msftclas commented Mar 25, 2020

CLA assistant check
All CLA requirements met.

@sandersn
Copy link
Member

Thanks for following up on this ancient issue @taymonbeal.

@sandersn sandersn merged commit 8133ef6 into microsoft:master Jun 12, 2020
@taymonbeal taymonbeal deleted the subtlecrypto-promise branch January 28, 2021 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants