Bug 1723224 - Remove layout.css.DOMPoint.enabled, layout.css.DOMMatrix.enabled, and layout.css.DOMQuad.enabled. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D122531
This commit is contained in:
Patrick 2021-08-17 09:06:29 +00:00
Родитель 1237fd4677
Коммит f3d0961cb2
5 изменённых файлов: 6 добавлений и 31 удалений

Просмотреть файл

@ -10,8 +10,7 @@
* liability, trademark and document use rules apply.
*/
[Pref="layout.css.DOMMatrix.enabled",
Exposed=(Window,Worker),
[Exposed=(Window,Worker),
Serializable]
interface DOMMatrixReadOnly {
[Throws]
@ -89,8 +88,7 @@ interface DOMMatrixReadOnly {
[Default] object toJSON();
};
[Pref="layout.css.DOMMatrix.enabled",
Exposed=(Window,Worker),
[Exposed=(Window,Worker),
Serializable,
LegacyWindowAlias=WebKitCSSMatrix]
interface DOMMatrix : DOMMatrixReadOnly {

Просмотреть файл

@ -10,8 +10,7 @@
* liability, trademark and document use rules apply.
*/
[Pref="layout.css.DOMPoint.enabled",
Exposed=(Window,Worker),
[Exposed=(Window,Worker),
Serializable]
interface DOMPointReadOnly {
constructor(optional unrestricted double x = 0,
@ -31,8 +30,7 @@ interface DOMPointReadOnly {
[Default] object toJSON();
};
[Pref="layout.css.DOMPoint.enabled",
Exposed=(Window,Worker),
[Exposed=(Window,Worker),
Serializable]
interface DOMPoint : DOMPointReadOnly {
constructor(optional unrestricted double x = 0,

Просмотреть файл

@ -10,8 +10,7 @@
* liability, trademark and document use rules apply.
*/
[Pref="layout.css.DOMQuad.enabled",
Exposed=(Window,Worker),
[Exposed=(Window,Worker),
Serializable]
interface DOMQuad {
constructor(optional DOMPointInit p1 = {}, optional DOMPointInit p2 = {},

Просмотреть файл

@ -358,9 +358,7 @@ SimpleTest.waitForExplicitFinish();
window.scrollTo(0,0);
function startTest() {
SpecialPowers.pushPrefEnv({"set": [["layout.css.DOMPoint.enabled", true],
["layout.css.DOMQuad.enabled", true],
["layout.css.getBoxQuads.enabled", true],
SpecialPowers.pushPrefEnv({"set": [["layout.css.getBoxQuads.enabled", true],
["layout.css.convertFromNode.enabled", true]]}, grabFeatures);
}

Просмотреть файл

@ -6992,24 +6992,6 @@
mirror: always
rust: true
# Is support for DOMMatrix enabled?
- name: layout.css.DOMMatrix.enabled
type: RelaxedAtomicBool
value: true
mirror: always
# Is support for DOMQuad enabled?
- name: layout.css.DOMQuad.enabled
type: RelaxedAtomicBool
value: true
mirror: always
# Is support for DOMPoint enabled?
- name: layout.css.DOMPoint.enabled
type: RelaxedAtomicBool
value: true
mirror: always
# Is support for d property for SVG path element?
- name: layout.css.d-property.enabled
type: bool