Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Scratch.canDownload before downloading files #1798

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

GarboMuffin
Copy link
Member

@GarboMuffin
Copy link
Member Author

Not clear whether the download blocks should wait until the prompt is complete before resuming the script or keep executing and let the user handle the popup in the background

@yuri-kiss
Copy link
Member

Not clear whether the download blocks should wait until the prompt is complete before resuming the script or keep executing and let the user handle the popup in the background

You should probably just wait for the prompt and then let the user handle the rest.

Dealing with the browser prompt(s) etc.

@yuri-kiss yuri-kiss added the pr: change existing extension Pull requests that change an existing extension label Dec 24, 2024
@Drago-Cuven
Copy link

Wait for the prompt. Better security choice

@GarboMuffin GarboMuffin marked this pull request as draft December 25, 2024 03:04
@GarboMuffin
Copy link
Member Author

Whether the blocks wait or not has no security impact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: change existing extension Pull requests that change an existing extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants