Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								6e19ab2bbc 
								
							 
						 
						
							
							
								
								AK+Everywhere: Rename String to DeprecatedString  
							
							... 
							
							
							
							We have a new, improved string type coming up in AK (OOM aware, no null
state), and while it's going to use UTF-8, the name UTF8String is a
mouthful - so let's free up the String name by renaming the existing
class.
Making the old one have an annoying name will hopefully also help with
quick adoption :^) 
							
						 
						
							2022-12-06 08:54:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								65e7c58990 
								
							 
						 
						
							
							
								
								LibJS: Make Script.h not include AST.h  
							
							
							
						 
						
							2022-11-23 16:05:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8cb6484f6c 
								
							 
						 
						
							
							
								
								LibJS: Make Script.h not include Parser.h  
							
							
							
						 
						
							2022-11-23 16:05:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								e6331031c4 
								
							 
						 
						
							
							
								
								LibJS: Make Parser::Error a standalone ParserError class  
							
							... 
							
							
							
							This allows us to forward declare it and reduce the number of things
that need to include Parser.h. 
							
						 
						
							2022-11-23 16:05:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									networkException 
								
							 
						 
						
							
							
							
							
								
							
							
								5a3e079deb 
								
							 
						 
						
							
							
								
								LibJS: Mark [[HostDefined]] accessor on scripts as const  
							
							
							
						 
						
							2022-10-06 16:41:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8f9ed415a0 
								
							 
						 
						
							
							
								
								LibJS+LibWeb: Make HTML::Script GC-allocated  
							
							... 
							
							
							
							This allows the garbage collector to keep HTML::Script objects alive and
fixes a bug where a HTMLScriptElement could get GC'd while its code was
executing. 
							
						 
						
							2022-09-06 00:27:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								00c8f07192 
								
							 
						 
						
							
							
								
								LibJS: Make Script and Module GC-allocated  
							
							... 
							
							
							
							This ensures that code currently in any active or saved execution stack
always stays alive. 
							
						 
						
							2022-09-06 00:27:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lenny Maiorani 
								
							 
						 
						
							
							
							
							
								
							
							
								d00b79568f 
								
							 
						 
						
							
							
								
								Libraries: Use default constructors/destructors in LibJS  
							
							... 
							
							
							
							https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules 
"The compiler is more likely to get the default semantics right and
you cannot implement these functions better than the compiler." 
						
							2022-03-16 16:19:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Idan Horowitz 
								
							 
						 
						
							
							
							
							
								
							
							
								c575710e5e 
								
							 
						 
						
							
							
								
								LibWeb: Use inline script tag source line as javascript line offset  
							
							... 
							
							
							
							This makes JS exception line numbers meaningful for inline script tags. 
							
						 
						
							2022-03-14 00:25:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								6ddbe8f953 
								
							 
						 
						
							
							
								
								LibJS: Add [[HostDefined]] internal slot to Script objects  
							
							... 
							
							
							
							In C++, this is a raw pointer to a Script::HostDefined. 
							
						 
						
							2022-02-07 19:16:46 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								85cf80507f 
								
							 
						 
						
							
							
								
								LibJS: Make ScriptOrModule use WeakPtr instead of raw pointers  
							
							
							
						 
						
							2022-02-07 19:16:45 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									davidot 
								
							 
						 
						
							
							
							
							
								
							
							
								12c2f30c54 
								
							 
						 
						
							
							
								
								LibJS: Add filename tracking to Script and Module  
							
							... 
							
							
							
							This will allow us to resolve modules dynamically loaded from a script. 
							
						 
						
							2022-01-22 01:21:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								10c489713d 
								
							 
						 
						
							
							
								
								LibJS+LibWeb: Let JS::Script::parse() return a list of errors (on error)  
							
							... 
							
							
							
							These are really supposed to be a list of SyntaxError objects, but for
now we simply return all the Parser::Error objects we got from Parser. 
							
						 
						
							2021-09-14 21:41:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								f08a46bd9e 
								
							 
						 
						
							
							
								
								LibJS: Make JS::Script keep the VM alive  
							
							... 
							
							
							
							Script has a Handle member (m_realm), and for handles to remain valid,
the VM must stay alive. 
							
						 
						
							2021-09-14 21:41:51 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								d823d7da54 
								
							 
						 
						
							
							
								
								LibJS: Implement the ParseScript AO (as JS::Script::parse())  
							
							
							
						 
						
							2021-09-09 21:25:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								612a23d6fc 
								
							 
						 
						
							
							
								
								LibJS: Start adding a JS::Script class (spec's "Script Record")  
							
							
							
						 
						
							2021-09-09 21:25:10 +02:00