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

build: Allow importing FXML files with javascript #795

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

jperedadnr
Copy link
Collaborator

@jperedadnr jperedadnr commented Nov 12, 2024

Issue

Fixes #794, by adding flag that enables reading the FXML file with javascript language. Also reverts a small change done in #619, as now the test as it was before passes.

Important note: Scene Builder (workspace/preview) does not evaluate the onAction eventHandlers, so there is no need for a Nashorn engine, and there is no risk of opening any FXML file with any kind of malicious script.

Progress

Copy link
Collaborator

@Oliver-Loeffler Oliver-Loeffler left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@Oliver-Loeffler Oliver-Loeffler added the bug Something isn't working label Dec 22, 2024
@Oliver-Loeffler Oliver-Loeffler changed the title Allow importing FXML files with javascript build: Allow importing FXML files with javascript Dec 22, 2024
@Oliver-Loeffler Oliver-Loeffler merged commit 39688b6 into gluonhq:master Dec 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't import FXML files with <?language javascript?>
2 participants