New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 862104 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug


Participants' hotlists:
Hotlist-1


Sign in to add a comment

Chrome download API throws invalid filename error.

Project Member Reported by shekhar....@synerzip.com, Jul 10

Issue description

Chrome Version       : Version 67.0.3396.99 (Official Build) (64-bit)
OS                   : Ubuntu 14.04 LTS
URLs (if applicable) :
Other browsers tested:

What steps will reproduce the problem?
(1) Download and unzip attached chrome extension
(2) Install the extension
(3) Click on extension icon in toolbar, new tab will open
(4) Click on Download File button
(5) Check browser console 

What is the expected result?
File should download.

What happens instead?
Throws error "Unchecked runtime.lastError while running downloads.download: Invalid filename".

Linux file system allows to create a file with name as "NUL.txt" but when chrome extension tries to download same file using chrome.downloads.download API, it throws Invalid filename error. 
 
downloadChromeExtension.zip
1.6 KB Download
Unsupported Devices.pdf
13.7 KB Download
Cc: atul.mog...@synerzip.com
Components: UI>Browser>Downloads Platform>Extensions>API
Labels: Needs-Triage-M67
Labels: -Pri-3 Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Mac OS-Windows Pri-2
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac 10.13.3, Win-10 and Ubuntu 17.10 using chrome reported version #67.0.3396.99 and latest canary #69.0.3487.0.
This is a non-regression issue as it is observed from M60 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Cc: benjhayden@chromium.org dtrainor@chromium.org qin...@chromium.org rdevlin....@chromium.org
+downloads folks
Owner: xingliu@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment