- From: John Wilander <notifications@github.com>
- Date: Wed, 02 May 2018 06:54:24 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 2 May 2018 13:54:47 UTC
The iframe element doesn’t emit load errors. Instead, it loads empty and fires onload. I believe it’s an old security discussion where the “arbitrary load” capabilities of iframes and their ability to synthesize documents out of non-document responses were considered dangerous if an attacker can use onload/onerror to test for resource existence, perform multi step CSRF, or check victim privileges. Maybe someone else in this thread knows more? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/687#issuecomment-385985518
Received on Wednesday, 2 May 2018 13:54:47 UTC