Opened on 03/22/2019 at 09:11:34 AM
Closed on 08/29/2019 at 05:43:52 PM
#7392 closed change (rejected)
Write test for the case when a subscription download is terminated midway
Reported by: | mjethani | Assignee: | |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | Core | Keywords: | closed-in-favor-of-gitlab |
Cc: | hfiguiere, jsonesen, kzar | Blocked By: | #7381 |
Blocking: | Platform: | Unknown / Cross platform | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Background
With #7381 we are moving to the Fetch API. In Fetch, the text of the response is returned via a text() method that returns a promise that resolves with the response text. If the download is terminated midway, the promise will be rejected.
But our tests are written for XMLHttpRequest semantics (see registerHandler and its usage). We need to bring in promises here and update all the tests accordingly.
What to change
To be determined.
Attachments (0)
Change History (4)
comment:1 Changed on 03/22/2019 at 09:29:39 AM by mjethani
- Cc hfiguiere jsonesen kzar added
comment:2 Changed on 03/27/2019 at 01:04:31 PM by kzar
- Blocked By 7381 added
comment:3 Changed on 03/27/2019 at 03:29:34 PM by mjethani
comment:4 Changed on 08/29/2019 at 05:43:52 PM by sebastian
- Keywords closed-in-favor-of-gitlab added
- Resolution set to rejected
- Status changed from new to closed
Sorry, but we switched to GitLab. If this issue is still relevant, please file it again in the new issue tracker.
Note: See
TracTickets for help on using
tickets.
We also need to add a test for when the subscription URL is invalid