forked from mirrors/gecko-dev
		
	
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
export class Bug1622420Child extends JSWindowActorChild {
 | 
						|
  receiveMessage(msg) {
 | 
						|
    switch (msg.name) {
 | 
						|
      case "hasWindowContextForTopBC":
 | 
						|
        return !!this.browsingContext.top.currentWindowContext;
 | 
						|
    }
 | 
						|
    return null;
 | 
						|
  }
 | 
						|
}
 |