Summary: | Hang underneath ApplicationCacheStorage::writeDataToUniqueFileInDirectory when loading http://www.webkit.org/demos/calendar | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jessie Berlin <jberlin> | ||||||
Component: | Page Loading | Assignee: | Jessie Berlin <jberlin> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, eric, jberlin, jer.noble, jhoneycutt, webkit.review.bot | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | Windows 7 | ||||||||
Attachments: |
|
Description
Jessie Berlin
2011-04-15 15:05:00 PDT
Created attachment 89865 [details]
Patch
Comment on attachment 89865 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=89865&action=review The changes to FileSystemWin look good. Is ApplicationCacheStorage a cross-platform file? If so, we should probably add the checks for both types of path separators. Would that break the Mac? > Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp:1246 > + if (dirName.characterStartingAt(dirName.length() - 1) == '\\') { Should this also check for '/' on Mac? > Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp:1247 > + // Remove any trailing "\". Should this also say '/'? Created attachment 89872 [details]
Patch
Moving the changes to be windows-specific only, in response to the points brought up by Brian.
Comment on attachment 89872 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=89872&action=review > Source/WebCore/ChangeLog:10 > + Add breaks to the case statement in openFile and remove any trailing slash in Separate entries for each function that you changed would be nice for the ChangeLog. (In reply to comment #4) > (From update of attachment 89872 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=89872&action=review > > > Source/WebCore/ChangeLog:10 > > + Add breaks to the case statement in openFile and remove any trailing slash in > > Separate entries for each function that you changed would be nice for the ChangeLog. For some reason the Changelog didn't add them, but I will. Thanks for the review! Comment on attachment 89872 [details] Patch Committed in http://trac.webkit.org/changeset/84051 http://trac.webkit.org/changeset/84051 might have broken WinCairo Debug (Build) |