w3c / push-api

Push API
https://w3c.github.io/push-api/
Other
144 stars 40 forks source link

Editorial: Improving readability #363

Closed karlcow closed 9 months ago

karlcow commented 9 months ago

Closes #361

The current PR is to make the paragraph about revocation more readable. It also changes the order of MUST and MAY to make sure the priorities are clear.

No change of implementation, so no need to modify WPT.


Preview | Diff

marcoscaceres commented 9 months ago

I know this seems cumbersome, but it's because it's calling into an algorithm. The actual problem here is that it's not correctly queuing the tasks to fire the event at the service worker registration. The change doesn't really make things more clear with that respect.

I'll try to rewrite this to address the issue.