KhronosGroup / glTF-Asset-Generator

Tool for generating various glTF assets for importer validation
MIT License
161 stars 42 forks source link

Investigate solution for glTF-Assets-Viewer when referrer-policy is more strict #557

Open bghgary opened 4 years ago

bghgary commented 4 years ago

The way assets are being view using the view link in the readmes in the output folder will no longer work in future versions of browsers where security will be tighter. We need to investigate a different way to do this.

https://github.com/bghgary/glTF-Assets-Viewer/blob/master/index.js#L241

document.referrer will no longer return the whole address of the referrer.

See https://codereview.chromium.org/684683003/ for some context.