How to trigger onDownloadProgress while installing Chrome Extension?

1 answer

I would like to know how to trigger the onDownloadProgress event. I made an extension, uploaded it to the Chrome Store and followed every step detailed here:

Now I'm trying to display a progress bar to users when they install my extension but I get the following error:

Uncaught TypeError: Cannot call method 'addListener' of undefined 

this is the code I'm using:

chrome.webstore.onDownloadProgress.addListener(function(percentage){ console.log(percentage) });  chrome.webstore.install('MY_EXTENSION_ID', function(){ console.log('installed') }, function(error){ console.log(error) }); 

It is part of their docs here: and it's not working at all.

All answers to this question, which has the identifier 22769945

The best answer:

It looks like these events were added to Chrome's trunk code only 5 days ago. They are available now on Chrome Canary, but it will be a while until they are present in the regular Chrome channel.

I don't know why the documentation page is already listing them.

Last questions

how do i remove the switch on my home screen?
how to edit the JS date and time to update atuomatically?
How to utilize data stored in a multidimensional array
Powermockito not mocking URL constructor in URI.toURL() method
Android Bluetooth LE Scanner only scans when phone's Location is turned on in some devices
docker wordpress container can't connect to mysql container
How can I declare a number in java that is more than 64-bits? [duplicate]
Optaplanner solutionClass entityCollectionProperty should never return null error when simple JSON object passed to controller
Anylogic, get the time a pedestrain is in a queue
How do I fix this syntax issue with my .flex file?
Optimizing query in PHP
How to find the highest number of a column and print two columns of that row in R?
Ideas on “Error: Type is referenced as an interface from”?
JCIFS SmbFile.exists() and SmbFile.isDirectory() return false when it exists and I can listFiles()
PHP total order
Laravel booking system design
neural net - undefined column selected
How to indicate y axis does not start from 0 in ggplot?
Fragments in backStack
Spinner how to change the data