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
,
Jul 29 2016
,
Feb 28 2017
Hey, any update on this?
,
Jul 20 2017
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!
,
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
,
Jul 24 2017
,
Nov 23 2017
Hey, can anyone take a look at this? It can greatly simplify debugging of network issues
,
Dec 13 2017
Closing due to lack of priority / resources. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by yhirano@chromium.org
, Mar 22 2016Labels: -OS-Mac OS-All
Status: Available (was: Unconfirmed)