mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:42:43 +00:00 
			
		
		
		
	 a653b60e49
			
		
	
	
		a653b60e49
		
	
	
	
	
		
			
			This fixes an assertion on https://amazon.com/ since WindowProxy would advertise "0" as an own property key, but then act like it was a bogus property when actually queried for it directly.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			200 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			200 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <script src="include.js"></script>
 | |
| <iframe src="about:blank"></iframe>
 | |
| <script>
 | |
|     test(() => {
 | |
|         println(0 in window)
 | |
|         println(window[0])
 | |
|         println(1 in window)
 | |
|     });
 | |
| </script>
 |