Bug 129752

Summary: ObjC exception when dropping files into a WKView: drag and drop uses code from WebKit.framework
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: enrica, sam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch enrica: review+

Simon Fraser (smfr)
Reported 2014-03-05 11:51:09 PST
ObjC exception when dropping files into a WKView: drag and drop uses code from WebKit.framework
Attachments
Patch (15.43 KB, patch)
2014-03-05 11:54 PST, Simon Fraser (smfr)
enrica: review+
Simon Fraser (smfr)
Comment 1 2014-03-05 11:51:39 PST
Simon Fraser (smfr)
Comment 2 2014-03-05 11:54:27 PST
Enrica Casucci
Comment 3 2014-03-05 12:02:42 PST
Comment on attachment 225897 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=225897&action=review Looks good > Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:722 > + NSURLRequest *request = [[NSURLRequest alloc] initWithURL:URL]; RetainPtr and avoid release? > Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:920 > + */ Comment style > Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:934 > + return rangeOfURLScheme(stringByTrimmingWhitespace(string)).location != NSNotFound; Maybe you could use CFStringTrimWhitespace.
Simon Fraser (smfr)
Comment 4 2014-03-05 12:10:57 PST
Note You need to log in before you can comment on or make changes to this bug.