mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +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
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue