Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								7b92889e6b 
								
							 
						 
						
							
							
								
								LibJS: Change Interpreter::create_with_existing_{global_object => realm}  
							
							... 
							
							
							
							We need both a GlobalObject and Realm now, but can get the former from
the latter (once initialized).
This also fixes JS execution in LibWeb, as we failed to set the Realm of
the newly created Interpreter in this function. 
							
						 
						
							2021-09-12 15:18:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								106f295916 
								
							 
						 
						
							
							
								
								LibJS+LibWeb: Make JS::Script and Web::HTML::ClassicScript use Realms  
							
							... 
							
							
							
							The spec wants Script Records to have a Realm, not a GlobalObject. 
							
						 
						
							2021-09-12 15:18:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								1484980f8f 
								
							 
						 
						
							
							
								
								LibWeb+LibJS: Remember source filenames when using HTML::Script  
							
							... 
							
							
							
							It's a lot easier to debug JavaScript problems if you can see which file
the errors are in. :^) 
							
						 
						
							2021-09-11 00:36:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								73be7e227b 
								
							 
						 
						
							
							
								
								LibWeb: Implement the "create" and "run" methods of ClassicScript  
							
							... 
							
							
							
							These correspond to "create a classic script" and "run a classic script"
from the HTML specification. :^) 
							
						 
						
							2021-09-09 21:25:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								0839442da5 
								
							 
						 
						
							
							
								
								LibWeb: Start working on spec-aligned HTML scripting semantics  
							
							... 
							
							
							
							This patch adds HTML::Script and HTML::ClassicScript (subclass of the
former.) 
							
						 
						
							2021-09-09 21:25:10 +02:00