mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
Issue #1587 - Part 7: Rename FetchController to AbortController
Also renames FetchSignal to AbortSignal. Includes renaming the various controlling prefs to enable.
This commit is contained in:
parent
0c2404efa7
commit
b988c351ff
21 changed files with 142 additions and 142 deletions
|
|
@ -12,7 +12,7 @@
|
|||
#include "nsIStreamListener.h"
|
||||
#include "nsIThreadRetargetableStreamListener.h"
|
||||
#include "mozilla/ConsoleReportCollector.h"
|
||||
#include "mozilla/dom/FetchSignal.h"
|
||||
#include "mozilla/dom/AbortSignal.h"
|
||||
#include "mozilla/dom/SRIMetadata.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ class FetchDriver final : public nsIStreamListener,
|
|||
public nsIChannelEventSink,
|
||||
public nsIInterfaceRequestor,
|
||||
public nsIThreadRetargetableStreamListener,
|
||||
public FetchSignal::Follower
|
||||
public AbortSignal::Follower
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
|
@ -98,7 +98,7 @@ public:
|
|||
nsIPrincipal* aPrincipal,
|
||||
nsILoadGroup* aLoadGroup);
|
||||
|
||||
nsresult Fetch(FetchSignal* aSignal,
|
||||
nsresult Fetch(AbortSignal* aSignal,
|
||||
FetchDriverObserver* aObserver);
|
||||
|
||||
void
|
||||
|
|
@ -111,7 +111,7 @@ public:
|
|||
mWorkerScript = aWorkerScirpt;
|
||||
}
|
||||
|
||||
// FetchSignal::Follower
|
||||
// AbortSignal::Follower
|
||||
|
||||
void
|
||||
Aborted() override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue