Differences From
Artifact [15d09c6d9b]:
29 29 'X-Live-Last-Arrival': container._liveLastArrival
30 30 }
31 31 })
32 32
33 33 fetch(req).then(function(resp) {
34 34 if (!resp.ok) return;
35 35 let newest = parseInt(resp.headers.get('X-Live-Newest-Artifact'));
36 - if (newest <= container._liveLastArrival) {
36 + if (newest == container._liveLastArrival) { // != also handles some deletions
37 37 resp.body.cancel();
38 38 return;
39 39 }
40 40 container._liveLastArrival = newest
41 41
42 42 resp.text().then(function(htmlbody) {
43 43 var parser = new DOMParser();