-
Notifications
You must be signed in to change notification settings - Fork 174
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
Hammerhead crashes if a script file contains a sourcemap comment #1052
Comments
Steps to reproduce: Then you are getting the following errors in a console: (node:10280) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Protocol "http:" not supported. Expected "https:"
(node:10280) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Protocol "http:" not supported. Expected "https:"
(node:10280) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: Protocol "http:" not supported. Expected "https:"
(node:10280) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Protocol "http:" not supported. Expected "https:" It happens because:
//# sourceMappingURL=loader.js.map
We will remove sourceMap definitions from script files. |
I'm working on this |
Any news about this one? I'm trying to test it with my Angular TS localhost and getting errors because of it |
Could you please provide a simple example to reproduce? |
Now after I rerun I'm not sure it is related, but when i'm running my Angular(6) app via localhost I'm getting this error: |
Should I open a new issue for it? |
Yes, it's a separate issue. Please open a new issue and share a simple example to reproduce. |
…lose DevExpress#1052) (DevExpress#1147) * fix 'Hammerhead crashes if script file contains a sourcemap comment' (close DevExpress#1052) * rename function * rename test name * fix typo
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
Maybe we need to remove the source map comment from the script.
The text was updated successfully, but these errors were encountered: