We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying this widget in firefox, an error in particular (ReferenceError) does not show the error line. It does in chrome, though.
When inspecting the problem, it seems that in Firefox, the filename returned is not only the page URL, but said URL and more text.
Thus, in preview-frame.bundle.js, when checking:
if (typeof (e.lineno) === 'number' && (e.filename === '' || e.filename === window.location.href)) { line = e.lineno; }
It never satisfies the condition, and the variable line remains undefined.
I've changed (in my local code) the condition to:
(typeof (e.lineno) === 'number' && (e.filename === '' || e.filename === window.location.href || e.filename.includes(window.location.href)))
and it seems to work correctly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When trying this widget in firefox, an error in particular (ReferenceError) does not show the error line. It does in chrome, though.
When inspecting the problem, it seems that in Firefox, the filename returned is not only the page URL, but said URL and more text.
Thus, in preview-frame.bundle.js, when checking:
It never satisfies the condition, and the variable line remains undefined.
I've changed (in my local code) the condition to:
and it seems to work correctly.
The text was updated successfully, but these errors were encountered: