WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
118074
Add JSStringCreateWithCharactersNoCopy SPI
https://bugs.webkit.org/show_bug.cgi?id=118074
Summary
Add JSStringCreateWithCharactersNoCopy SPI
Anders Carlsson
Reported
2013-06-26 13:04:00 PDT
Add JSStringCreateWithCharactersNoCopy SPI
Attachments
Patch
(18.81 KB, patch)
2013-06-26 13:17 PDT
,
Anders Carlsson
ggaren
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-06-26 13:06:34 PDT
<
rdar://problem/14279905
>
Anders Carlsson
Comment 2
2013-06-26 13:17:29 PDT
Created
attachment 205520
[details]
Patch
WebKit Commit Bot
Comment 3
2013-06-26 13:19:55 PDT
Attachment 205520
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/API/JSStringRef.cpp', u'Source/JavaScriptCore/API/JSStringRefPrivate.h', u'Source/JavaScriptCore/API/OpaqueJSString.h', u'Source/JavaScriptCore/API/tests/testapi.c', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/text/StringImpl.cpp', u'Source/WTF/wtf/text/StringImpl.h']" exit_code: 1 Source/WTF/wtf/text/StringImpl.h:772: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Source/WTF/wtf/text/StringImpl.h:1365: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Total errors found: 2 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Geoffrey Garen
Comment 4
2013-06-26 15:17:33 PDT
Comment on
attachment 205520
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=205520&action=review
r=me
> Source/WTF/wtf/text/StringImpl.h:774 > + else
No else, please.
> Source/WTF/wtf/text/StringImpl.h:1367 > + else
Ditto.
> Source/WTF/wtf/text/StringImpl.h:1373 > - return create(m_data16, m_length); > + else
Boo.
Anders Carlsson
Comment 5
2013-06-26 16:24:21 PDT
Committed
r152052
: <
http://trac.webkit.org/changeset/152052
>
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