mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:42:44 +00:00 
			
		
		
		
	LibWeb: Fix setTimeout() when there's no active script
Implements https://github.com/whatwg/html/pull/9712 Fixes https://github.com/SerenityOS/serenity/issues/20970
This commit is contained in:
		
							parent
							
								
									9335524f15
								
							
						
					
					
						commit
						56f0b10d14
					
				
					 4 changed files with 44 additions and 28 deletions
				
			
		|  | @ -0,0 +1,9 @@ | |||
| <script src="include.js"></script> | ||||
| <script> | ||||
|     test(() => { | ||||
|         queueMicrotask(setTimeout.bind(this, () => {})); | ||||
|         queueMicrotask(() => { | ||||
|             println("didn't crash!"); | ||||
|         }); | ||||
|     }); | ||||
| </script> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Luke Wilde
						Luke Wilde