WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47714
Replace some String::format() usages by StringConcatenate in WebKit
https://bugs.webkit.org/show_bug.cgi?id=47714
Summary
Replace some String::format() usages by StringConcatenate in WebKit
Nikolas Zimmermann
Reported
2010-10-15 01:44:27 PDT
As done in patch 47664 for WebCore, do the same in WebKit.
Attachments
Patch
(16.52 KB, patch)
2010-10-15 01:48 PDT
,
Nikolas Zimmermann
no flags
Details
Formatted Diff
Diff
Patch v2
(16.60 KB, patch)
2010-10-15 02:12 PDT
,
Nikolas Zimmermann
no flags
Details
Formatted Diff
Diff
Patch v3
(16.63 KB, patch)
2010-10-15 02:44 PDT
,
Nikolas Zimmermann
no flags
Details
Formatted Diff
Diff
Patch v4
(16.75 KB, patch)
2010-10-15 04:34 PDT
,
Nikolas Zimmermann
no flags
Details
Formatted Diff
Diff
Patch v5
(18.09 KB, patch)
2010-10-15 05:12 PDT
,
Nikolas Zimmermann
krit
: review+
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Nikolas Zimmermann
Comment 1
2010-10-15 01:48:07 PDT
Created
attachment 70839
[details]
Patch
WebKit Review Bot
Comment 2
2010-10-15 01:51:16 PDT
Attachment 70839
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit/chromium/src/BackForwardListClientImpl.cpp:106: url_string is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Nikolas Zimmermann
Comment 3
2010-10-15 01:54:26 PDT
(In reply to
comment #2
)
>
Attachment 70839
[details]
did not pass style-queue: > > Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 > WebKit/chromium/src/BackForwardListClientImpl.cpp:106: url_string is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] > Total errors found: 1 in 14 files
I'm not planing to rename existing variables in chromium code, I think it's safe to ignore this error.
Nikolas Zimmermann
Comment 4
2010-10-15 02:12:01 PDT
Created
attachment 70842
[details]
Patch v2 Fix a typo s/char/UChar/ in the new StringTypeAdapter. Also changed my mind, renamed url_string to urlString, to have a green style bot result.
WebKit Review Bot
Comment 5
2010-10-15 02:28:16 PDT
Attachment 70839
[details]
did not build on chromium: Build output:
http://queues.webkit.org/results/4462042
Nikolas Zimmermann
Comment 6
2010-10-15 02:44:16 PDT
Created
attachment 70845
[details]
Patch v3 Add explicit cast from WebString -> String, attempting to fix the chromium build.
WebKit Review Bot
Comment 7
2010-10-15 04:16:48 PDT
Attachment 70845
[details]
did not build on chromium: Build output:
http://queues.webkit.org/results/4455056
Nikolas Zimmermann
Comment 8
2010-10-15 04:34:16 PDT
Created
attachment 70850
[details]
Patch v4 Arrgl, missed another WebString -> String conversion in WebPageSerializer. Fix and optimize it even further.
Nikolas Zimmermann
Comment 9
2010-10-15 05:12:05 PDT
Created
attachment 70854
[details]
Patch v5 *sigh* Forgot to include JavaScriptCore changes. Added StringTypeAdapter<UChar> to avoid having to convert UChars, we can directly append them.
Dirk Schulze
Comment 10
2010-10-15 05:21:21 PDT
Comment on
attachment 70854
[details]
Patch v5 View in context:
https://bugs.webkit.org/attachment.cgi?id=70854&action=review
LGTM. r=me
> WebKit/chromium/src/BackForwardListClientImpl.cpp:107 > + m_pendingHistoryItem = HistoryItem::create(urlString, String(), 0.0);
Please use 0
Nikolas Zimmermann
Comment 11
2010-10-15 05:30:53 PDT
Committed
r69850
: <
http://trac.webkit.org/changeset/69850
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug