niutech / html5test

Updated HTML5 Test
https://html5test.co
MIT License
21 stars 3 forks source link

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

Open tym2k1 opened 5 months ago

tym2k1 commented 5 months ago

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:

Observed Behavior

Expected Behavior

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

niutech commented 5 months ago

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 commented 5 months ago

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