Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename NDEFReader.prototype.onerror to NDEFReader.prototype.onreadingerror #7613

Merged

Conversation

sideshowbarker
Copy link
Collaborator

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
Collaborator

@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