summaryrefslogtreecommitdiffstats
path: root/dom/abort/tests
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-12 01:08:26 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-06-13 11:52:42 +0200
commit301ae8c2df5dcec2c8d736e0397db563b621b9fd (patch)
tree8c9b761c89fd76dc9cdc6d54b999b8e0ba108e31 /dom/abort/tests
parent21403c31e0288ad3c1921019f6f6185a0019a9a4 (diff)
downloadUXP-301ae8c2df5dcec2c8d736e0397db563b621b9fd.tar
UXP-301ae8c2df5dcec2c8d736e0397db563b621b9fd.tar.gz
UXP-301ae8c2df5dcec2c8d736e0397db563b621b9fd.tar.lz
UXP-301ae8c2df5dcec2c8d736e0397db563b621b9fd.tar.xz
UXP-301ae8c2df5dcec2c8d736e0397db563b621b9fd.zip
Issue #1587 - Part 8: Remove controller follow/unfollow
Since it didn't end up being in the final spec after all.
Diffstat (limited to 'dom/abort/tests')
-rw-r--r--dom/abort/tests/file_abort_controller.html48
1 files changed, 0 insertions, 48 deletions
diff --git a/dom/abort/tests/file_abort_controller.html b/dom/abort/tests/file_abort_controller.html
index e4137aac9..3a15fa346 100644
--- a/dom/abort/tests/file_abort_controller.html
+++ b/dom/abort/tests/file_abort_controller.html
@@ -32,49 +32,6 @@ function testUpdateData() {
next();
}
-function testFollowingOurself() {
- // Let's follow ourself
- var fc = new FetchController();
- fc.follow(fc.signal);
-
- fc.abort();
- is(fc.signal.aborted, true, "Signal is aborted");
-
- next();
-}
-
-function testFollowingOther() {
- // Let's follow another one
- var fc1 = new FetchController();
- var fc2 = new FetchController();
- fc1.follow(fc2.signal);
-
- fc2.abort();
-
- is(fc1.signal.aborted, true, "Signal is aborted");
- is(fc2.signal.aborted, true, "Signal is aborted");
-
- next();
-}
-
-function testFollowingLoop() {
- // fc1 -> fc2 -> fc3 -> fc1
- var fc1 = new FetchController();
- var fc2 = new FetchController();
- var fc3 = new FetchController();
- fc1.follow(fc2.signal);
- fc2.follow(fc3.signal);
- fc3.follow(fc1.signal);
-
- fc3.abort();
-
- is(fc1.signal.aborted, true, "Signal is aborted");
- is(fc2.signal.aborted, true, "Signal is aborted");
- is(fc3.signal.aborted, true, "Signal is aborted");
-
- next();
-}
-
function testAbortEvent() {
var fc = new FetchController();
fc.signal.onabort = function(e) {
@@ -131,11 +88,6 @@ var steps = [
testWebIDL,
testUpdateData,
- // Following algorithm
- testFollowingOurself,
- testFollowingOther,
- testFollowingLoop,
-
// Event propagation
testAbortEvent,