mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:52:43 +00:00 
			
		
		
		
	 70193c0009
			
		
	
	
		70193c0009
		
	
	
	
	
		
			
			With this change, Document now always has a Web::Page. This means we no longer rely on the breakable link between Document and BrowsingContext to find a relevant Web::Page. Fixes #22290
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			257 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			257 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <script src="../include.js"></script>
 | |
| <script>
 | |
|     test(() => {
 | |
|         let e = document.createElement("div");
 | |
|         e.innerHTML = "<img src='data:text/png,'>";
 | |
|         println("PASS! (Didn't crash)");
 | |
|         println(e.firstChild.src);
 | |
|     });
 | |
| </script>
 |