mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:02:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| describe("window_frames_self", () => {
 | |
|     loadLocalPage("/res/html/misc/blank.html");
 | |
| 
 | |
|     afterInitialPageLoad(page => {
 | |
|         test("window.{window,frames,self} all return the Window object", () => {
 | |
|             expect(page.window.window).toBe(page.window.frames);
 | |
|             expect(page.window.window).toBe(page.window.self);
 | |
|         });
 | |
|     });
 | |
|     waitForPageToLoad();
 | |
| });
 | 
