FileAPI: replace FileReader with .text() (#32209)

Modernizes the test and makes it usable for implementations missing FileReader.
diff --git a/FileAPI/blob/Blob-in-worker.worker.js b/FileAPI/blob/Blob-in-worker.worker.js
index a67060e..a0ca845 100644
--- a/FileAPI/blob/Blob-in-worker.worker.js
+++ b/FileAPI/blob/Blob-in-worker.worker.js
@@ -1,14 +1,9 @@
 importScripts("/resources/testharness.js");
 
-async_test(function() {
-  var data = "TEST";
-  var blob = new Blob([data], {type: "text/plain"});
-  var reader = new FileReader();
-  reader.onload = this.step_func_done(function() {
-    assert_equals(reader.result, data);
-  });
-  reader.onerror = this.unreached_func("Unexpected error event");
-  reader.readAsText(blob);
-}, "Create Blob in Worker");
+promise_test(async () => {
+  const data = "TEST";
+  const blob = new Blob([data], {type: "text/plain"});
+  assert_equals(await blob.text(), data);
+}, 'Create Blob in Worker');
 
 done();