OLD | NEW |
1 // Ensure we can handle multiple install handlers. One handler throwing an | 1 // Ensure we can handle multiple install handlers. One handler throwing an |
2 // error should cause the event dispatch to be treated as having unhandled | 2 // error should cause the event dispatch to be treated as having unhandled |
3 // errors. | 3 // errors. |
4 self.addEventListener('install', function(event) {}); | 4 self.addEventListener('install', function(event) {}); |
5 self.addEventListener('install', function(event) {}); | 5 self.addEventListener('install', function(event) {}); |
6 self.addEventListener('install', function(event) { throw new Error(); }); | 6 self.addEventListener('install', function(event) { throw new Error(); }); |
7 self.addEventListener('install', function(event) {}); | 7 self.addEventListener('install', function(event) {}); |
OLD | NEW |