ember-twiddle
ember-twiddle copied to clipboard
Edge support
ember-twiddle should be made compatible with the new Windows 10 Edge browser.
It seems we need something like this to do it: https://github.com/jugglinmike/srcdoc-polyfill/blob/master/srcdoc-polyfill.js
Yes! There is now an official npm version. Perhaps we can include it now?
https://www.npmjs.com/package/srcdoc-polyfill
@broerse Does it work with sandboxed iframes?
@Gaurav0 I am not an expert but this sandbox="allow-scripts allow-same-origin" http://jsfiddle.net/wUvrF/1/ works in Edge.
We cannot allow-same-origin for security reasons.
As I said I am not the expert. Perhaps it is not needed. Can we create a test I can run on Edge?
@broerse A pr with the srcdoc polyfill for edge would be welcome. The sandboxing policy cannot be changed for security reasons. I cannot test in Edge myself and we haven't got anything like Sauce Labs setup for that (yet) so we would have to rely on acceptance testing by yourself.
@joostdevries I can always do the acceptance testing. I am not sure I can write the PR but will try to find some time. If someone likes to help with this contact me.
If you all create a test I can check it out.
Update: Edge now supports srcdoc but Ember Twiddle still blocks it. See https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12375527/