mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 10:18:38 +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
|
|
@ -19,7 +19,7 @@ function testObserver() {
|
|||
}
|
||||
|
||||
function testObserveAbort() {
|
||||
var fc = new FetchController();
|
||||
var fc = new AbortController();
|
||||
|
||||
fetch('http://mochi.test:8888/tests/dom/tests/mochitest/fetch/slow.sjs', {
|
||||
signal: fc.signal,
|
||||
|
|
@ -37,7 +37,7 @@ function testObserveAbort() {
|
|||
}
|
||||
|
||||
function testObserveComplete() {
|
||||
var fc = new FetchController();
|
||||
var fc = new AbortController();
|
||||
|
||||
fetch('http://mochi.test:8888/tests/dom/tests/mochitest/fetch/slow.sjs', {
|
||||
signal: fc.signal,
|
||||
|
|
@ -54,7 +54,7 @@ function testObserveComplete() {
|
|||
}
|
||||
|
||||
function testObserveErrored() {
|
||||
var fc = new FetchController();
|
||||
var fc = new AbortController();
|
||||
|
||||
fetch('foo: bar', {
|
||||
signal: fc.signal,
|
||||
|
|
@ -71,7 +71,7 @@ function testObserveErrored() {
|
|||
}
|
||||
|
||||
function testObserveResponding() {
|
||||
var fc = new FetchController();
|
||||
var fc = new AbortController();
|
||||
|
||||
fetch('http://mochi.test:8888/tests/dom/tests/mochitest/fetch/slow.sjs', {
|
||||
signal: fc.signal,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue