Move message-port-entangled-after-restore.https.tentative.window.js
to message-port close event directory.
Bug: 1495616
Change-Id: If43f5d5f03ef79ba0c3d709d3f685beccfd3938c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5107546
Reviewed-by: Fergal Daly <fergal@chromium.org>
Commit-Queue: Nonoka Muraki <murakinonoka@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1236158}
diff --git a/html/browsers/browsing-the-web/back-forward-cache/message-port-entangled-after-restore.https.tentative.window.js b/webmessaging/message-channels/close-event/entangled-after-back-forward-cache-restore.https.tentative.window.js
similarity index 90%
rename from html/browsers/browsing-the-web/back-forward-cache/message-port-entangled-after-restore.https.tentative.window.js
rename to webmessaging/message-channels/close-event/entangled-after-back-forward-cache-restore.https.tentative.window.js
index d1d545e..c99e89f 100644
--- a/html/browsers/browsing-the-web/back-forward-cache/message-port-entangled-after-restore.https.tentative.window.js
+++ b/webmessaging/message-channels/close-event/entangled-after-back-forward-cache-restore.https.tentative.window.js
@@ -5,15 +5,15 @@
// META: script=/common/utils.js
// META: script=/html/browsers/browsing-the-web/remote-context-helper/resources/remote-context-helper.js
// META: script=/service-workers/service-worker/resources/test-helpers.sub.js
-// META: script=resources/rc-helper.js
+// META: script=/html/browsers/browsing-the-web/back-forward-cache/resources/rc-helper.js
promise_test(async t => {
// Register a service worker.
const scope =
'/html/browsers/browsing-the-web/remote-context-helper/resources'
const workerUrl =
- `resources/service-worker.js?pipe=header(Service-Worker-Allowed,${
- scope})`;
+ `/html/browsers/browsing-the-web/back-forward-cache/resources/` +
+ `service-worker.js?pipe=header(Service-Worker-Allowed,${scope})`;
const registration =
await service_worker_unregister_and_register(t, workerUrl, scope);
t.add_cleanup(_ => registration.unregister());