mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:22:43 +00:00 
			
		
		
		
	 c1161111a7
			
		
	
	
		c1161111a7
		
	
	
	
	
		
			
			If the loading of iframe's navigable has not finished by the time FrameBox layout occurs, we should not crash. Fixes https://github.com/SerenityOS/serenity/issues/22874
		
			
				
	
	
		
			15 lines
		
	
	
		
			No EOL
		
	
	
		
			532 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			No EOL
		
	
	
		
			532 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><html><head><style>
 | |
| iframe {
 | |
|     border: 5px solid black;
 | |
|     margin: 5px;
 | |
| }
 | |
| </style></head><body><div id="container"></div><script>
 | |
|     const container = document.getElementById("container");
 | |
|     const manyIframes = "<iframe height=10 width=10></iframe>".repeat(10);
 | |
|     const topDiv = document.createElement("div");
 | |
|     topDiv.style.position = "absolute";
 | |
|     topDiv.style.height = "1px";
 | |
|     topDiv.style.width = "1px";
 | |
|     topDiv.innerHTML = manyIframes;
 | |
|     container.appendChild(topDiv);
 | |
| </script></body></html> |