Bug 1841604 - Remove canvas.focusring.enabled pref r=gregp,webidl,smaug

On by default for almost a decade (Bug 1004579).

Depends on D186598

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

View File

@ -233,7 +233,7 @@ fuzzy(0-1,0-150) == clip-multiple-move-2.html clip-multiple-move-2-ref.html
== stroketext-shadow.html stroketext-shadow-ref.html
# focus rings
pref(canvas.focusring.enabled,true) fuzzy(0-1,0-2) skip-if(cocoaWidget||winWidget||gtkWidget) needs-focus == drawFocusIfNeeded.html drawFocusIfNeeded-ref.html
fuzzy(0-1,0-2) skip-if(cocoaWidget||winWidget||gtkWidget) needs-focus == drawFocusIfNeeded.html drawFocusIfNeeded-ref.html
# Check that captureStream() displays in a local video element
== capturestream.html wrapper.html?green.png

View File

@ -243,7 +243,7 @@ interface mixin CanvasDrawPath {
};
interface mixin CanvasUserInterface {
[Pref="canvas.focusring.enabled", Throws] undefined drawFocusIfNeeded(Element element);
[Throws] undefined drawFocusIfNeeded(Element element);
// NOT IMPLEMENTED undefined scrollPathIntoView();
// NOT IMPLEMENTED undefined scrollPathIntoView(Path path);
};

View File

@ -1829,12 +1829,6 @@
value: true
mirror: always
# Provide ability to turn on support for canvas focus rings.
- name: canvas.focusring.enabled
type: bool
value: true
mirror: always
# Is support for CanvasRenderingContext2D's createConicGradient API enabled?
- name: canvas.createConicGradient.enabled
type: RelaxedAtomicBool