Skip to content

Conversation

@kerenr-jfrog
Copy link
Contributor

@kerenr-jfrog kerenr-jfrog commented Jun 18, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

  • Added CefBrowser component in the component details view for integrating the WebView app and display scan findings.
  • Added WebviewManager utility class for managing the CefBrowser element and the WebView app.

@kerenr-jfrog kerenr-jfrog self-assigned this Jun 18, 2025
@kerenr-jfrog kerenr-jfrog marked this pull request as ready for review June 18, 2025 13:37
@github-actions
Copy link

👍 Frogbot scanned this pull request and did not find any new security issues.


Copy link

@hadarshjfrog hadarshjfrog left a comment

Choose a reason for hiding this comment

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

Added some comments - mostly cleanup - you can replace add some DEBUG logs where you see fit.
Also - please enrich PR description please

addSection("Location:", "row: " + node.getRowStart() + " col: " + node.getColStart());
addSection("Reason:", node.getReason());
if (webviewManager == null || !webviewManager.isReady()) {
log.warn("WebviewManager not ready. Cannot display issue.");

Choose a reason for hiding this comment

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

not ready means we're waiting for something - are we waiting? doing a retry after some time? otherwise - let's alter the message

private Frame frame;

// State management
private final AtomicBoolean browserInitialized = new AtomicBoolean(false);

Choose a reason for hiding this comment

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

why do we need AtomicBoolean instead of boolean?
if there's a purpose - please explain it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants