mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:02:45 +00:00 
			
		
		
		
	Tests/LibWeb: Verify instantiation behavior of Blob w/empty constructor
This verifies that a Blob instantiated with an empty constructor creates a Blob with Blob.size equal to 0 and Blob.type equal to "".
This commit is contained in:
		
							parent
							
								
									36fddab68e
								
							
						
					
					
						commit
						3d86e16407
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		|  | @ -0,0 +1 @@ | |||
| PASS | ||||
							
								
								
									
										10
									
								
								Tests/LibWeb/Text/input/FileAPI/Blob-empty-constructor.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Tests/LibWeb/Text/input/FileAPI/Blob-empty-constructor.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| <script src="../include.js"></script> | ||||
| <script> | ||||
|     test(() => { | ||||
|         const blob = new Blob; | ||||
|         if (blob.size === 0 && blob.type === "") | ||||
|             println("PASS"); | ||||
|         else | ||||
|             println("FAIL"); | ||||
|     }); | ||||
| </script> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kenneth Myhra
						Kenneth Myhra