New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 596320 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

network pane should show aborted requests as aborted

Reported by sha...@peer5.com, Mar 20 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

Steps to reproduce the problem:
1. run the following code:
```
var xhr = new XMLHttpRequest();
xhr.open('GET','https://livestream.peer5.com/video/kite/index.m3u8');
xhr.onreadystatechange = function() {
  xhr.abort();
};

xhr.send();
```
2. go to the network tab
3. look at the aborted request

What is the expected behavior?
The request should be shown as canceled/aborted

What went wrong?
The request is shown as complete

Did this work before? No 

Chrome version: 49.0.2623.87  Channel: stable
OS Version: OS X 10.10.5
Flash Version: Shockwave Flash 21.0 r0
 
Components: Blink>Network>XHR
Labels: -OS-Mac OS-All
Status: Available (was: Unconfirmed)
Confirmed.
Owner: allada@chromium.org
Status: Assigned (was: Available)

Comment 3 by sha...@peer5.com, Feb 28 2017

Hey, any update on this?

Comment 4 by allada@chromium.org, Jul 20 2017

Status: WontFix (was: Assigned)
I believe this is caused because the request is actually done and successfully loaded, but was aborted before javascript handled it.

Network panel is designed to show network traffic with little info about the api's that interact with it.

I don't see a good way to show this, because the network request was not actually cancelled, but rather the event was cancelled.

I am going to mark this as Won'tFix, but if someone else wants to pick it up feel free. Or if you feel strong about it, I can escalate it to get other dev's feedback.

Thanks!

Comment 5 by sha...@peer5.com, Jul 23 2017

Why do you think the request is done? It also happens on bigger requests:
```
var xhr = new XMLHttpRequest();
xhr.open('GET','https://peer5-e2e.storage.googleapis.com/test100m.test');
xhr.onreadystatechange = function() {
  xhr.abort();
};

xhr.send();
```

This is a 100MB file (Which takes more then 1s to download, and when its aborted in the first readystatechange event it should show the request as aborted.

I would highly appreciate it if you can escalate this.

Thnx

Comment 6 by allada@chromium.org, Jul 24 2017

Status: Assigned (was: WontFix)

Comment 7 by sha...@peer5.com, Nov 23 2017

Hey, can anyone take a look at this? It can greatly simplify debugging of network issues
Status: WontFix (was: Assigned)
Closing due to lack of priority / resources.

Sign in to add a comment