Bug 1101304 - Handle CORS in EME - r=cpearce

This commit is contained in:
Edwin Flores
2015-01-29 20:30:38 +13:00
parent 041d3c1617
commit 94c9c92349
6 changed files with 33 additions and 45 deletions

View File

@@ -245,6 +245,10 @@ public:
// Check if the media element had crossorigin set when loading started
bool ShouldCheckAllowOrigin();
// Returns true if the currently loaded resource is CORS same-origin with
// respect to the document.
bool IsCORSSameOrigin();
// Is the media element potentially playing as defined by the HTML 5 specification.
// http://www.whatwg.org/specs/web-apps/current-work/#potentially-playing
bool IsPotentiallyPlaying() const;