Skip to content

add new StackStyle.MOZILLA_LF - #888

Merged
gbrail merged 3 commits into
mozilla:masterfrom
rbri:normalize_stack_trace
May 11, 2021
Merged

gbrail merged 3 commits into
mozilla:masterfrom
rbri:normalize_stack_trace

Conversation

@rbri

@rbri rbri commented May 9, 2021

Copy link
Copy Markdown
Collaborator

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

gbrail commented May 11, 2021

Copy link
Copy Markdown
Collaborator

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.

3 participants