FirefoxUX / photon

Firefox’s Photon Design System.
https://design.firefox.com/photon/
Mozilla Public License 2.0
273 stars 74 forks source link

[fix] quick patch for loading iframe content #281

Closed aminalhazwani closed 6 years ago

bwinton commented 6 years ago

This isn't going to work so well for local development, as I would have mentioned if you asked for a review… 😢

aminalhazwani commented 6 years ago

Sorry @bwinton, you're right, I ingenuously tried if having an absolute link would fix the issue. And miserably failed 😔 After talking with Johann I reached out to April and asked her if she could change the Apache configuration. Sorry again!

bwinton commented 6 years ago

(Ideally we'll move this code out of iframes, but that's a different patch for a later time. 🙂)

jens1o commented 6 years ago

I think I missed something. Why do iframes aren't working anymore? Do you send CSP Headers from now on?

aminalhazwani commented 6 years ago

This is what I get in console @jens1o

Load denied by X-Frame-Options: https://design.firefox.com/photon/interactives/introduction/performance-principles/fluency/example-do.html does not permit framing.