Skip to content

fix: compilation error when disabling extensions and pdf_viewer#47964

Merged
jkleinsc merged 1 commit intoelectron:mainfrom
wujinli:fix_compile_error
Aug 7, 2025
Merged

fix: compilation error when disabling extensions and pdf_viewer#47964
jkleinsc merged 1 commit intoelectron:mainfrom
wujinli:fix_compile_error

Conversation

@wujinli
Copy link
Copy Markdown
Contributor

@wujinli wujinli commented Aug 5, 2025

Description of Change

here we fix the compile error:

// args.gn file
enable_electron_extensions=false
enable_pdf_viewer=false

Checklist

Release Notes

Notes: Fixed compilation error when disabling extensions and pdf_viewer

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Aug 5, 2025
@wujinli wujinli force-pushed the fix_compile_error branch from 5309f70 to a3480a2 Compare August 5, 2025 11:16
@codebytere codebytere added semver/patch backwards-compatible bug fixes target/37-x-y PR should also be added to the "37-x-y" branch. target/38-x-y PR should also be added to the "38-x-y" branch. labels Aug 5, 2025
@wujinli wujinli changed the title Fixed compilation error when disabling extensions and pdf_viewer fix: compilation error when disabling extensions and pdf_viewer Aug 5, 2025
@wujinli wujinli force-pushed the fix_compile_error branch from a3480a2 to 9de4788 Compare August 5, 2025 12:34
@wujinli
Copy link
Copy Markdown
Contributor Author

wujinli commented Aug 5, 2025

@codebytere Hi, Please help to trigger tests again. Changes: Syntax formatting

@wujinli
Copy link
Copy Markdown
Contributor Author

wujinli commented Aug 6, 2025

The test failure is due to infrastructure issues. Please help fix this.
In fact, most architectures have already passed the tests, except for the linux-arm64 mocha tests, which proves that there are no issues with this commit. Therefore, you can skip the tests and merge directly.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Aug 6, 2025
@wujinli
Copy link
Copy Markdown
Contributor Author

wujinli commented Aug 6, 2025

@codebytere @dsanders11 Can someone help me sort it out?

Copy link
Copy Markdown
Member

@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 good to me, just needs a small change on the comment

@wujinli wujinli force-pushed the fix_compile_error branch from 9de4788 to 54971e9 Compare August 7, 2025 02:18
@wujinli
Copy link
Copy Markdown
Contributor Author

wujinli commented Aug 7, 2025

Looks good to me, just needs a small change on the comment

@jkleinsc Done. At the same time, another original error in the same file is also corrected.

@wujinli wujinli requested a review from jkleinsc August 7, 2025 02:19
@wujinli
Copy link
Copy Markdown
Contributor Author

wujinli commented Aug 7, 2025

The test failure is not related to this commit.

@jkleinsc jkleinsc merged commit f49a645 into electron:main Aug 7, 2025
101 of 103 checks passed
@release-clerk
Copy link
Copy Markdown

release-clerk bot commented Aug 7, 2025

Release Notes Persisted

Fixed compilation error when disabling extensions and pdf_viewer

@trop
Copy link
Copy Markdown
Contributor

trop bot commented Aug 7, 2025

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

@trop trop bot added the in-flight/38-x-y label Aug 7, 2025
@trop
Copy link
Copy Markdown
Contributor

trop bot commented Aug 7, 2025

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

@trop trop bot added in-flight/37-x-y and removed target/38-x-y PR should also be added to the "38-x-y" branch. target/37-x-y PR should also be added to the "37-x-y" branch. labels Aug 7, 2025
@trop trop bot added merged/38-x-y PR was merged to the "38-x-y" branch. merged/37-x-y PR was merged to the "37-x-y" branch. and removed in-flight/38-x-y in-flight/37-x-y labels Aug 7, 2025
kigh-ota pushed a commit to kigh-ota/electron that referenced this pull request Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/37-x-y PR was merged to the "37-x-y" branch. merged/38-x-y PR was merged to the "38-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants