mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:22:45 +00:00 
			
		
		
		
	LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors
Note that as of this commit, there aren't any such throwers, and the call site in Heap::allocate will drop exceptions on the floor. This commit only serves to change the declaration of the overrides, make sure they return an empty value, and to propagate OOM errors frm their base initialize invocations.
This commit is contained in:
		
							parent
							
								
									1c1b902a6a
								
							
						
					
					
						commit
						2692db8699
					
				
					 694 changed files with 1774 additions and 1065 deletions
				
			
		|  | @ -23,7 +23,7 @@ public: | |||
| private: | ||||
|     HTMLSpanElement(DOM::Document&, DOM::QualifiedName); | ||||
| 
 | ||||
|     virtual void initialize(JS::Realm&) override; | ||||
|     virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override; | ||||
| }; | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn