| 
									
										
										
										
											2024-06-09 15:13:38 +12:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2024-06-16 12:47:35 -04:00
										 |  |  |  * Copyright (c) 2024, Shannon Booth <shannon@serenityos.org> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2024-06-09 15:13:38 +12:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include <LibWeb/Bindings/Intrinsics.h>
 | 
					
						
							|  |  |  | #include <LibWeb/Bindings/ValidityStatePrototype.h>
 | 
					
						
							| 
									
										
										
										
											2024-06-16 12:47:35 -04:00
										 |  |  | #include <LibWeb/HTML/ValidityState.h>
 | 
					
						
							| 
									
										
										
										
											2024-06-09 15:13:38 +12:00
										 |  |  | 
 | 
					
						
							|  |  |  | namespace Web::HTML { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-15 04:01:23 +13:00
										 |  |  | GC_DEFINE_ALLOCATOR(ValidityState); | 
					
						
							| 
									
										
										
										
											2024-06-09 15:13:38 +12:00
										 |  |  | 
 | 
					
						
							|  |  |  | ValidityState::ValidityState(JS::Realm& realm) | 
					
						
							|  |  |  |     : PlatformObject(realm) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void ValidityState::initialize(JS::Realm& realm) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     Base::initialize(realm); | 
					
						
							|  |  |  |     WEB_SET_PROTOTYPE_FOR_INTERFACE(ValidityState); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |