Email from June 1st containing text 'Today @ 7:10PM' is linkified, but shouldn't be
Created attachment 282959 [details] Patch
Attachment 282959 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1632: Declaration has space between type name and * in NSCachedURLResponse *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1641: Declaration has space between type name and * in NSDictionary *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:77: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 3 in 26 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 282959 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=282959&action=review > Source/WebCore/editing/cocoa/DataDetection.mm:522 > + NSDate *referenceDate = [context objectForKey:@"ReferenceDate"] ?: [NSDate date]; Is this key exposed anywhere? > Source/WebKit2/Shared/LoadParameters.h:50 > +#if PLATFORM(COCOA) > + void platformEncode(IPC::ArgumentEncoder&) const; > + static bool platformDecode(IPC::ArgumentDecoder&, LoadParameters&); > +#endif These should not be #ifdef. Other platforms should have empty implementations. > Source/WebKit2/UIProcess/Cocoa/UIDelegate.h:101 > +#if PLATFORM(COCOA) This doesn't need to be PLATFORM(COCOA). The whole file is cocoa only. > Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:106 > +#if PLATFORM(COCOA) > + m_delegateMethods.dataDetectionContextForWebView = [delegate respondsToSelector:@selector(_dataDetectionContextForWebView:)]; > +#endif This doesn't need to be PLATFORM(COCOA). The whole file is cocoa only. > Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:447 > +#if PLATFORM(COCOA) This doesn't need to be PLATFORM(COCOA). The whole file is cocoa only.
Created attachment 282968 [details] Patch
Attachment 282968 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1632: Declaration has space between type name and * in NSCachedURLResponse *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1641: Declaration has space between type name and * in NSDictionary *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:77: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 3 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 282970 [details] Patch
Attachment 282970 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1632: Declaration has space between type name and * in NSCachedURLResponse *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1641: Declaration has space between type name and * in NSDictionary *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:77: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 3 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 282973 [details] Patch
Attachment 282973 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1632: Declaration has space between type name and * in NSCachedURLResponse *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1641: Declaration has space between type name and * in NSDictionary *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:77: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 3 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 282976 [details] Patch
Attachment 282976 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1632: Declaration has space between type name and * in NSCachedURLResponse *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1641: Declaration has space between type name and * in NSDictionary *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:77: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 3 in 31 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 282977 [details] Patch
Attachment 282977 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1632: Declaration has space between type name and * in NSCachedURLResponse *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1641: Declaration has space between type name and * in NSDictionary *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:77: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 3 in 31 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 282978 [details] Patch
Attachment 282978 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1632: Declaration has space between type name and * in NSCachedURLResponse *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:1641: Declaration has space between type name and * in NSDictionary *WebFrameLoaderClient [whitespace/declaration] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm:77: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 3 in 32 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 282978 [details] Patch Clearing flags on attachment: 282978 Committed r202889: <http://trac.webkit.org/changeset/202889>
All reviewed patches have been landed. Closing bug.
May have caused a couple of API tests to fail on the bots: FAIL WebKit2WillLoadTest.WKPageLoadHTMLString /Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/WebKit2/WillLoad.cpp:122 Value of: MIMEType Actual: "" Expected: expectedMIMEType Which is: "text/html" FAIL WebKit2WillLoadTest.WKPageLoadHTMLStringWithUserData /Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/WebKit2/WillLoad.cpp:122 Value of: MIMEType Actual: "" Expected: expectedMIMEType Which is: "text/html"
(In reply to comment #18) > May have caused a couple of API tests to fail on the bots: > > FAIL WebKit2WillLoadTest.WKPageLoadHTMLString > > /Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/ > WebKit2/WillLoad.cpp:122 > Value of: MIMEType > Actual: "" > Expected: expectedMIMEType > Which is: "text/html" > > FAIL WebKit2WillLoadTest.WKPageLoadHTMLStringWithUserData > > /Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/ > WebKit2/WillLoad.cpp:122 > Value of: MIMEType > Actual: "" > Expected: expectedMIMEType > Which is: "text/html" Probably. I'll take a look!
(In reply to comment #19) > (In reply to comment #18) > > May have caused a couple of API tests to fail on the bots: > > > > FAIL WebKit2WillLoadTest.WKPageLoadHTMLString > > > > /Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/ > > WebKit2/WillLoad.cpp:122 > > Value of: MIMEType > > Actual: "" > > Expected: expectedMIMEType > > Which is: "text/html" > > > > FAIL WebKit2WillLoadTest.WKPageLoadHTMLStringWithUserData > > > > /Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/ > > WebKit2/WillLoad.cpp:122 > > Value of: MIMEType > > Actual: "" > > Expected: expectedMIMEType > > Which is: "text/html" > > > Probably. I'll take a look! Yep! Stupid typo. Fixing.
Should be fixed in https://trac.webkit.org/changeset/202894
(In reply to comment #16) > Comment on attachment 282978 [details] > Patch > > Clearing flags on attachment: 282978 > > Committed r202889: <http://trac.webkit.org/changeset/202889> It broke the Apple Mac cmake build, cc-ing Alex.
fix landed in https://trac.webkit.org/changeset/202898