mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 01:52:43 +00:00 
			
		
		
		
	 2258fc273c
			
		
	
	
		2258fc273c
		
	
	
	
	
		
			
			We already have this for C++ code in DOMHighResTimeStamp.h, but let's also avoid using plain 'double' in IDL code.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			387 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			387 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/EventTarget.idl>
 | |
| #import <HighResolutionTime/DOMHighResTimeStamp.idl>
 | |
| #import <NavigationTiming/PerformanceTiming.idl>
 | |
| 
 | |
| // https://w3c.github.io/hr-time/#sec-performance
 | |
| [Exposed=(Window, Worker)]
 | |
| interface Performance : EventTarget {
 | |
|     DOMHighResTimeStamp now();
 | |
|     readonly attribute DOMHighResTimeStamp timeOrigin;
 | |
| 
 | |
|     readonly attribute PerformanceTiming timing;
 | |
| };
 |