Bug 131845 - DownloadDecideDestinationCrash API test uses an incorrect value for path
Summary: DownloadDecideDestinationCrash API test uses an incorrect value for path
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-04-18 10:15 PDT by Alexey Proskuryakov
Modified: 2014-04-18 10:34 PDT (History)
0 users

See Also:


Attachments
proposed fix (1.29 KB, patch)
2014-04-18 10:17 PDT, Alexey Proskuryakov
enrica: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2014-04-18 10:15:57 PDT
We can't just return an arbitrary string from decideDestinationWithSuggestedFilename, it has to be a valid path.

<rdar://problem/15925560>
Comment 1 Alexey Proskuryakov 2014-04-18 10:17:47 PDT
Created attachment 229651 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2014-04-18 10:34:19 PDT
Committed <http://trac.webkit.org/r167494>. Changed the path to a more descriptive one - this test generates a sandbox violation, so it's good to know where it comes from.