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

Large javascript file has incorrect mimetype #2969

Closed
ymor opened this issue Oct 19, 2023 · 2 comments
Closed

Large javascript file has incorrect mimetype #2969

ymor opened this issue Oct 19, 2023 · 2 comments
Assignees

Comments

@ymor
Copy link

ymor commented Oct 19, 2023

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
Copy link
Author

ymor commented Oct 19, 2023

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants