Bug 1842092 - Remove canvas.capturestream.enabled pref r=gregp,webidl,smaug

On by default for ~8 years (Bug 1177276).

Differential Revision: https://phabricator.services.mozilla.com/D186600
This commit is contained in:
CanadaHonk 2023-08-22 22:01:19 +00:00
parent 4459de714c
commit 178182f669
3 changed files with 2 additions and 8 deletions

View File

@ -10,8 +10,7 @@
* W3C liability, trademark and document use rules apply.
*/
[Pref="canvas.capturestream.enabled",
Exposed=Window]
[Exposed=Window]
interface CanvasCaptureMediaStream : MediaStream {
readonly attribute HTMLCanvasElement canvas;
undefined requestFrame();

View File

@ -42,7 +42,7 @@ partial interface HTMLCanvasElement {
attribute PrintCallback? mozPrintCallback;
[Throws, Pref="canvas.capturestream.enabled", NeedsSubjectPrincipal]
[Throws, NeedsSubjectPrincipal]
CanvasCaptureMediaStream captureStream(optional double frameRate);
};

View File

@ -1818,11 +1818,6 @@
# Prefs starting with "canvas."
#---------------------------------------------------------------------------
- name: canvas.capturestream.enabled
type: bool
value: true
mirror: always
# Is support for CanvasRenderingContext2D.filter enabled?
- name: canvas.filters.enabled
type: RelaxedAtomicBool