summaryrefslogtreecommitdiffstats
path: root/dom/abort/tests
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-11 23:20:52 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-06-13 11:52:30 +0200
commit21403c31e0288ad3c1921019f6f6185a0019a9a4 (patch)
treebff457beb30b4756147a78d6c3b9f6e0f0e1baf8 /dom/abort/tests
parent29bca891d5ca243774a7355fc3a6a68903f0d596 (diff)
downloadUXP-21403c31e0288ad3c1921019f6f6185a0019a9a4.tar
UXP-21403c31e0288ad3c1921019f6f6185a0019a9a4.tar.gz
UXP-21403c31e0288ad3c1921019f6f6185a0019a9a4.tar.lz
UXP-21403c31e0288ad3c1921019f6f6185a0019a9a4.tar.xz
UXP-21403c31e0288ad3c1921019f6f6185a0019a9a4.zip
Issue #1587 - Part 7: Rename FetchController to AbortController
Also renames FetchSignal to AbortSignal. Includes renaming the various controlling prefs to enable.
Diffstat (limited to 'dom/abort/tests')
-rw-r--r--dom/abort/tests/file_abort_controller.html (renamed from dom/abort/tests/file_fetch_controller.html)0
-rw-r--r--dom/abort/tests/mochitest.ini4
-rw-r--r--dom/abort/tests/test_abort_controller.html (renamed from dom/abort/tests/test_fetch_controller.html)0
-rw-r--r--dom/abort/tests/worker_abort_controller.js (renamed from dom/abort/tests/worker_fetch_controller.js)4
4 files changed, 4 insertions, 4 deletions
diff --git a/dom/abort/tests/file_fetch_controller.html b/dom/abort/tests/file_abort_controller.html
index e4137aac9..e4137aac9 100644
--- a/dom/abort/tests/file_fetch_controller.html
+++ b/dom/abort/tests/file_abort_controller.html
diff --git a/dom/abort/tests/mochitest.ini b/dom/abort/tests/mochitest.ini
index 5ecc7048e..c8cc95fda 100644
--- a/dom/abort/tests/mochitest.ini
+++ b/dom/abort/tests/mochitest.ini
@@ -1,6 +1,6 @@
[DEFAULT]
support-files =
- file_fetch_controller.html
+ file_abort_controller.html
worker_fetch_controller.js
-[test_fetch_controller.html]
+[test_abort_controller.html]
diff --git a/dom/abort/tests/test_fetch_controller.html b/dom/abort/tests/test_abort_controller.html
index 812fb9161..812fb9161 100644
--- a/dom/abort/tests/test_fetch_controller.html
+++ b/dom/abort/tests/test_abort_controller.html
diff --git a/dom/abort/tests/worker_fetch_controller.js b/dom/abort/tests/worker_abort_controller.js
index 6b008fea8..6fd1c7888 100644
--- a/dom/abort/tests/worker_fetch_controller.js
+++ b/dom/abort/tests/worker_abort_controller.js
@@ -1,5 +1,5 @@
function testWorkerAbortedFetch() {
- var fc = new FetchController();
+ var fc = new AbortController();
fc.abort();
fetch('slow.sjs', { signal: fc.signal }).then(() => {
@@ -10,7 +10,7 @@ function testWorkerAbortedFetch() {
}
function testWorkerFetchAndAbort() {
- var fc = new FetchController();
+ var fc = new AbortController();
var p = fetch('slow.sjs', { signal: fc.signal });
fc.abort();