mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	Tests/LibWeb: Initialize Blob with string and read it from text()
This commit is contained in:
		
							parent
							
								
									000ea9d73b
								
							
						
					
					
						commit
						b72489409a
					
				
					 2 changed files with 13 additions and 0 deletions
				
			
		|  | @ -0,0 +1,12 @@ | |||
| <script src="../include.js"></script> | ||||
| <script> | ||||
|     asyncTest(async (done) => { | ||||
|         const blob = new Blob(["This is some data to be read! 🦬"]); | ||||
|         const text = await blob.text(); | ||||
|         if (text === "This is some data to be read! 🦬") | ||||
|             println("PASS"); | ||||
|         else | ||||
|             println("FAIL"); | ||||
|         done(); | ||||
|     }); | ||||
| </script> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kenneth Myhra
						Kenneth Myhra