-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add compat data for ServiceWorkerMessageEvent #1013
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really good, a few things to change, but we are close to land this.
Good and correct use of "version_removed".
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"edge": { | ||
"version_added": "17", | ||
"notes": "Service workers is available in Microsoft Edge starting EdgeHTML 16 behind a flag." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"flags"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. As the data in the table & notes only refers to the above, how do I shape this as a flag? Previously (Fx example earlier today) I've had:
"type": "preference", // known
"name": "dom.payments.request.enabled", // unknown in this Edge example
"value_to_set": "true" // unknown in this Edge example
Does it get added as a note? Looking in Edge release notes, the flag is not clear to a newbie like me. 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh I think you answered this elsewhere. Wrapping my head around it. No need to respond to me now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is it (indentation not correct):
"edge": [ {
"version_added": "17"
},
{
"version_added: "16",
"flags": [ {
"type": "preference",
"name": "Enable service workers"
} ]
}
]
api/ServiceWorkerMessageEvent.json
Outdated
"firefox": { | ||
"version_added": "44", | ||
"version_removed": "55", | ||
"notes": "Service workers (and Push) have been disabled in the Firefox 45 and 52 Extended Support Releases (ESR)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a 2nd note saying that: "In Firefox 55 and later, the standard <code>MessageEvent</code> interface must be used instead." (only on the interface)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actioning the rest of this now
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"edge": { | ||
"version_added": "17", | ||
"notes": "Service workers is available in Microsoft Edge starting EdgeHTML 16 behind a flag." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"flags"
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"edge": { | ||
"version_added": "17", | ||
"notes": "Service workers is available in Microsoft Edge starting EdgeHTML 16 behind a flag." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"flags"
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"edge": { | ||
"version_added": "17", | ||
"notes": "Service workers is available in Microsoft Edge starting EdgeHTML 16 behind a flag." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"flags"
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"edge": { | ||
"version_added": "17", | ||
"notes": "Service workers is available in Microsoft Edge starting EdgeHTML 16 behind a flag." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"flags"
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"edge": { | ||
"version_added": "17", | ||
"notes": "Service workers is available in Microsoft Edge starting EdgeHTML 16 behind a flag." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"flags"
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"firefox": { | ||
"version_added": "44", | ||
"notes": "Service workers (and Push) have been disabled in the Firefox 45 and 52 Extended Support Releases (ESR)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"version_removed" is missing here.
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"edge": { | ||
"version_added": "17", | ||
"notes": "Service workers is available in Microsoft Edge starting EdgeHTML 16 behind a flag." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"flags"
api/ServiceWorkerMessageEvent.json
Outdated
}, | ||
"firefox": { | ||
"version_added": "44", | ||
"notes": "Service workers (and Push) have been disabled in the Firefox 45 and 52 Extended Support Releases (ESR)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"version_removed" is missing here.
api/ServiceWorkerMessageEvent.json
Outdated
"version_added": "24" | ||
}, | ||
"opera_android": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 24.
api/ServiceWorkerMessageEvent.json
Outdated
"version_added": "24" | ||
}, | ||
"opera_android": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
24
api/ServiceWorkerMessageEvent.json
Outdated
"version_added": "24" | ||
}, | ||
"opera_android": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
24
api/ServiceWorkerMessageEvent.json
Outdated
"version_added": "24" | ||
}, | ||
"opera_android": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
24
api/ServiceWorkerMessageEvent.json
Outdated
"version_added": "24" | ||
}, | ||
"opera_android": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
24
api/ServiceWorkerMessageEvent.json
Outdated
"version_added": "24" | ||
}, | ||
"opera_android": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
24
api/ServiceWorkerMessageEvent.json
Outdated
"version_added": "24" | ||
}, | ||
"opera_android": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
24
Looks good to me. If I see it correctly, Joe's comments have not been addressed yet, but otherwise this is good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! Thanks :)
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerMessageEvent
as in #1002 notes for ESR might need editing.