Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-70895] skip
isSecureContext
check in automated tests
https://issues.jenkins.io/browse/JENKINS-70895 reports that `isSecureContext` is not recognized by HTMLUnit in its JavaScript handling. That breaks tests for some plugins that use HTMLUnit to test configuration round trips. jenkinsci#7665 introduced this change to notify users running over HTTP connections (insecure) that the copy button does not work over insecure connections. https://issues.jenkins.io/browse/JENKINS-21052 was the original motivation for that informational message to the user. James Nord tested this change in the automated test that was failing with Jenkins 2.397 and confirmed that the test passes with this change. I tested interactively over HTTP and confirmed that the copy button on the inbound agent page still reports that copy is not supported over an insecure session. I tested interactively over HTTPS and confirmed that the copy button on the inbound agent page still correctly copies the expected content. I spent several unsuccessful hours trying to create an automated test to show the failure. I think we should include this fix without an automated test because the automated tests in the plugin that James maintains will detect the issue.
- Loading branch information