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

Issue 22413002: Try UTF-8 encoding first for XHR postData. (Closed)

Created:
7 years, 4 months ago by eustas
Modified:
7 years, 4 months ago
Reviewers:
vsevik
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

Assume: xhr.open("POST", "?q"); xhr.send(payload); User expects that data shown in NetworkPanel is the same as "payload". When payload contains non-ASCII chars, this is not true. That is because postData is decoded with Latin-1 codec. BUG=136170 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155937

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
A LayoutTests/http/tests/inspector/network/network-xhr-post-payload.html View 1 chunk +33 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/inspector/network/network-xhr-post-payload-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.cpp View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
eustas
7 years, 4 months ago (2013-08-12 13:21:31 UTC) #1
vsevik
lgtm
7 years, 4 months ago (2013-08-12 13:29:54 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eustas@chromium.org/22413002/1
7 years, 4 months ago (2013-08-12 13:30:57 UTC) #3
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 15:09:45 UTC) #4
Message was sent while issue was closed.
Change committed as 155937

Powered by Google App Engine
This is Rietveld 408576698