mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-29 13:42:37 +00:00 
			
		
		
		
	 d4a890080d
			
		
	
	
		d4a890080d
		
	
	
	
	
		
			
			NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
		
			
				
	
	
		
			31 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/EventTarget.idl>
 | |
| #import <HighResolutionTime/DOMHighResTimeStamp.idl>
 | |
| #import <NavigationTiming/PerformanceTiming.idl>
 | |
| #import <PerformanceTimeline/PerformanceEntry.idl>
 | |
| #import <UserTiming/PerformanceMark.idl>
 | |
| #import <UserTiming/PerformanceMeasure.idl>
 | |
| 
 | |
| // https://www.w3.org/TR/performance-timeline/#dom-performanceentrylist
 | |
| typedef sequence<PerformanceEntry> PerformanceEntryList;
 | |
| 
 | |
| // https://w3c.github.io/hr-time/#sec-performance
 | |
| [Exposed=(Window, Worker)]
 | |
| interface Performance : EventTarget {
 | |
|     DOMHighResTimeStamp now();
 | |
|     readonly attribute DOMHighResTimeStamp timeOrigin;
 | |
| 
 | |
|     readonly attribute PerformanceTiming timing;
 | |
| 
 | |
|     // https://w3c.github.io/user-timing/#extensions-performance-interface
 | |
|     // "User Timing" extensions to the Performance interface
 | |
|     PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions = {});
 | |
|     undefined clearMarks(optional DOMString markName);
 | |
|     PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions = {}, optional DOMString endMark);
 | |
|     undefined clearMeasures(optional DOMString measureName);
 | |
| 
 | |
|     // https://www.w3.org/TR/performance-timeline/#extensions-to-the-performance-interface
 | |
|     // "Performance Timeline" extensions to the Performance interface
 | |
|     PerformanceEntryList getEntries();
 | |
|     PerformanceEntryList getEntriesByType(DOMString type);
 | |
|     PerformanceEntryList getEntriesByName(DOMString name, optional DOMString type);
 | |
| };
 |