Confirmed users
964
edits
(Add some more formatting, 140% cooler now.) |
(→PUSH API: todos) |
||
| Line 368: | Line 368: | ||
# <code>teardown()</code> | # <code>teardown()</code> | ||
'''TODO'''<br/> | |||
Test's for:<br/> | |||
* Quota, the limit of silent push messages that a user agent (UA) can receive when off web site before UA is unsubscribed from push for that domain. Approximately 30 messages if send every five minutes when off site, less for longer duration. | |||
* Restart browser and off site behaviors | |||
* TTL - time which a message will be dropped if UA is is not online. For example: if TTL=60 and a UA is offline for 59 seconds, they should receive the push message when they come online. If online after 61 seconds, message will be dropped, and UA will not receive message. | |||
* Test different browser modes: e10s/Multi-process mode, Private browsing mode (ServiceWorkers don't work in that mode) | |||
* Test unregistering service worker and verify notifications were not sent. | |||
* Test disable push events should block any push message communication to device. | |||
* Test Do Not Disturb till Fx is restarted. | |||
* Test edge case - multiple browser profiles and multiple tabs doing SW/push subscription. | |||
== PUSH API - REFERENCE == | == PUSH API - REFERENCE == | ||