New issue
Advanced search Search tips

Issue 898136 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

chrome.downloads.download stopped working on latest chrome versions

Reported by juanm...@gmail.com, Oct 23

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
1. try any extension with download link functionality like https://chromium.googlesource.com/chromium/src/+/master/chrome/common/extensions/docs/examples/api/downloads/download_links/
2.chrome.downloads.download does anything, doesn't call the callback function, and doesn't throw any error.

What is the expected behavior?
The download starts and the callback function is called

What went wrong?
It worked in previous chrome versions.

Did this work before? Yes IDK

Does this work in other browsers? N/A

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 10.0
Flash Version:
 
That extension works if you remove "window.close()" in popup.js which destroys the execution context thus preventing the downloads from completing.
Components: Platform>Extensions
Labels: Needs-Bisect Needs-Triage-M69
Yeah, it worked after removing window.close() and moving it to the callback function. My extension had the same line too, meaning the same problem on newer Chrome versions.

Problem solved, thanks!


So someone from the extensions team should decide whether it's a bug or intended behavior and maybe update the official sample extensions accordingly.
Cc: phanindra.mandapaka@chromium.org
Labels: Triaged-ET Needs-Feedback
 juanmv94@ Thanks for the feedback...

@Reporter: As per comment #4, Could you please confirm that we can close this issue from our end or not.

Thanks..!

Sign in to add a comment