Bug 1793736 - Include abort signal reason for fetch. r=necko-reviewers,valentin,tschuster

Differential Revision: https://phabricator.services.mozilla.com/D161669
This commit is contained in:
sunil mayya
2022-11-28 10:43:05 +00:00
parent 92b6a75ea4
commit cf78b0bbc0
7 changed files with 78 additions and 56 deletions

View File

@@ -208,7 +208,8 @@ void FetchService::FetchInstance::Cancel() {
}
void FetchService::FetchInstance::OnResponseEnd(
FetchDriverObserver::EndReason aReason) {
FetchDriverObserver::EndReason aReason,
JS::Handle<JS::Value> aReasonDetails) {
FETCH_LOG(("FetchInstance::OnResponseEnd [%p]", this));
if (aReason == eAborted) {
FETCH_LOG(("FetchInstance::OnResponseEnd end with eAborted"));