mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	LibWeb: Place the unique task source used by media elements last
In the merging of an extremely large navigables PR, a task queue source was added after the unique task source start value that was supposed to remain last in the enum.
This commit is contained in:
		
							parent
							
								
									bfd6deed1e
								
							
						
					
					
						commit
						8157bb601b
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -32,15 +32,15 @@ public: | |||
|         TimerTask, | ||||
|         JavaScriptEngine, | ||||
| 
 | ||||
|         // 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/webappapis.html#navigation-and-traversal-task-source
 | ||||
|         NavigationAndTraversal, | ||||
| 
 | ||||
|         // https://w3c.github.io/FileAPI/#fileReadingTaskSource
 | ||||
|         FileReading, | ||||
| 
 | ||||
|         // 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, | ||||
|     }; | ||||
| 
 | ||||
|     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