SVG with media embedded in <img>

Bug reports and enhancement requests
Post Reply
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

SVG with media embedded in <img>

Post by dhouwn »

Following my fiddlings tracked at http://forums.informaction.com/viewtopi ... =24&t=6717 I believe I found some strange quirks with SVGs embedding media:

To reproduce:
Download https://bugzilla.mozilla.org/attachment.cgi?id=498379, unzip all files and open testcase.html

What happens:
  • Without NoScript the music should play now as long as Bug 619965 - <html:audio> elements play audio, inside of SVG-as-an-image is not fixed.
  • With NoScript on default settings + "Apply these restrictions to whitelisted sites too set" (see first screenshot) and "file://" allowed the music shouldn't play (as intended) but an option for allowing it should be offered through the "Blocked Objects" menu which it is not (it is only offered to me when I open the SVG as a top-level document, eg. I do right-click and "View Image")
Image
Additionally, on Nightly there seems to be an icon issue:
Image

Tested using NoScript 2.1.2rc1 on Firefox 5 and 7 nightly from today. The Screenshot in both cases shows testcase.html opened, not the SVG directly.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Post Reply