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

Issue 23456013: Expose latin1 methods in WebString (Closed)

Created:
7 years, 3 months ago by davidben
Modified:
5 years, 10 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, jamesr, eae+blinkwatch, tommyw+watchlist_chromium.org, dglazkov+blink, jeez
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Expose latin1 methods in WebString Needed to plumb header values correctly between Chromium and Blink. Also temporarily mark a test as flaky in advance of breaking it for a WebURLLoaderImpl change. When that change lands, the test will be fixed and switched back. BUG=276769 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157238

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -2 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/platform/chromium/support/WebString.cpp View 1 2 1 chunk +21 lines, -2 lines 0 comments Download
M public/platform/WebString.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
davidben
Plan for coordinating repositories: 1. Land this change. 2. When Blink roll happens, land Chromium ...
7 years, 3 months ago (2013-08-31 13:32:06 UTC) #1
abarth-chromium
https://codereview.chromium.org/23456013/diff/1/Source/core/platform/chromium/support/WebString.cpp File Source/core/platform/chromium/support/WebString.cpp (right): https://codereview.chromium.org/23456013/diff/1/Source/core/platform/chromium/support/WebString.cpp#newcode102 Source/core/platform/chromium/support/WebString.cpp:102: return std::string(latin1.data(), latin1.length()); WTF:: <--- This prefix isn't needed. ...
7 years, 3 months ago (2013-08-31 18:04:18 UTC) #2
davidben
https://codereview.chromium.org/23456013/diff/1/Source/core/platform/chromium/support/WebString.cpp File Source/core/platform/chromium/support/WebString.cpp (right): https://codereview.chromium.org/23456013/diff/1/Source/core/platform/chromium/support/WebString.cpp#newcode102 Source/core/platform/chromium/support/WebString.cpp:102: return std::string(latin1.data(), latin1.length()); On 2013/08/31 18:04:18, abarth wrote: > ...
7 years, 3 months ago (2013-09-03 15:04:56 UTC) #3
abarth-chromium
On 2013/09/03 15:04:56, David Benjamin wrote: > https://codereview.chromium.org/23456013/diff/1/Source/core/platform/chromium/support/WebString.cpp > File Source/core/platform/chromium/support/WebString.cpp (right): > > https://codereview.chromium.org/23456013/diff/1/Source/core/platform/chromium/support/WebString.cpp#newcode102 ...
7 years, 3 months ago (2013-09-03 15:43:25 UTC) #4
abarth-chromium
LGTM https://codereview.chromium.org/23456013/diff/7001/Source/core/platform/chromium/support/WebString.cpp File Source/core/platform/chromium/support/WebString.cpp (right): https://codereview.chromium.org/23456013/diff/7001/Source/core/platform/chromium/support/WebString.cpp#newcode103 Source/core/platform/chromium/support/WebString.cpp:103: if (string.is8Bit()) You need to handle the isEmpty() ...
7 years, 3 months ago (2013-09-03 15:46:40 UTC) #5
davidben
On 2013/09/03 15:43:25, abarth wrote: > What happens when the String contains characters that cannot ...
7 years, 3 months ago (2013-09-03 16:27:00 UTC) #6
davidben
Also removed some WTF:: prefixes. https://codereview.chromium.org/23456013/diff/7001/Source/core/platform/chromium/support/WebString.cpp File Source/core/platform/chromium/support/WebString.cpp (right): https://codereview.chromium.org/23456013/diff/7001/Source/core/platform/chromium/support/WebString.cpp#newcode103 Source/core/platform/chromium/support/WebString.cpp:103: if (string.is8Bit()) On 2013/09/03 ...
7 years, 3 months ago (2013-09-03 17:58:25 UTC) #7
davidben
On 2013/09/03 17:58:25, David Benjamin wrote: > Also removed some WTF:: prefixes. > > https://codereview.chromium.org/23456013/diff/7001/Source/core/platform/chromium/support/WebString.cpp ...
7 years, 3 months ago (2013-09-04 14:36:26 UTC) #8
abarth-chromium
lgtm
7 years, 3 months ago (2013-09-04 17:38:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/23456013/15001
7 years, 3 months ago (2013-09-04 17:38:34 UTC) #10
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-04 17:38:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/23456013/22001
7 years, 3 months ago (2013-09-04 18:33:35 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 19:54:22 UTC) #13
Message was sent while issue was closed.
Change committed as 157238

Powered by Google App Engine
This is Rietveld 408576698