mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	 f7ad8c0f94
			
		
	
	
		f7ad8c0f94
		
	
	
	
	
		
			
			This allows you to invoke the HTML document parser and retrieve a document as though it was loaded as a web page, minus any scripting ability. This does not currently support XML parsing. This is used by YouTube (or more accurately, Web Components Polyfills) to polyfill templates.
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			174 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			174 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| interface DOMParser {
 | |
|     constructor();
 | |
| 
 | |
|     // FIXME: "type" should use the DOMParserSupportedType enum.
 | |
|     Document parseFromString(DOMString string, DOMString type);
 | |
| };
 |