DevExpress / testcafe-hammerhead

A powerful web-proxy used as a core for the TestCafe testing framework. :hammer: :smiley:
https://testcafe.io
MIT License
171 stars 161 forks source link

Large javascript file has incorrect mimetype #2969

Closed ymor closed 10 months ago

ymor commented 10 months ago

What is your Scenario?

When using testcafe against firefox/safari, so using the hammerhead proxy. One of my js files is incorrectly been served as text/html which firefox is blocking. The only difference in this file to the others is its quite large. I've created a contrived example at https://github.com/ymor/test-cafe-issue

What is the Current behavior?

Javascript file should have correct content-type

What is the Expected behavior?

Javascript file should have the correct content-type

What is your public website URL? (or attach your complete example)

https://github.com/ymor/test-cafe-issue

What is your TestCafe test code?

See https://github.com/ymor/test-cafe-issue

Your complete configuration file

No response

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

Follow steps in readme in the repo

TestCafe version

3.3.0

Node.js version

v18.17.1

Command-line arguments

see package.json

Browser name(s) and version(s)

Firefox 118 Chrome 118

Platform(s) and version(s)

Windows 11

Other

image image

ymor commented 10 months ago

Actually not convinced its due to size. After doing some tweaking to dependencies I've got the file down to 709kb on disk and its still an issue.

github-actions[bot] commented 10 months ago

We appreciate you taking the time to share the information about this issue. We replicated it, and it is currently in our internal queue. Please note that the research may take time. We'll update this thread once we have news.