 a467d0684e
			
		
	
	
	
	
	a467d0684e* feat: ServiceWorkerMain * refactor: disconnect remote * handle version_info_ nullptr case * initiate finish request when possible and enumerate errors * explicit name for test method * oops * fix: wait for redundant version to stop before destroying * docs: clarify when undefined is returned * chore: remove extra semicolons
		
			
				
	
	
		
			11 lines
		
	
	
		
			No EOL
		
	
	
		
			313 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			No EOL
		
	
	
		
			313 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="en">
 | |
| <body>
 | |
|     <script>
 | |
|         let scriptUrl = new URLSearchParams(location.search).get('scriptUrl') || 'sw.js';
 | |
|         navigator.serviceWorker.register(scriptUrl, {
 | |
|             scope: location.pathname.split('/').slice(0, 2).join('/') + '/'
 | |
|         })
 | |
|     </script>
 | |
| </body>
 | |
| </html> |