mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 00:57:30 +09:00
Issue #2241 - Part 4&5 Follow-up: Fix WebIDL errors
Remove [Pref] attribute from Geometry interfaces as they're now exposed to web workers too via Part 5. Remove nonexistent toJSON objects erroneously added in Part 4.1.
This commit is contained in:
parent
c3042a2f41
commit
51f812bb80
4 changed files with 5 additions and 15 deletions
|
|
@ -10,8 +10,7 @@
|
||||||
* liability, trademark and document use rules apply.
|
* liability, trademark and document use rules apply.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[Pref="layout.css.DOMMatrix.enabled",
|
[Constructor(optional (DOMString or sequence<unrestricted double>) init),
|
||||||
Constructor(optional (DOMString or sequence<unrestricted double>) init),
|
|
||||||
Exposed=(Window,Worker)]
|
Exposed=(Window,Worker)]
|
||||||
interface DOMMatrixReadOnly {
|
interface DOMMatrixReadOnly {
|
||||||
// These attributes are simple aliases for certain elements of the 4x4 matrix
|
// These attributes are simple aliases for certain elements of the 4x4 matrix
|
||||||
|
|
@ -79,11 +78,9 @@ interface DOMMatrixReadOnly {
|
||||||
[Throws] Float32Array toFloat32Array();
|
[Throws] Float32Array toFloat32Array();
|
||||||
[Throws] Float64Array toFloat64Array();
|
[Throws] Float64Array toFloat64Array();
|
||||||
[Exposed=Window] stringifier;
|
[Exposed=Window] stringifier;
|
||||||
[Default] object toJSON();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
[Pref="layout.css.DOMMatrix.enabled",
|
[Constructor,
|
||||||
Constructor,
|
|
||||||
Constructor(DOMString transformList),
|
Constructor(DOMString transformList),
|
||||||
Constructor(DOMMatrixReadOnly other),
|
Constructor(DOMMatrixReadOnly other),
|
||||||
Constructor(Float32Array array32),
|
Constructor(Float32Array array32),
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,7 @@
|
||||||
* liability, trademark and document use rules apply.
|
* liability, trademark and document use rules apply.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[Pref="layout.css.DOMPoint.enabled",
|
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
||||||
Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
|
||||||
optional unrestricted double z = 0, optional unrestricted double w = 1),
|
optional unrestricted double z = 0, optional unrestricted double w = 1),
|
||||||
Exposed=(Window,Worker)]
|
Exposed=(Window,Worker)]
|
||||||
interface DOMPointReadOnly {
|
interface DOMPointReadOnly {
|
||||||
|
|
@ -21,12 +20,9 @@ interface DOMPointReadOnly {
|
||||||
readonly attribute unrestricted double y;
|
readonly attribute unrestricted double y;
|
||||||
readonly attribute unrestricted double z;
|
readonly attribute unrestricted double z;
|
||||||
readonly attribute unrestricted double w;
|
readonly attribute unrestricted double w;
|
||||||
|
|
||||||
[Default] object toJSON();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
[Pref="layout.css.DOMPoint.enabled",
|
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
||||||
Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
|
||||||
optional unrestricted double z = 0, optional unrestricted double w = 1),
|
optional unrestricted double z = 0, optional unrestricted double w = 1),
|
||||||
Exposed=(Window,Worker)]
|
Exposed=(Window,Worker)]
|
||||||
interface DOMPoint : DOMPointReadOnly {
|
interface DOMPoint : DOMPointReadOnly {
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,7 @@
|
||||||
* liability, trademark and document use rules apply.
|
* liability, trademark and document use rules apply.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[Pref="layout.css.DOMQuad.enabled",
|
[Constructor(optional DOMPointInit p1, optional DOMPointInit p2,
|
||||||
Constructor(optional DOMPointInit p1, optional DOMPointInit p2,
|
|
||||||
optional DOMPointInit p3, optional DOMPointInit p4),
|
optional DOMPointInit p3, optional DOMPointInit p4),
|
||||||
Constructor(DOMRectReadOnly rect),
|
Constructor(DOMRectReadOnly rect),
|
||||||
Exposed=(Window,Worker)]
|
Exposed=(Window,Worker)]
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,6 @@ interface DOMRectReadOnly {
|
||||||
readonly attribute unrestricted double right;
|
readonly attribute unrestricted double right;
|
||||||
readonly attribute unrestricted double bottom;
|
readonly attribute unrestricted double bottom;
|
||||||
readonly attribute unrestricted double left;
|
readonly attribute unrestricted double left;
|
||||||
|
|
||||||
[Default] object toJSON();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary DOMRectInit {
|
dictionary DOMRectInit {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue