Chromium Code Reviews
DescriptionFix a crash when download a DRM file through context menu
This is a regression introduced by
https://codereview.chromium.org/1717783002.
Previously we use URLUtil.guessFileName() to generate file names for
download.
However, to fix crbug/570750, we rely on the native code to pass the
file name.
However, drm download through context menu bypasses the native download
code.
As a result, we need to generate the file name in Java if it is null.
Since content disposition is null, this will not cause the same problem
as reported in crbug/570750.
BUG=608258
Committed: https://crrev.com/4e33c5d6978752f31ed6702e72e46fdf78cd5565
Cr-Commit-Position: refs/heads/master@{#395750}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||