Bug 1518664 - Make special casting properties available to UA Widget r=smaug
authorTimothy Guan-tin Chien <timdream@gmail.com>
Tue, 15 Jan 2019 09:20:55 +0000
changeset 513936 ac94b0e3484b102481f2c8cf52d012cbc46b05cf
parent 513935 f5b0ec66117d2fe16c7729cee9362831edb1a1ca
child 513937 113f3db802c4ed0408d8cca513c595959d1be8a7
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1518664
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1518664 - Make special casting properties available to UA Widget r=smaug They are needed so the chrome script (CastingApp.js) can read back the state of the video element. Differential Revision: https://phabricator.services.mozilla.com/D16489
dom/webidl/HTMLMediaElement.webidl
--- a/dom/webidl/HTMLMediaElement.webidl
+++ b/dom/webidl/HTMLMediaElement.webidl
@@ -115,18 +115,18 @@ partial interface HTMLMediaElement {
   [Pref="media.test.dumpDebugInfo"]
   Promise<void> mozDumpDebugInfo();
 
   attribute MediaStream? srcObject;
 
   attribute boolean mozPreservesPitch;
 
   // NB: for internal use with the video controls:
-  [Func="IsChromeOrXBL"] attribute boolean mozAllowCasting;
-  [Func="IsChromeOrXBL"] attribute boolean mozIsCasting;
+  [Func="IsChromeOrXBLOrUAWidget"] attribute boolean mozAllowCasting;
+  [Func="IsChromeOrXBLOrUAWidget"] attribute boolean mozIsCasting;
 
   // Mozilla extension: stream capture
   [Throws]
   MediaStream mozCaptureStream();
   [Throws]
   MediaStream mozCaptureStreamUntilEnded();
   readonly attribute boolean mozAudioCaptured;