mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:12:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			494 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <script src="../include.js"></script>
 | |
| <script>
 | |
|     asyncTest((done) => {
 | |
|         const xhr = new XMLHttpRequest();
 | |
|         xhr.responseType = "document";
 | |
|         xhr.open("GET", "data:text/xml,", true);
 | |
|         xhr.onreadystatechange = function() {
 | |
|             if (xhr.readyState === 4 && xhr.status === 200) {
 | |
|                 let xml = xhr.responseXML;
 | |
|                 println("PASS"); // Didn't crash :^)
 | |
|                 done();
 | |
|             }
 | |
|         };
 | |
|         xhr.send();
 | |
|     });
 | |
| </script>
 | 
