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 Firefox compatibility to stack trace test #171

Merged
merged 3 commits into from
Dec 18, 2021

Conversation

rensbaardman
Copy link
Contributor

I am working on getting the shared test cases to run on both Firefox and Chrome, using webpack and (my fork of) rewire-webpack-plugin.

One test failed specifically in Firefox: should not modify line numbers in stack traces. This happens, since Firefox uses a different stack trace format. This PR is a workaround for that. It's would have been possible to specifically code in for the Firefox format (although then you would have to check whether you are in Firefox or in a V8-engine), but using err.lineNumber and err.columnNumber directly is cleaner.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.619% when pulling f71de3b on rensbaardman:stack-trace-test-firefox into 5bea3d8 on jhnns:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.619% when pulling f71de3b on rensbaardman:stack-trace-test-firefox into 5bea3d8 on jhnns:master.

@jhnns jhnns merged commit d1474b3 into jhnns:master Dec 18, 2021
@jhnns
Copy link
Owner

jhnns commented Dec 19, 2021

Published as v6.0.0 🚀

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.

3 participants