Am I misinformed about live protection in Firefox with Avast.

If I download a file or app using the Mac version of Firefox does Avast Free for Mac scan that file in the background? Or do I first have to scan the downloaded file?