Open Bug 1126823 Opened 5 years ago Updated 5 years ago

Many of MDN's embedded SVG examples broken in Firefox


(Developer Documentation :: SVG, defect)

Not set


(Not tracked)


(Reporter: callahad, Unassigned)


(Whiteboard: [specification][type:bug])


(1 file)

What did you do?
Visit in Chrome and Firefox.

What happened?
I see a nice gradient in the "Output Results" column in Chrome, and nothing in Firefox. Inspecting the empty cell in Firefox reveals an iframe to, but when I view frame info, it's pointing to about:blank. The Network panel and console never show an attempt to load the SVG.

What should have happened?
The SVG should appear in the output results panel. This affects almost all of the SVG pages on MDN (line, tspan, etc.)

Is there anything else we should know?
If I edit the src of the iframe in the inspector to "", I see the expected "Blocked loading mixed active content """

If I then change it back to HTTPS, I get: "Load denied by X-Frame-Options: does not permit framing by"

The X-FRAME-OPTIONS response header I'm seeing is: "ALLOW-FROM:".
Looks like some pages work (
Summary: All embedded SVG examples broken in Firefox → Many of MDN's embedded SVG examples broken in Firefox
Broken pages are those which embed an attachment as an iframe.*&kumascript_macros=EmbedSVG (52)

These should probably use the livesample system.

I updated to show how that would look like.

See for another test case, that has not been updated yet and still uses the EmbedSVG macro.
EmbedSVG macro is a legacy macro from post Kuma migration, it needs to be cleaned up everywhere. We shouldn't use it anymore.
Component: General → SVG
Product: Mozilla Developer Network → Developer Documentation
You need to log in before you can comment on or make changes to this bug.