From ffe4336403150bdc3bb3e950e6e19f3845d71286 Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Tue, 29 Aug 2017 09:17:21 +0200 Subject: [PATCH] Backed out changeset e5c6f95530f2 (bug 1378342) --HG-- rename : dom/abort/AbortController.cpp => dom/abort/FetchController.cpp rename : dom/abort/AbortController.h => dom/abort/FetchController.h rename : dom/abort/AbortSignal.cpp => dom/abort/FetchSignal.cpp rename : dom/abort/AbortSignal.h => dom/abort/FetchSignal.h rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_fetch_controller.html rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_fetch_controller.html rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_fetch_controller.js rename : dom/webidl/AbortController.webidl => dom/webidl/FetchController.webidl rename : dom/webidl/AbortSignal.webidl => dom/webidl/FetchSignal.webidl --- ...bortController.cpp => FetchController.cpp} | 58 ++++++------ .../{AbortController.h => FetchController.h} | 32 +++---- .../{AbortSignal.cpp => FetchSignal.cpp} | 44 +++++----- dom/abort/{AbortSignal.h => FetchSignal.h} | 28 +++--- dom/abort/moz.build | 8 +- ...roller.html => file_fetch_controller.html} | 88 +++++++++---------- dom/abort/tests/mochitest.ini | 6 +- ...roller.html => test_fetch_controller.html} | 6 +- ...ntroller.js => worker_fetch_controller.js} | 12 +-- dom/fetch/Fetch.cpp | 56 ++++++------ dom/fetch/FetchDriver.cpp | 2 +- dom/fetch/FetchDriver.h | 8 +- dom/fetch/FetchObserver.cpp | 2 +- dom/fetch/FetchObserver.h | 6 +- dom/fetch/Request.h | 1 + .../mochitest/fetch/file_fetch_observer.html | 18 ++-- .../mochitest/fetch/test_fetch_observer.html | 2 +- ...ntroller.webidl => FetchController.webidl} | 13 ++- ...{AbortSignal.webidl => FetchSignal.webidl} | 7 +- dom/webidl/Request.webidl | 4 +- dom/webidl/moz.build | 4 +- dom/workers/WorkerPrefs.h | 2 +- 22 files changed, 201 insertions(+), 206 deletions(-) rename dom/abort/{AbortController.cpp => FetchController.cpp} (52%) rename dom/abort/{AbortController.h => FetchController.h} (63%) rename dom/abort/{AbortSignal.cpp => FetchSignal.cpp} (68%) rename dom/abort/{AbortSignal.h => FetchSignal.h} (68%) rename dom/abort/tests/{file_abort_controller.html => file_fetch_controller.html} (51%) rename dom/abort/tests/{test_abort_controller.html => test_fetch_controller.html} (84%) rename dom/abort/tests/{worker_abort_controller.js => worker_fetch_controller.js} (60%) rename dom/webidl/{AbortController.webidl => FetchController.webidl} (57%) rename dom/webidl/{AbortSignal.webidl => FetchSignal.webidl} (71%) diff --git a/dom/abort/AbortController.cpp b/dom/abort/FetchController.cpp similarity index 52% rename from dom/abort/AbortController.cpp rename to dom/abort/FetchController.cpp index 442c1291019f..59bb235072f5 100644 --- a/dom/abort/AbortController.cpp +++ b/dom/abort/FetchController.cpp @@ -4,30 +4,30 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "AbortController.h" -#include "AbortSignal.h" -#include "mozilla/dom/AbortControllerBinding.h" +#include "FetchController.h" +#include "FetchSignal.h" +#include "mozilla/dom/FetchControllerBinding.h" #include "WorkerPrivate.h" namespace mozilla { namespace dom { -NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(AbortController, mGlobal, mSignal, +NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(FetchController, mGlobal, mSignal, mFollowingSignal) -NS_IMPL_CYCLE_COLLECTING_ADDREF(AbortController) -NS_IMPL_CYCLE_COLLECTING_RELEASE(AbortController) +NS_IMPL_CYCLE_COLLECTING_ADDREF(FetchController) +NS_IMPL_CYCLE_COLLECTING_RELEASE(FetchController) -NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(AbortController) +NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(FetchController) NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY NS_INTERFACE_MAP_ENTRY(nsISupports) NS_INTERFACE_MAP_END /* static */ bool -AbortController::IsEnabled(JSContext* aCx, JSObject* aGlobal) +FetchController::IsEnabled(JSContext* aCx, JSObject* aGlobal) { if (NS_IsMainThread()) { - return Preferences::GetBool("dom.abortController.enabled", false); + return Preferences::GetBool("dom.fetchController.enabled", false); } using namespace workers; @@ -38,11 +38,11 @@ AbortController::IsEnabled(JSContext* aCx, JSObject* aGlobal) return false; } - return workerPrivate->AbortControllerEnabled(); + return workerPrivate->FetchControllerEnabled(); } -/* static */ already_AddRefed -AbortController::Constructor(const GlobalObject& aGlobal, ErrorResult& aRv) +/* static */ already_AddRefed +FetchController::Constructor(const GlobalObject& aGlobal, ErrorResult& aRv) { nsCOMPtr global = do_QueryInterface(aGlobal.GetAsSupports()); if (!global) { @@ -50,39 +50,39 @@ AbortController::Constructor(const GlobalObject& aGlobal, ErrorResult& aRv) return nullptr; } - RefPtr abortController = new AbortController(global); - return abortController.forget(); + RefPtr fetchController = new FetchController(global); + return fetchController.forget(); } -AbortController::AbortController(nsIGlobalObject* aGlobal) +FetchController::FetchController(nsIGlobalObject* aGlobal) : mGlobal(aGlobal) , mAborted(false) {} JSObject* -AbortController::WrapObject(JSContext* aCx, JS::Handle aGivenProto) +FetchController::WrapObject(JSContext* aCx, JS::Handle aGivenProto) { - return AbortControllerBinding::Wrap(aCx, this, aGivenProto); + return FetchControllerBinding::Wrap(aCx, this, aGivenProto); } nsIGlobalObject* -AbortController::GetParentObject() const +FetchController::GetParentObject() const { return mGlobal; } -AbortSignal* -AbortController::Signal() +FetchSignal* +FetchController::Signal() { if (!mSignal) { - mSignal = new AbortSignal(this, mAborted); + mSignal = new FetchSignal(this, mAborted); } return mSignal; } void -AbortController::Abort() +FetchController::Abort() { if (mAborted) { return; @@ -96,29 +96,29 @@ AbortController::Abort() } void -AbortController::Follow(AbortSignal& aSignal) +FetchController::Follow(FetchSignal& aSignal) { - AbortSignal::Follower::Follow(&aSignal); + FetchSignal::Follower::Follow(&aSignal); } void -AbortController::Unfollow(AbortSignal& aSignal) +FetchController::Unfollow(FetchSignal& aSignal) { if (mFollowingSignal != &aSignal) { return; } - AbortSignal::Follower::Unfollow(); + FetchSignal::Follower::Unfollow(); } -AbortSignal* -AbortController::Following() const +FetchSignal* +FetchController::Following() const { return mFollowingSignal; } void -AbortController::Aborted() +FetchController::Aborted() { Abort(); } diff --git a/dom/abort/AbortController.h b/dom/abort/FetchController.h similarity index 63% rename from dom/abort/AbortController.h rename to dom/abort/FetchController.h index 28a23ff66ed6..37e7cb359d91 100644 --- a/dom/abort/AbortController.h +++ b/dom/abort/FetchController.h @@ -4,32 +4,32 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef mozilla_dom_AbortController_h -#define mozilla_dom_AbortController_h +#ifndef mozilla_dom_FetchController_h +#define mozilla_dom_FetchController_h #include "mozilla/dom/BindingDeclarations.h" -#include "mozilla/dom/AbortSignal.h" +#include "mozilla/dom/FetchSignal.h" #include "nsCycleCollectionParticipant.h" #include "nsWrapperCache.h" namespace mozilla { namespace dom { -class AbortController final : public nsISupports +class FetchController final : public nsISupports , public nsWrapperCache - , public AbortSignal::Follower + , public FetchSignal::Follower { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS - NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(AbortController) + NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(FetchController) static bool IsEnabled(JSContext* aCx, JSObject* aGlobal); - static already_AddRefed + static already_AddRefed Constructor(const GlobalObject& aGlobal, ErrorResult& aRv); - explicit AbortController(nsIGlobalObject* aGlobal); + explicit FetchController(nsIGlobalObject* aGlobal); JSObject* WrapObject(JSContext* aCx, JS::Handle aGivenProto) override; @@ -37,30 +37,30 @@ public: nsIGlobalObject* GetParentObject() const; - AbortSignal* + FetchSignal* Signal(); void Abort(); void - Follow(AbortSignal& aSignal); + Follow(FetchSignal& aSignal); void - Unfollow(AbortSignal& aSignal); + Unfollow(FetchSignal& aSignal); - AbortSignal* + FetchSignal* Following() const; - // AbortSignal::Follower + // FetchSignal::Follower void Aborted() override; private: - ~AbortController() = default; + ~FetchController() = default; nsCOMPtr mGlobal; - RefPtr mSignal; + RefPtr mSignal; bool mAborted; }; @@ -68,4 +68,4 @@ private: } // dom namespace } // mozilla namespace -#endif // mozilla_dom_AbortController_h +#endif // mozilla_dom_FetchController_h diff --git a/dom/abort/AbortSignal.cpp b/dom/abort/FetchSignal.cpp similarity index 68% rename from dom/abort/AbortSignal.cpp rename to dom/abort/FetchSignal.cpp index ca17bf2cf8eb..6464961da6fa 100644 --- a/dom/abort/AbortSignal.cpp +++ b/dom/abort/FetchSignal.cpp @@ -4,56 +4,56 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "AbortSignal.h" +#include "FetchSignal.h" #include "mozilla/dom/Event.h" -#include "mozilla/dom/AbortSignalBinding.h" +#include "mozilla/dom/FetchSignalBinding.h" namespace mozilla { namespace dom { -NS_IMPL_CYCLE_COLLECTION_CLASS(AbortSignal) +NS_IMPL_CYCLE_COLLECTION_CLASS(FetchSignal) -NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(AbortSignal, +NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(FetchSignal, DOMEventTargetHelper) NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mController) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END -NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(AbortSignal, +NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(FetchSignal, DOMEventTargetHelper) NS_IMPL_CYCLE_COLLECTION_UNLINK(mController) NS_IMPL_CYCLE_COLLECTION_UNLINK_END -NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(AbortSignal) +NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(FetchSignal) NS_INTERFACE_MAP_END_INHERITING(DOMEventTargetHelper) -NS_IMPL_ADDREF_INHERITED(AbortSignal, DOMEventTargetHelper) -NS_IMPL_RELEASE_INHERITED(AbortSignal, DOMEventTargetHelper) +NS_IMPL_ADDREF_INHERITED(FetchSignal, DOMEventTargetHelper) +NS_IMPL_RELEASE_INHERITED(FetchSignal, DOMEventTargetHelper) -AbortSignal::AbortSignal(AbortController* aController, +FetchSignal::FetchSignal(FetchController* aController, bool aAborted) : DOMEventTargetHelper(aController->GetParentObject()) , mController(aController) , mAborted(aAborted) {} -AbortSignal::AbortSignal(bool aAborted) +FetchSignal::FetchSignal(bool aAborted) : mAborted(aAborted) {} JSObject* -AbortSignal::WrapObject(JSContext* aCx, JS::Handle aGivenProto) +FetchSignal::WrapObject(JSContext* aCx, JS::Handle aGivenProto) { - return AbortSignalBinding::Wrap(aCx, this, aGivenProto); + return FetchSignalBinding::Wrap(aCx, this, aGivenProto); } bool -AbortSignal::Aborted() const +FetchSignal::Aborted() const { return mAborted; } void -AbortSignal::Abort() +FetchSignal::Abort() { MOZ_ASSERT(!mAborted); mAborted = true; @@ -78,7 +78,7 @@ AbortSignal::Abort() } void -AbortSignal::AddFollower(AbortSignal::Follower* aFollower) +FetchSignal::AddFollower(FetchSignal::Follower* aFollower) { MOZ_DIAGNOSTIC_ASSERT(aFollower); if (!mFollowers.Contains(aFollower)) { @@ -87,14 +87,14 @@ AbortSignal::AddFollower(AbortSignal::Follower* aFollower) } void -AbortSignal::RemoveFollower(AbortSignal::Follower* aFollower) +FetchSignal::RemoveFollower(FetchSignal::Follower* aFollower) { MOZ_DIAGNOSTIC_ASSERT(aFollower); mFollowers.RemoveElement(aFollower); } bool -AbortSignal::CanAcceptFollower(AbortSignal::Follower* aFollower) const +FetchSignal::CanAcceptFollower(FetchSignal::Follower* aFollower) const { MOZ_DIAGNOSTIC_ASSERT(aFollower); @@ -106,7 +106,7 @@ AbortSignal::CanAcceptFollower(AbortSignal::Follower* aFollower) const return false; } - AbortSignal* following = mController->Following(); + FetchSignal* following = mController->Following(); if (!following) { return true; } @@ -114,16 +114,16 @@ AbortSignal::CanAcceptFollower(AbortSignal::Follower* aFollower) const return following->CanAcceptFollower(aFollower); } -// AbortSignal::Follower +// FetchSignal::Follower // ---------------------------------------------------------------------------- -AbortSignal::Follower::~Follower() +FetchSignal::Follower::~Follower() { Unfollow(); } void -AbortSignal::Follower::Follow(AbortSignal* aSignal) +FetchSignal::Follower::Follow(FetchSignal* aSignal) { MOZ_DIAGNOSTIC_ASSERT(aSignal); @@ -138,7 +138,7 @@ AbortSignal::Follower::Follow(AbortSignal* aSignal) } void -AbortSignal::Follower::Unfollow() +FetchSignal::Follower::Unfollow() { if (mFollowingSignal) { mFollowingSignal->RemoveFollower(this); diff --git a/dom/abort/AbortSignal.h b/dom/abort/FetchSignal.h similarity index 68% rename from dom/abort/AbortSignal.h rename to dom/abort/FetchSignal.h index c5045dbd694e..4970f03de4a0 100644 --- a/dom/abort/AbortSignal.h +++ b/dom/abort/FetchSignal.h @@ -4,21 +4,21 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef mozilla_dom_AbortSignal_h -#define mozilla_dom_AbortSignal_h +#ifndef mozilla_dom_FetchSignal_h +#define mozilla_dom_FetchSignal_h #include "mozilla/DOMEventTargetHelper.h" namespace mozilla { namespace dom { -class AbortController; -class AbortSignal; +class FetchController; +class FetchSignal; -class AbortSignal final : public DOMEventTargetHelper +class FetchSignal final : public DOMEventTargetHelper { public: - // This class must be implemented by objects who want to follow a AbortSignal. + // This class must be implemented by objects who want to follow a FetchSignal. class Follower { public: @@ -28,19 +28,19 @@ public: virtual ~Follower(); void - Follow(AbortSignal* aSignal); + Follow(FetchSignal* aSignal); void Unfollow(); - RefPtr mFollowingSignal; + RefPtr mFollowingSignal; }; NS_DECL_ISUPPORTS_INHERITED - NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(AbortSignal, DOMEventTargetHelper) + NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(FetchSignal, DOMEventTargetHelper) - AbortSignal(AbortController* aController, bool aAborted); - explicit AbortSignal(bool aAborted); + FetchSignal(FetchController* aController, bool aAborted); + explicit FetchSignal(bool aAborted); JSObject* WrapObject(JSContext* aCx, JS::Handle aGivenProto) override; @@ -63,9 +63,9 @@ public: CanAcceptFollower(Follower* aFollower) const; private: - ~AbortSignal() = default; + ~FetchSignal() = default; - RefPtr mController; + RefPtr mController; // Raw pointers. Follower unregisters itself in the DTOR. nsTArray mFollowers; @@ -76,4 +76,4 @@ private: } // dom namespace } // mozilla namespace -#endif // mozilla_dom_AbortSignal_h +#endif // mozilla_dom_FetchSignal_h diff --git a/dom/abort/moz.build b/dom/abort/moz.build index cb48ee15f451..e7d8146e558e 100644 --- a/dom/abort/moz.build +++ b/dom/abort/moz.build @@ -10,13 +10,13 @@ with Files("**"): TEST_DIRS += ['tests'] EXPORTS.mozilla.dom += [ - 'AbortController.h', - 'AbortSignal.h', + 'FetchController.h', + 'FetchSignal.h', ] UNIFIED_SOURCES += [ - 'AbortController.cpp', - 'AbortSignal.cpp', + 'FetchController.cpp', + 'FetchSignal.cpp', ] LOCAL_INCLUDES += [ diff --git a/dom/abort/tests/file_abort_controller.html b/dom/abort/tests/file_fetch_controller.html similarity index 51% rename from dom/abort/tests/file_abort_controller.html rename to dom/abort/tests/file_fetch_controller.html index 3d5457877881..e4137aac9e87 100644 --- a/dom/abort/tests/file_abort_controller.html +++ b/dom/abort/tests/file_fetch_controller.html @@ -8,87 +8,87 @@ function is(a, b, msg) { } function testWebIDL() { - ok("AbortController" in self, "We have a AbortController prototype"); - ok("AbortSignal" in self, "We have a AbortSignal prototype"); + ok("FetchController" in self, "We have a FetchController prototype"); + ok("FetchSignal" in self, "We have a FetchSignal prototype"); - var ac = new AbortController(); - ok(!!ac, "AbortController can be created"); - ok(ac instanceof AbortController, "AbortController is a AbortController"); + var fc = new FetchController(); + ok(!!fc, "FetchController can be created"); + ok(fc instanceof FetchController, "FetchController is a FetchController"); - ok(!!ac.signal, "AbortController has a signal"); - ok(ac.signal instanceof AbortSignal, "abortSignal is a AbortSignal"); - is(ac.signal.aborted, false, "By default AbortSignal.aborted is false"); + ok(!!fc.signal, "FetchController has a signal"); + ok(fc.signal instanceof FetchSignal, "fetchSignal is a FetchSignal"); + is(fc.signal.aborted, false, "By default FetchSignal.aborted is false"); next(); } function testUpdateData() { - var ac = new AbortController(); + var fc = new FetchController(); - is(ac.signal.aborted, false, "By default AbortSignal.aborted is false"); + is(fc.signal.aborted, false, "By default FetchSignal.aborted is false"); - ac.abort(); - is(ac.signal.aborted, true, "Signal is aborted"); + fc.abort(); + is(fc.signal.aborted, true, "Signal is aborted"); next(); } function testFollowingOurself() { // Let's follow ourself - var ac = new AbortController(); - ac.follow(ac.signal); + var fc = new FetchController(); + fc.follow(fc.signal); - ac.abort(); - is(ac.signal.aborted, true, "Signal is aborted"); + fc.abort(); + is(fc.signal.aborted, true, "Signal is aborted"); next(); } function testFollowingOther() { // Let's follow another one - var ac1 = new AbortController(); - var ac2 = new AbortController(); - ac1.follow(ac2.signal); + var fc1 = new FetchController(); + var fc2 = new FetchController(); + fc1.follow(fc2.signal); - ac2.abort(); + fc2.abort(); - is(ac1.signal.aborted, true, "Signal is aborted"); - is(ac2.signal.aborted, true, "Signal is aborted"); + is(fc1.signal.aborted, true, "Signal is aborted"); + is(fc2.signal.aborted, true, "Signal is aborted"); next(); } function testFollowingLoop() { - // ac1 -> ac2 -> ac3 -> ac1 - var ac1 = new AbortController(); - var ac2 = new AbortController(); - var ac3 = new AbortController(); - ac1.follow(ac2.signal); - ac2.follow(ac3.signal); - ac3.follow(ac1.signal); + // fc1 -> fc2 -> fc3 -> fc1 + var fc1 = new FetchController(); + var fc2 = new FetchController(); + var fc3 = new FetchController(); + fc1.follow(fc2.signal); + fc2.follow(fc3.signal); + fc3.follow(fc1.signal); - ac3.abort(); + fc3.abort(); - is(ac1.signal.aborted, true, "Signal is aborted"); - is(ac2.signal.aborted, true, "Signal is aborted"); - is(ac3.signal.aborted, true, "Signal is aborted"); + is(fc1.signal.aborted, true, "Signal is aborted"); + is(fc2.signal.aborted, true, "Signal is aborted"); + is(fc3.signal.aborted, true, "Signal is aborted"); next(); } function testAbortEvent() { - var ac = new AbortController(); - ac.signal.onabort = function(e) { + var fc = new FetchController(); + fc.signal.onabort = function(e) { is(e.type, "abort", "Abort received"); next(); } - ac.abort(); + fc.abort(); } function testAbortedFetch() { - var ac = new AbortController(); - ac.abort(); + var fc = new FetchController(); + fc.abort(); - fetch('slow.sjs', { signal: ac.signal }).then(() => { + fetch('slow.sjs', { signal: fc.signal }).then(() => { ok(false, "Fetch should not return a resolved promise"); }, e => { is(e.name, "AbortError", "We have an abort error"); @@ -96,10 +96,10 @@ function testAbortedFetch() { } function testFetchAndAbort() { - var ac = new AbortController(); + var fc = new FetchController(); - var p = fetch('slow.sjs', { signal: ac.signal }); - ac.abort(); + var p = fetch('slow.sjs', { signal: fc.signal }); + fc.abort(); p.then(() => { ok(false, "Fetch should not return a resolved promise"); @@ -109,7 +109,7 @@ function testFetchAndAbort() { } function testWorkerAbortedFetch() { - var w = new Worker('worker_abort_controller.js'); + var w = new Worker('worker_fetch_controller.js'); w.onmessage = function(e) { ok(e.data, "Abort + Fetch works in workers"); next(); @@ -118,7 +118,7 @@ function testWorkerAbortedFetch() { } function testWorkerFetchAndAbort() { - var w = new Worker('worker_abort_controller.js'); + var w = new Worker('worker_fetch_controller.js'); w.onmessage = function(e) { ok(e.data, "Abort + Fetch works in workers"); next(); diff --git a/dom/abort/tests/mochitest.ini b/dom/abort/tests/mochitest.ini index f3432940b820..5ecc7048e2de 100644 --- a/dom/abort/tests/mochitest.ini +++ b/dom/abort/tests/mochitest.ini @@ -1,6 +1,6 @@ [DEFAULT] support-files = - file_abort_controller.html - worker_abort_controller.js + file_fetch_controller.html + worker_fetch_controller.js -[test_abort_controller.html] +[test_fetch_controller.html] diff --git a/dom/abort/tests/test_abort_controller.html b/dom/abort/tests/test_fetch_controller.html similarity index 84% rename from dom/abort/tests/test_abort_controller.html rename to dom/abort/tests/test_fetch_controller.html index 6d2df1dcba65..812fb91616c7 100644 --- a/dom/abort/tests/test_abort_controller.html +++ b/dom/abort/tests/test_fetch_controller.html @@ -5,16 +5,16 @@ - Test AbortController + Test FetchController