trinketapp / 3D-testing

Feedback and issues for the in-browser 3D Astro Pi
0 stars 1 forks source link

Emulator home page iframe not showing in Microsoft Edge #19

Closed davidhoness closed 7 years ago

davidhoness commented 7 years ago

It seems the iframe isn't loading on Edge / Windows 10

Steps to reproduce

I was using Microsoft Edge 38.14393.0.0 Microsoft EdgeHTML 14.14393

davidhoness commented 7 years ago

Works fine if you navigate directly to a trinket ID though. edge2

ebertmi commented 7 years ago

I can reproduce this error on windows 10 with Creators Update installed. The console output indicates some problems with the landing page as it tries to load scss files which are not available and should not be requested at all. Maybe there is something broken in der grunt tasks?

image

eah13 commented 7 years ago

@waywaaard thanks for this. I wonder if these 404s are related to sourcemap handling. If so, they might be unrelated - do they happen on other pages as well? Anything in the console besides those 404s? I'll have access to edge later today to investigate.

brianpmarks commented 7 years ago

Since it's only happening on the sense-hat page and not in regular iframes, I suspect it has to do with how we load the code on that particular page (via the query string.) Looking into it now.

eah13 commented 7 years ago

@davidhoness the fix for this is in production. Please re-test at your convenience.

Brian discovered that apparently Edge has decided to limit URL length, which required a different way of loading trinkets on the demo page.

ebertmi commented 7 years ago

I still get those CSS 404 errors in Edge also by visiting this https://trinket.io/python/25f043a1a0 . However, the 2D version is loaded and displayed fine.

eah13 commented 7 years ago

Confirmed fixed