mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	LibWeb: Move the unique task source start to be last in Task::Source
				
					
				
			This also adds some big text to draw attention to the fact that this enum value must remain last.
This commit is contained in:
		
							parent
							
								
									40d732a73c
								
							
						
					
					
						commit
						766cd852d3
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		|  | @ -44,12 +44,13 @@ public: | |||
|         // https://w3c.github.io/performance-timeline/#dfn-performance-timeline-task-source
 | ||||
|         PerformanceTimeline, | ||||
| 
 | ||||
|         // Some elements, such as the HTMLMediaElement, must have a unique task source per instance.
 | ||||
|         // Keep this field last, to serve as the base value of all unique task sources.
 | ||||
|         UniqueTaskSourceStart, | ||||
| 
 | ||||
|         // https://html.spec.whatwg.org/multipage/canvas.html#canvas-blob-serialisation-task-source
 | ||||
|         CanvasBlobSerializationTask, | ||||
| 
 | ||||
|         // !!! IMPORTANT: Keep this field last!
 | ||||
|         // This serves as the base value of all unique task sources.
 | ||||
|         // Some elements, such as the HTMLMediaElement, must have a unique task source per instance.
 | ||||
|         UniqueTaskSourceStart | ||||
|     }; | ||||
| 
 | ||||
|     static NonnullOwnPtr<Task> create(Source source, DOM::Document const* document, JS::SafeFunction<void()> steps) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Zaggy1024
						Zaggy1024