| 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 Bugs | Assignee: | 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
Simon Fraser (smfr)
2014-03-05 11:51:09 PST
Created attachment 225897 [details]
Patch
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. |