Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1300)

Issue 26231002: Add logs to XMLHttpRequest to ease debugging. (Closed)

Created:
7 years, 2 months ago by tyoshino (SeeGerritForStatus)
Modified:
7 years, 2 months ago
Reviewers:
Nate Chapin, yhirano
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add logs to XMLHttpRequest to ease debugging. In debugging complicated XHR bugs, it's important to understand sequence of method calls and state transition. I want to upstream simple logs at the head of each method implementations and loader delegate methods I'm regularly putting for debugging. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159234

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : yhirano's comments #

Patch Set 9 : Rebase #

Patch Set 10 : Fix compile error (llu) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
M Source/core/xml/XMLHttpRequest.cpp View 1 2 3 4 5 6 7 8 9 16 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tyoshino (SeeGerritForStatus)
7 years, 2 months ago (2013-10-07 08:41:41 UTC) #1
yhirano
lgtm All comments are optional. https://codereview.chromium.org/26231002/diff/12001/Source/core/xml/XMLHttpRequest.cpp File Source/core/xml/XMLHttpRequest.cpp (right): https://codereview.chromium.org/26231002/diff/12001/Source/core/xml/XMLHttpRequest.cpp#newcode1179 Source/core/xml/XMLHttpRequest.cpp:1179: LOG(Network, "XMLHttpRequest %p didFinishLoading()", ...
7 years, 2 months ago (2013-10-07 09:51:27 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/26231002/diff/12001/Source/core/xml/XMLHttpRequest.cpp File Source/core/xml/XMLHttpRequest.cpp (right): https://codereview.chromium.org/26231002/diff/12001/Source/core/xml/XMLHttpRequest.cpp#newcode1179 Source/core/xml/XMLHttpRequest.cpp:1179: LOG(Network, "XMLHttpRequest %p didFinishLoading()", this); On 2013/10/07 09:51:27, yhirano ...
7 years, 2 months ago (2013-10-08 13:09:11 UTC) #3
tyoshino (SeeGerritForStatus)
Hi japhet, Could you please review this?
7 years, 2 months ago (2013-10-08 13:14:14 UTC) #4
Nate Chapin
lgtm
7 years, 2 months ago (2013-10-08 16:23:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/26231002/22001
7 years, 2 months ago (2013-10-09 03:11:20 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-09 05:26:23 UTC) #7
tyoshino (SeeGerritForStatus)
Fixed. Use %llu for unsigned long long.
7 years, 2 months ago (2013-10-09 12:49:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/26231002/36001
7 years, 2 months ago (2013-10-09 12:49:26 UTC) #9
commit-bot: I haz the power
7 years, 2 months ago (2013-10-09 14:49:45 UTC) #10
Message was sent while issue was closed.
Change committed as 159234

Powered by Google App Engine
This is Rietveld 408576698