mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +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.
|
||||
*/
|
||||
|
||||
[Pref="layout.css.DOMMatrix.enabled",
|
||||
Constructor(optional (DOMString or sequence<unrestricted double>) init),
|
||||
[Constructor(optional (DOMString or sequence<unrestricted double>) init),
|
||||
Exposed=(Window,Worker)]
|
||||
interface DOMMatrixReadOnly {
|
||||
// These attributes are simple aliases for certain elements of the 4x4 matrix
|
||||
|
|
@ -79,11 +78,9 @@ interface DOMMatrixReadOnly {
|
|||
[Throws] Float32Array toFloat32Array();
|
||||
[Throws] Float64Array toFloat64Array();
|
||||
[Exposed=Window] stringifier;
|
||||
[Default] object toJSON();
|
||||
};
|
||||
|
||||
[Pref="layout.css.DOMMatrix.enabled",
|
||||
Constructor,
|
||||
[Constructor,
|
||||
Constructor(DOMString transformList),
|
||||
Constructor(DOMMatrixReadOnly other),
|
||||
Constructor(Float32Array array32),
|
||||
|
|
|
|||
|
|
@ -10,8 +10,7 @@
|
|||
* 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),
|
||||
Exposed=(Window,Worker)]
|
||||
interface DOMPointReadOnly {
|
||||
|
|
@ -21,12 +20,9 @@ interface DOMPointReadOnly {
|
|||
readonly attribute unrestricted double y;
|
||||
readonly attribute unrestricted double z;
|
||||
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),
|
||||
Exposed=(Window,Worker)]
|
||||
interface DOMPoint : DOMPointReadOnly {
|
||||
|
|
|
|||
|
|
@ -10,8 +10,7 @@
|
|||
* 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),
|
||||
Constructor(DOMRectReadOnly rect),
|
||||
Exposed=(Window,Worker)]
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@ interface DOMRectReadOnly {
|
|||
readonly attribute unrestricted double right;
|
||||
readonly attribute unrestricted double bottom;
|
||||
readonly attribute unrestricted double left;
|
||||
|
||||
[Default] object toJSON();
|
||||
};
|
||||
|
||||
dictionary DOMRectInit {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue