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:
Moonchild 2020-06-11 23:20:52 +00:00 committed by Roy Tam
commit b988c351ff
21 changed files with 142 additions and 142 deletions

View file

@ -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,