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

Remove XBAP-related dead code from BrowserInteropHelper/SafeSecurityHelper #9855

Merged
merged 5 commits into from
Nov 8, 2024

Conversation

h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Sep 27, 2024

Description

Removes some XBAP-related dead code that hasn't been removed in #1009, mainly from BrowserInteropHelper and my favourite SafeSecurityHelper. Also removes the registry paths that are no longer looked up by WPF on .NET Core.

I've also hollowed out DynamicScriptObject because the only way to create an instance was via HostScript property of BrowserInteropHelper, which returns null on all versions of .NET Core, so you could never initiate one.

Customer Impact

Decreased size of assemblies, better code quality of codebase for developers.

Regression

No.

Testing

Local build.

Risk

I believe there is none, XBAP is not supported on .NET Core, this is just leftover code that is uncalled.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners September 27, 2024 21:03
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Sep 27, 2024
@h3xds1nz
Copy link
Member Author

h3xds1nz commented Oct 7, 2024

Resolved merge conflicts 08

@h3xds1nz
Copy link
Member Author

h3xds1nz commented Oct 8, 2024

Resolved merge conflicts after #9609

@harshit7962 harshit7962 merged commit c0b716b into dotnet:main Nov 8, 2024
8 checks passed
@harshit7962
Copy link
Member

@h3xds1nz Thank you for the contribution.

@h3xds1nz
Copy link
Member Author

@harshit7962 Thanks for including it.

h3xds1nz added a commit to h3xds1nz/wpf that referenced this pull request Nov 11, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants