WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-145254-20150521032529.patch (text/plain), 1.54 KB, created by
Csaba Osztrogonác
on 2015-05-21 03:25:35 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Csaba Osztrogonác
Created:
2015-05-21 03:25:35 PDT
Size:
1.54 KB
patch
obsolete
>Subversion Revision: 184709 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index a8920017f1edb1dbd6b4eca764c119a3fbd78716..93720067f47fdc9577382e7eaa6472e6b29e3459 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,13 @@ >+2015-05-21 Csaba Osztrogonác <ossy@webkit.org> >+ >+ Fix logical-not-parentheses warning in CachedScript.cpp >+ https://bugs.webkit.org/show_bug.cgi?id=145254 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * loader/cache/CachedScript.cpp: >+ (WebCore::CachedScript::mimeTypeAllowedByNosniff): Added the necessary parentheses. >+ > 2015-05-21 Gyuyoung Kim <gyuyoung.kim@webkit.org> > > Purge PassRefPtr in WebCore/Modules >diff --git a/Source/WebCore/loader/cache/CachedScript.cpp b/Source/WebCore/loader/cache/CachedScript.cpp >index f8bc33c7b3251dc42380f5c4683ff4e94e349d92..15d7b78269661cd4d901eb2cf8d5451f6926a472 100644 >--- a/Source/WebCore/loader/cache/CachedScript.cpp >+++ b/Source/WebCore/loader/cache/CachedScript.cpp >@@ -95,7 +95,7 @@ void CachedScript::destroyDecodedData() > #if ENABLE(NOSNIFF) > bool CachedScript::mimeTypeAllowedByNosniff() const > { >- return !parseContentTypeOptionsHeader(m_response.httpHeaderField(HTTPHeaderName::XContentTypeOptions)) == ContentTypeOptionsNosniff || MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType()); >+ return !(parseContentTypeOptionsHeader(m_response.httpHeaderField(HTTPHeaderName::XContentTypeOptions)) == ContentTypeOptionsNosniff) || MIMETypeRegistry::isSupportedJavaScriptMIMEType(mimeType()); > } > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 145254
:
253515
|
253991