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

Fix Chrome/Edge versions for showNotification's options.actions parameter #16261

Merged
merged 1 commit into from
May 13, 2022

Conversation

foolip
Copy link
Contributor

@foolip foolip commented May 12, 2022

Original source: #1255

However, both the orignally suggested 47 and the updated 45 are wrong,
and no evidence is given for either version.

This was enabled together with Notifications.maxActions in 48:
https://storage.googleapis.com/chromium-find-releases-static/2a3.html#2a381fb7a46742b05d199c6614624b1bf1432ebb

We can also confirm 48 is correct with this test:
https://mdn-bcd-collector.appspot.com/tests/api/Notification/maxActions

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label May 12, 2022
@foolip foolip requested a review from queengooborg May 12, 2022 10:29
@foolip foolip mentioned this pull request May 12, 2022
},
"edge": {
"version_added": "≤79"
"version_added": "18"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This matches maxActions which I also tested in Edge 17/18 using https://mdn-bcd-collector.appspot.com/tests/api/Notification/maxActions to confirm it was added in Edge 18.

Since we don't have the source we can't be certain they were added together, but it's very likely I would say.

…eter

Original source: mdn#1255

However, both the orignally suggested 47 and the updated 45 are wrong,
and no evidence is given for either version.

This was enabled together with Notifications.maxActions in 48:
https://storage.googleapis.com/chromium-find-releases-static/2a3.html#2a381fb7a46742b05d199c6614624b1bf1432ebb

We can also confirm 48 is correct with this test:
https://mdn-bcd-collector.appspot.com/tests/api/Notification/maxActions
@foolip foolip force-pushed the options.actions branch from f553ea0 to 5e8540c Compare May 12, 2022 22:40
@queengooborg queengooborg merged commit eb851af into mdn:main May 13, 2022
@foolip foolip deleted the options.actions branch May 13, 2022 07:39
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.

2 participants