new constructor. The
Prompts the user to download a file containing the specified
buffer. The file will have the given
Note: The browser may override the MIME type provided based on the file
Note: Browsers might block the download if download_buffer is not being called from a user interaction (e.g. button click).
Note: Browsers might ask the user for permission or block the download if multiple download requests are made in a quick succession.
Execute the string
true, the code will be evaluated in the global execution context. Otherwise, it is evaluated in the execution context of a function within the engine's runtime environment.