mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	LibWebView: Avoid trying to break a schemeless URL into renderable parts
This commit is contained in:
		
							parent
							
								
									65a9eae142
								
							
						
					
					
						commit
						965bd00cf3
					
				
					 2 changed files with 9 additions and 1 deletions
				
			
		|  | @ -24,6 +24,10 @@ TEST_CASE(invalid_url) | |||
|     EXPECT(!WebView::break_url_into_parts(":/"sv).has_value()); | ||||
|     EXPECT(!WebView::break_url_into_parts("://"sv).has_value()); | ||||
| 
 | ||||
|     EXPECT(!WebView::break_url_into_parts("/"sv).has_value()); | ||||
|     EXPECT(!WebView::break_url_into_parts("//"sv).has_value()); | ||||
|     EXPECT(!WebView::break_url_into_parts("/h"sv).has_value()); | ||||
| 
 | ||||
|     EXPECT(!WebView::break_url_into_parts("f"sv).has_value()); | ||||
|     EXPECT(!WebView::break_url_into_parts("fi"sv).has_value()); | ||||
|     EXPECT(!WebView::break_url_into_parts("fil"sv).has_value()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn