Sometimes it might be more convenient for the user to just open a pdf document on the web browser instead of the classic popup prompting them to open or download the file. Although more advanced users know that there exists an option to always display pdf files on the browser side, it might be necessary to provide that option by default.