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

add new StackStyle.MOZILLA_LF #888

Merged
merged 3 commits into from May 11, 2021
Merged

Conversation

rbri
Copy link
Collaborator

@rbri rbri commented May 9, 2021

HtmlUnit is mainly a testing framework and we are using the mozilla StackStyle. To have stable tests the stack trace should not be system dependent. And the modern browsers are also using \n on all platforms.

To be backward compatible i have introduced a new StackStyle.

See HtmlUnit/htmlunit#284.

rbri added 3 commits May 9, 2021 18:19
spotlessApply StackStyle.java
spotlessApply StackTraceExtensionMozillaLfTest.java
spotlessApply StackTraceExtensionMozillaTest.java
spotlessApply StackTraceExtensionRhinoTest.java
spotlessApply StackTraceExtensionV8Test.java
spotlessApply StackTraceTest.java
@gbrail
Copy link
Collaborator

gbrail commented May 11, 2021

This one makes sense to me and it's pretty low risk. Thanks!

@gbrail gbrail merged commit 1b7e8ab into mozilla:master May 11, 2021
@rbri rbri deleted the normalize_stack_trace branch May 21, 2021 15:50
@p-bakker p-bakker added this to the Release 1.7.14 milestone Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants