mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:22:44 +00:00 
			
		
		
		
	 e52c30cbd5
			
		
	
	
		e52c30cbd5
		
	
	
	
	
		
			
			We have a 5 second timeout between a user-activated event occurring and an activation-gated API being invoked in order for that API to succeed. This is quite fine in normal circumstances, but the machines used in CI often exceed that limit (we see upwards of 10 seconds passing between generating the user-activated event and the API call running). So instead of generating a user-activated event, add a hook to allow tests to bypass the very next activation check.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			464 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			464 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/EventTarget.idl>
 | |
| #import <HTML/HTMLElement.idl>
 | |
| 
 | |
| [Exposed=Nobody] interface Internals {
 | |
| 
 | |
|     undefined signalTextTestIsDone();
 | |
|     undefined gc();
 | |
|     object hitTest(double x, double y);
 | |
| 
 | |
|     undefined sendText(HTMLElement target, DOMString text);
 | |
|     undefined commitText();
 | |
| 
 | |
|     undefined click(double x, double y);
 | |
|     undefined wheel(double x, double y, double deltaX, double deltaY);
 | |
| 
 | |
|     attribute boolean bypassNextTransientActivationTest;
 | |
| 
 | |
| };
 |