Bug 57109 - REGRESSION(r79227): CFURLCache not initialized correctly in WebKit2
Summary: REGRESSION(r79227): CFURLCache not initialized correctly in WebKit2
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Brian Weinstein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 11:41 PDT by Brian Weinstein
Modified: 2011-03-25 11:48 PDT (History)
2 users (show)

See Also:


Attachments
[PATCH] Fix (1.65 KB, patch)
2011-03-25 11:44 PDT, Brian Weinstein
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Weinstein 2011-03-25 11:41:18 PDT
The CFURLCache isn't being correctly initialized in WebKit2 on Windows.

if (parameters.cfURLCachePath[parameters.cfURLCachePath.length() - 1] == '/')

checks for a trailing slash, but the Windows path separator is '\', not '/'.

<rdar://problem/9184590>
Comment 1 Brian Weinstein 2011-03-25 11:44:15 PDT
Created attachment 86966 [details]
[PATCH] Fix
Comment 2 Brian Weinstein 2011-03-25 11:48:09 PDT
Landed in r81975.