Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Clearing brower cache history and web push endpoint's expiration

  • 1 відповідь
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від Arturo01

more options

A user has an endpoint and receives web push. But if he clears his browser cache, he won't receive web notifications anymore.

So this endpoint becomes kind of "expired". However, if we try sending a push to this user, Mozilla always returned a "201 Created".

In this specific case, could you return an error, e.g. "errno 103 - Expired URL endpoint", telling us that this endpoint won't receive web notifications anymore ?

Thanks

A user has an endpoint and receives web push. But if he clears his browser cache, he won't receive web notifications anymore. So this endpoint becomes kind of "expired". However, if we try sending a push to this user, Mozilla always returned a "201 Created". In this specific case, could you return an error, e.g. "errno 103 - Expired URL endpoint", telling us that this endpoint won't receive web notifications anymore ? Thanks

Усі відповіді (1)

more options

Mozilla has been working on this unwanted behavior : https://bugzilla.mozilla.org/show_bug.cgi?id=1277615

It is now fixed with Firefox Developer Edition v49 and it returns a errno106 - No such subscription in this situation.