Revision f2ae7641fad03150b4238a8b34dc9bdfdf58c0dd authored by Adam Rice on 20 March 2018, 12:30:43 UTC, committed by Blink WPT Bot on 20 March 2018, 12:38:49 UTC
Prior to this change, response body methods such as response.body.arrayBuffer() would reject with a TypeError if the fetch was aborted. This change makes them correctly reject with an AbortError instead. This implements stage #3 of the "Body Cancellation" section of the design doc: https://docs.google.com/document/d/1OuoCG2uiijbAwbCw9jaS7tHEO0LBO_4gMNio1ox0qlY/edit#heading=h.fvc7d7q07oio Bug: 817687 Change-Id: Ifde322d9c22485a8ba9d14fd4ffca65c4fb4745a Reviewed-on: https://chromium-review.googlesource.com/954765 Commit-Queue: Adam Rice <ricea@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#544335}
1 parent 7cb5db5
File | Mode | Size |
---|---|---|
certs | ||
ci | ||
gitignore | ||
html5lib | ||
lint | ||
manifest | ||
pywebsocket | ||
runner | ||
scripts | ||
serve | ||
six | ||
sslutils | ||
third_party | ||
webdriver | ||
wpt | ||
wptrunner | ||
wptserve | ||
.coveragerc | -rw-r--r-- | 333 bytes |
.gitattributes | -rw-r--r-- | 26 bytes |
.gitignore | -rw-r--r-- | 120 bytes |
.gitmodules | -rw-r--r-- | 371 bytes |
OWNERS | -rw-r--r-- | 20 bytes |
__init__.py | -rw-r--r-- | 40 bytes |
appveyor.yml | -rw-r--r-- | 770 bytes |
conftest.py | -rw-r--r-- | 841 bytes |
localpaths.py | -rw-r--r-- | 802 bytes |
pytest.ini | -rw-r--r-- | 110 bytes |
tox.ini | -rw-r--r-- | 1.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...