Commit ec843b92 authored by Yusei Tahara's avatar Yusei Tahara Committed by Romain Courteaud

[erp5_web_renderjs_ui] Stop calling skipWaiting() and clients.claim() for the new service worker.

To preserve the consistency of code and data, let the new service worker wait until all tabs and windows of the old version are closed.
parent 32d16035
...@@ -178,10 +178,6 @@ ...@@ -178,10 +178,6 @@
}) })
) )
}) })
.then(function () {
// At this point everything has been cached
return self.skipWaiting();
})
); );
}); });
...@@ -242,9 +238,6 @@ ...@@ -242,9 +238,6 @@
}) })
); );
}) })
.then(function () {
self.clients.claim();
})
); );
}); });
......
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>976.12179.24771.41523</string> </value> <value> <string>976.12184.1503.10769</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1559719201.36</float> <float>1559722495.74</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment