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

Replace Prototype.js with native JavaScript #208

Merged
merged 1 commit into from
May 15, 2023

Conversation

basil
Copy link
Member

@basil basil commented May 5, 2023

See JENKINS-70906. Jenkins core currently uses Prototype 1.7, released on November 15, 2010. The latest version is Prototype 1.7.3, released on September 22, 2015. When an attempt was made to upgrade to 1.7.3 in 2018 in JENKINS-49319, the change had to be reverted. Since this library has been unmaintained for the past 8 years, this PR removes any usages of it in favor of native JavaScript APIs. To test this, I stepped through the changed lines in a debugger and verified they were executed in my browser without any stack traces.

@basil basil requested a review from a team as a code owner May 5, 2023 20:26
@basil basil changed the title more Replace Prototype.js with native JavaScript May 5, 2023
@alecharp alecharp enabled auto-merge May 15, 2023 10:04
Copy link
Member

@alecharp alecharp 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. Thanks @basil.

@alecharp alecharp added this pull request to the merge queue May 15, 2023
Merged via the queue into jenkinsci:master with commit 1cac041 May 15, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants