[tbb-bugs] #19837 [Applications/Tor Browser]: Audio/video player is blank in 6.5a2

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 9 20:33:34 UTC 2016


#19837: Audio/video player is blank in 6.5a2
-------------------------------------------------+-------------------------
 Reporter:  dcf                                  |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-regression,                      |  Actual Points:
  TorBrowserTeam201608                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by yawning):

 A more complete list (along with the type is):
 {{{
     // Video playback.
     "chrome://global/content/TopLevelVideoDocument.js":
 Ci.nsIContentPolicy.TYPE_SCRIPT,
     "resource://gre/res/TopLevelVideoDocument.css":
 Ci.nsIContentPolicy.TYPE_STYLESHEET,
     "chrome://global/skin/media/TopLevelVideoDocument.css":
 Ci.nsIContentPolicy.TYPE_STYLESHEET,
     "chrome://global/content/bindings/videocontrols.xml":
 Ci.nsIContentPolicy.TYPE_XBL,
     "chrome://global/content/bindings/scale.xml":
 Ci.nsIContentPolicy.TYPE_XBL,
     "chrome://global/content/bindings/progressmeter.xml":
 Ci.nsIContentPolicy.TYPE_XBL,

     // Image display.
     "resource://gre/res/ImageDocument.css":
 Ci.nsIContentPolicy.TYPE_STYLESHEET,
     "resource://gre/res/TopLevelImageDocument.css":
 Ci.nsIContentPolicy.TYPE_STYLESHEET,
     "chrome://global/skin/media/TopLevelImageDocument.css":
 Ci.nsIContentPolicy.TYPE_STYLESHEET,

     // Resizing text boxes.
     "chrome://global/content/bindings/resizer.xml":
 Ci.nsIContentPolicy.TYPE_XBL,
 }}}

 It's tempting to start whitelisting things that are required for various
 pieces of functionality, which does work.  However:

  * That at a minimum exposes information regarding Browser version.
  * Is probably somewhat fragile and would require people keeping track of
 what internal URLs Firefox uses for various pieces of functionality.
  * Realistically Mozilla should fix `resource` and `chrome` URIs
 correctly, though given how long the bug has languished on bugzilla, my
 bet is that it will remain ignored and unloved till Sol evolves into a Red
 Giant, rendering the issue moot by extinguishing all human life.

 Branch that does just that available on request, though it probably should
 be security slider linked because it is a functionality/privacy tradeoff,
 and I'm completely out of fucks to give at this point.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19837#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list