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

Can't save results (Cross-Origin Request Blocked) #25

Open
tym2k1 opened this issue May 20, 2024 · 2 comments
Open

Can't save results (Cross-Origin Request Blocked) #25

tym2k1 opened this issue May 20, 2024 · 2 comments

Comments

@tym2k1
Copy link

tym2k1 commented May 20, 2024

When clicking "Save results" and following the generated link html5test.co/s/?<Unique ID>, the website appears empty. Additionally, when trying to compare browsers via ID, the ID is not loaded into the selection element.

Steps to Reproduce:

  • Click "Save results" on the test page.
  • Follow the generated link html5test.co/s/?.
  • Observe that the page appears empty.
  • Attempt to compare browsers via ID and note that the ID is not loaded into the selection element.

Observed Behavior

  • The generated results page appears empty.
  • The browser ID is not loaded into the selection element when trying to compare browsers.

Expected Behavior

  • The generated results page should display the test results.
  • The browser ID should be properly loaded into the selection element for comparison.

Screenshot

image

Console Output

On Firefox (version 125.0), the console returns the following error for both scenarios:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://html5test.eu5.net/api/loadBrowser. (Reason: CORS request did not succeed). Status code: (null).

Tested Environments

  • Cog Browser 0.18.2 (WPE WebKit 2.44.0)
  • Firefox 125.0
@niutech
Copy link
Owner

niutech commented May 20, 2024

This could be due to untrusted SSL certificate. Could you go to https://html5test.eu5.net and click Advanced -> Continue to html5test.eu5.net? Then save and load a test result e.g. https://html5test.co/s/?3568ca69af0eccc6. Does it work for you?

@tym2k1
Copy link
Author

tym2k1 commented May 22, 2024

When following your steps I can access the test you provided but more testing showed that the results need to also come from https://html5test.eu5.net/ and I can't access those created via https://html5test.co

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

No branches or pull requests

3 participants
@niutech @tym2k1 and others