mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	LibWeb: Make factory method of DOM::ElementFactory fallible
This commit is contained in:
		
							parent
							
								
									a2381a672d
								
							
						
					
					
						commit
						ff92324fa5
					
				
					 15 changed files with 115 additions and 111 deletions
				
			
		|  | @ -64,7 +64,7 @@ void XMLDocumentBuilder::element_start(const XML::Name& name, HashMap<XML::Name, | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     auto node = DOM::create_element(m_document, name, {}); | ||||
|     auto node = DOM::create_element(m_document, name, {}).release_value_but_fixme_should_propagate_errors(); | ||||
|     // When an XML parser with XML scripting support enabled creates a script element,
 | ||||
|     // it must have its parser document set and its "force async" flag must be unset.
 | ||||
|     // FIXME: If the parser was created as part of the XML fragment parsing algorithm, then the element must be marked as "already started" also.
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kenneth Myhra
						Kenneth Myhra