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

Merged
merged 4 commits into from
Dec 28, 2024

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

@GarboMuffin GarboMuffin marked this pull request as ready for review December 27, 2024 22:47
@GarboMuffin GarboMuffin merged commit a8764bf into master Dec 28, 2024
3 of 5 checks passed
@GarboMuffin GarboMuffin deleted the Scratch.canDownload branch December 28, 2024 08:44
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