WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
107524
[v8] Convert string conversion calls to one byte versions
https://bugs.webkit.org/show_bug.cgi?id=107524
Summary
[v8] Convert string conversion calls to one byte versions
Dan Carney
Reported
2013-01-22 01:52:23 PST
[v8] Convert string conversion calls to one byte versions
Attachments
Patch
(6.86 KB, patch)
2013-01-22 01:54 PST
,
Dan Carney
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dan Carney
Comment 1
2013-01-22 01:54:18 PST
Created
attachment 183932
[details]
Patch
Kentaro Hara
Comment 2
2013-01-22 02:24:21 PST
Comment on
attachment 183932
[details]
Patch Looks OK
WebKit Review Bot
Comment 3
2013-01-22 04:00:47 PST
Comment on
attachment 183932
[details]
Patch Clearing flags on attachment: 183932 Committed
r140409
: <
http://trac.webkit.org/changeset/140409
>
WebKit Review Bot
Comment 4
2013-01-22 04:00:53 PST
All reviewed patches have been landed. Closing bug.
Adam Barth
Comment 5
2013-01-22 09:44:33 PST
Comment on
attachment 183932
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=183932&action=review
> Source/WebCore/bindings/v8/SerializedScriptValue.cpp:325 > - string->WriteAscii(buffer, 0, length, v8StringWriteOptions()); > + string->WriteOneByte(byteAt(m_position), 0, length, v8StringWriteOptions());
What'st he difference between these two calls? (Just curious.)
Dan Carney
Comment 6
2013-01-22 11:40:40 PST
Comment on
attachment 183932
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=183932&action=review
>> Source/WebCore/bindings/v8/SerializedScriptValue.cpp:325 >> + string->WriteOneByte(byteAt(m_position), 0, length, v8StringWriteOptions()); > > What'st he difference between these two calls? (Just curious.)
WriteAscii is being removed from the v8 api after WebKit and chrome have removed it. WriteOneByte takes a uint8_t* as the first argument to indicate that it writes Latin-1.
Adam Barth
Comment 7
2013-01-22 11:42:56 PST
Makes sense. Thanks!
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