Skip to content

Conversation

sideshowbarker
Copy link
Member

This change renames NDEFReader.prototype.onerror to NDEFReader.prototype.onreadingerror, per the spec change at w3c/web-nfc@a71bff9 (w3c/web-nfc#601).


No browsers yet implement this feature, so alternatively, we could just remove it from BCD.

I’ve already also updated MDN for this, to make https://developer.mozilla.org/docs/Web/API/NDEFReader/onerror a redirect to https://developer.mozilla.org//docs/Web/API/NDEFReader/onreadingerror

This change renames NDEFReader.prototype.onerror to
NDEFReader.prototype.onreadingerror, per the spec change at
w3c/web-nfc@a71bff9
(w3c/web-nfc#601).
@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Dec 8, 2020
Copy link
Contributor

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you! 🎉

@ddbeck ddbeck merged commit bed8343 into mdn:master Dec 10, 2020
@sideshowbarker sideshowbarker deleted the sideshowbarker/NDEFReader-onreadingerror-rename branch December 10, 2020 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants