Bug 1407810 - webidl for HTMLMediaElement.mozRequestDebugLog - r?jwwang,smaug draft
authorGerald Squelart <gsquelart@mozilla.com>
Thu, 03 Aug 2017 12:15:17 +1200
changeset 708717 86192c42611a93ba0b13989cb53894d358399492
parent 708716 6a7b0120b715697eb74c93a819729b7cd92fd22a
child 708718 1cd7405b37b2e62f069019f5fd8b3aef272cf065
push id92413
push usergsquelart@mozilla.com
push dateWed, 06 Dec 2017 23:54:05 +0000
reviewersjwwang, smaug
bugs1407810
milestone59.0a1
Bug 1407810 - webidl for HTMLMediaElement.mozRequestDebugLog - r?jwwang,smaug MozReview-Commit-ID: EdCZEiQQjAa
dom/webidl/HTMLMediaElement.webidl
--- a/dom/webidl/HTMLMediaElement.webidl
+++ b/dom/webidl/HTMLMediaElement.webidl
@@ -102,16 +102,21 @@ interface HTMLMediaElement : HTMLElement
 partial interface HTMLMediaElement {
   [Func="HasDebuggerOrTabsPrivilege"]
   readonly attribute MediaSource? mozMediaSourceObject;
   [Func="HasDebuggerOrTabsPrivilege"]
   readonly attribute DOMString mozDebugReaderData;
   [Func="HasDebuggerOrTabsPrivilege", NewObject]
   Promise<DOMString> mozRequestDebugInfo();
 
+  [Func="HasDebuggerOrTabsPrivilege", NewObject]
+  static void mozEnableDebugLog();
+  [Func="HasDebuggerOrTabsPrivilege", NewObject]
+  Promise<DOMString> mozRequestDebugLog();
+
   [Pref="media.test.dumpDebugInfo"]
   Promise<void> mozDumpDebugInfo();
 
   attribute MediaStream? srcObject;
 
   attribute boolean mozPreservesPitch;
 
   // NB: for internal use with the video controls: