Fix typos in WPT tests

Bug: 1401089
Change-Id: I2c283d8c5f642379935317fca01c3d963686e3de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4284642
Reviewed-by: Shuran Huang <shuuran@chromium.org>
Commit-Queue: Shuran Huang <shuuran@chromium.org>
Commit-Queue: Matt Reichhoff <mreichhoff@chromium.org>
Auto-Submit: Chris Fredrickson <cfredric@chromium.org>
Commit-Queue: Chris Fredrickson <cfredric@chromium.org>
Reviewed-by: Matt Reichhoff <mreichhoff@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1108973}
diff --git a/storage-access-api/requestStorageAccess-same-origin-iframe.sub.https.window.js b/storage-access-api/requestStorageAccess-same-origin-iframe.sub.https.window.js
index 1aa5d4e..f406ea1 100644
--- a/storage-access-api/requestStorageAccess-same-origin-iframe.sub.https.window.js
+++ b/storage-access-api/requestStorageAccess-same-origin-iframe.sub.https.window.js
@@ -4,4 +4,4 @@
 'use strict';
 
 // Create a test with a single-child same-origin iframe.
-RunTestsInIFrame('resources/requestStorageAccess-iframe.html?testCase=same-origin-frame');
+RunTestsInIFrame('resources/requestStorageAccess-iframe.https.html?testCase=same-origin-frame');
diff --git a/storage-access-api/storage-access-permission.sub.https.window.js b/storage-access-api/storage-access-permission.sub.https.window.js
index de85a14..278ece2 100644
--- a/storage-access-api/storage-access-permission.sub.https.window.js
+++ b/storage-access-api/storage-access-permission.sub.https.window.js
@@ -83,7 +83,7 @@
 
     const event = await p;
 
-    assert_equals(event.target.name, "storage_access");
+    assert_equals(event.target.name, "storage-access");
     assert_equals(event.target.state, "granted");
   }, "Permission state can be observed");
 })();