WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
161103
Add enum traits and use them in the IPC::Decoder
https://bugs.webkit.org/show_bug.cgi?id=161103
Summary
Add enum traits and use them in the IPC::Decoder
Anders Carlsson
Reported
2016-08-23 14:11:12 PDT
Add enum traits and use them in the IPC::Decoder
Attachments
Patch
(24.35 KB, patch)
2016-08-23 14:17 PDT
,
Anders Carlsson
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2016-08-23 14:17:57 PDT
Created
attachment 286773
[details]
Patch
WebKit Commit Bot
Comment 2
2016-08-23 14:20:51 PDT
Attachment 286773
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WTF/EnumTraits.cpp:31: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/EnumTraits.cpp:32: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/EnumTraits.cpp:33: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WTF/wtf/EnumTraits.h:59: This { should be at the end of the previous line [whitespace/braces] [4] ERROR: Source/WebKit2/Shared/mac/ArgumentCodersMac.mm:58: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebKit2/Shared/mac/ArgumentCodersMac.mm:546: preprocessor directives (e.g., #ifdef, #define, #import) should never be indented. [whitespace/indent] [4] ERROR: Source/WebKit2/Shared/mac/ArgumentCodersMac.mm:548: preprocessor directives (e.g., #ifdef, #define, #import) should never be indented. [whitespace/indent] [4] ERROR: Source/WebKit2/Shared/mac/ArgumentCodersMac.mm:551: preprocessor directives (e.g., #ifdef, #define, #import) should never be indented. [whitespace/indent] [4] ERROR: Source/WebKit2/Shared/mac/ArgumentCodersMac.mm:553: preprocessor directives (e.g., #ifdef, #define, #import) should never be indented. [whitespace/indent] [4] ERROR: Source/WebKit2/Platform/IPC/Decoder.h:89: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 10 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 3
2016-08-23 16:49:40 PDT
Comment on
attachment 286773
[details]
Patch r=me if you make sure the builds work.
Anders Carlsson
Comment 4
2016-08-24 12:16:15 PDT
Committed
r204916
: <
http://trac.webkit.org/changeset/204916
>
David Kilzer (:ddkilzer)
Comment 5
2016-09-16 11:14:21 PDT
(In reply to
comment #4
)
> Committed
r204916
: <
http://trac.webkit.org/changeset/204916
>
It appears that this commented-out code got committed by accident: diff --git a/Source/WebKit2/UIProcess/WebPageProxy.cpp b/Source/WebKit2/UIProcess/WebPageProxy.cpp index 7cf79dd..ea472c0 100644 --- a/Source/WebKit2/UIProcess/WebPageProxy.cpp +++ b/Source/WebKit2/UIProcess/WebPageProxy.cpp @@ -2348,1 +2348,1 @@ void WebPageProxy::terminateProcess() - ASSERT(m_process->state() != WebProcessProxy::State::Launching); +// ASSERT(m_process->state() != WebProcessProxy::State::Launching); Should this specific change be reverted?
David Kilzer (:ddkilzer)
Comment 6
2016-09-16 11:25:59 PDT
(In reply to
comment #5
)
> (In reply to
comment #4
) > > Committed
r204916
: <
http://trac.webkit.org/changeset/204916
> > > It appears that this commented-out code got committed by accident: > > diff --git a/Source/WebKit2/UIProcess/WebPageProxy.cpp > b/Source/WebKit2/UIProcess/WebPageProxy.cpp > index 7cf79dd..ea472c0 100644 > --- a/Source/WebKit2/UIProcess/WebPageProxy.cpp > +++ b/Source/WebKit2/UIProcess/WebPageProxy.cpp > @@ -2348,1 +2348,1 @@ void WebPageProxy::terminateProcess() > - ASSERT(m_process->state() != WebProcessProxy::State::Launching); > +// ASSERT(m_process->state() != WebProcessProxy::State::Launching); > > Should this specific change be reverted?
I filed:
Bug 162077
: ASSERT accidentally commented out in
r204916
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