Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Issue 142550043: [benchmark] Do not abort() when readyState is DONE in destroyAllXHRs (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by hiroshige
Modified:
11 years, 2 months ago
CC:
pywebsocket-reviews_googlegroups.com
Base URL:
http://pywebsocket.googlecode.com/svn/trunk/
Visibility:
Public.

Description

[benchmark] Do not abort() when readyState is DONE in destroyAllXHRs This is to supress DevTools error messages, because on Chrome calling abort() in an onreadystatechange handler in sync mode causes a NetworkError message, even if it is after transition to DONE state. R=tyoshino@chromium.org Committed: https://code.google.com/p/pywebsocket/source/detail?r=852

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/example/xhr_benchmark.js View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 3
hiroshige
11 years, 2 months ago (2014-09-24 05:51:54 UTC) #1
tyoshino (chromium.org)
lgtm https://codereview.appspot.com/142550043/diff/20001/src/example/xhr_benchmark.js File src/example/xhr_benchmark.js (right): https://codereview.appspot.com/142550043/diff/20001/src/example/xhr_benchmark.js#newcode25 src/example/xhr_benchmark.js:25: // Abort XHRs if they are not yet ...
11 years, 2 months ago (2014-09-24 06:47:09 UTC) #2
hiroshige
11 years, 2 months ago (2014-09-25 03:03:16 UTC) #3
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as r852 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b