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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: shell.trashItem crash when called in renderer #28748

Merged
merged 3 commits into from
Apr 22, 2021

Conversation

nornagon
Copy link
Member

@nornagon nornagon commented Apr 20, 2021

Description of Change

Fixes #28029. This has been broken in the renderer since it was introduced (by me 馃槼 ) in #25114.

Checklist

Release Notes

Notes: Fixed a crash when calling shell.trashItem() from the renderer process.

@electron-cation electron-cation bot added the new-pr 馃尡 PR opened in the last 24 hours label Apr 20, 2021
@nornagon nornagon added the semver/patch backwards-compatible bug fixes label Apr 20, 2021
Copy link
Contributor

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like newly added test is failing on all Windows platforms.

spec-main/api-shell-spec.ts Outdated Show resolved Hide resolved
@nornagon nornagon requested a review from jkleinsc April 21, 2021 17:37
@electron-cation electron-cation bot removed the new-pr 馃尡 PR opened in the last 24 hours label Apr 21, 2021
@nornagon nornagon merged commit be3c2fd into master Apr 22, 2021
@release-clerk
Copy link

release-clerk bot commented Apr 22, 2021

Release Notes Persisted

Fixed a crash when calling shell.trashItem() from the renderer process.

@trop
Copy link
Contributor

trop bot commented Apr 22, 2021

I have automatically backported this PR to "12-x-y", please check out #28787

@trop
Copy link
Contributor

trop bot commented Apr 22, 2021

I have automatically backported this PR to "13-x-y", please check out #28788

@zcbenz
Copy link
Member

zcbenz commented Apr 26, 2021

@nornagon The newly added test seems to fail consistently on ia32 Windows.

@nornagon
Copy link
Member Author

@zcbenz thanks for the ping. I have no idea why this test would fail on ia32 windows but not x64 windows, so for now I'm just going to disable the test to unbreak master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shell.trashItem crashes the process
4 participants