Bug 1452643 [wpt PR 9787] - Update the geometry IDL file, a=testonly

Automatic update from web-platform-testsUpdate the geometry IDL file (#9787)

* Update geometry IDL
* Prevent multiple testing of the same interfaces.

wpt-commits: a1492508a819852784f078d77c64d9eaafd9be6f
wpt-pr: 9787
wpt-commits: a1492508a819852784f078d77c64d9eaafd9be6f
wpt-pr: 9787
This commit is contained in:
Luke Bjerring 2018-04-09 18:32:10 +00:00 коммит произвёл James Graham
Родитель 82680a0403
Коммит bddfc3d2c3
3 изменённых файлов: 13 добавлений и 8 удалений

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

@ -535299,7 +535299,7 @@
"support"
],
"css/geometry/support/interfaces.js": [
"13d88ccf8c2f03db7e1db7f6fc704ba46a06e0e1",
"588093d88e2aa43a81a11baf0cd154a8fa202788",
"support"
],
"css/mediaqueries/OWNERS": [
@ -573619,7 +573619,7 @@
"support"
],
"interfaces/geometry.idl": [
"dea55d151bd19d342f9b28bb2f11e5108ab970ff",
"9aae8525ee6b27797783495e8d918892ee857a78",
"support"
],
"interfaces/gyroscope.idl": [

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

@ -19,6 +19,8 @@ function doTest(idl) {
DOMMatrixReadOnly: ["new DOMMatrixReadOnly()", "DOMMatrixReadOnly.fromMatrix({is2D: false})"],
DOMMatrix: ["new DOMMatrix()", "DOMMatrix.fromMatrix({is2D: false})"],
});
idlArray.prevent_multiple_testing("DOMMatrixReadOnly");
idlArray.prevent_multiple_testing("DOMMatrix");
idlArray.test();
done();
}

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

@ -1,3 +1,7 @@
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the Geometry Interfaces spec.
// See https://drafts.fxtf.org/geometry/
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double z = 0, optional unrestricted double w = 1),
Exposed=(Window,Worker),
@ -12,7 +16,7 @@ interface DOMPointReadOnly {
DOMPoint matrixTransform(optional DOMMatrixInit matrix);
[Default] toJSON();
[Default] object toJSON();
};
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
@ -52,7 +56,7 @@ interface DOMRectReadOnly {
readonly attribute unrestricted double bottom;
readonly attribute unrestricted double left;
[Default] toJSON();
[Default] object toJSON();
};
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
@ -76,8 +80,7 @@ dictionary DOMRectInit {
unrestricted double height = 0;
};
[NoInterfaceObject,
LegacyArrayClass]
[LegacyArrayClass]
interface DOMRectList {
readonly attribute unsigned long length;
getter DOMRect? item(unsigned long index);
@ -97,7 +100,7 @@ interface DOMQuad {
[SameObject] readonly attribute DOMPoint p4;
[NewObject] DOMRect getBounds();
[Default] toJSON();
[Default] object toJSON();
};
dictionary DOMQuadInit {
@ -178,7 +181,7 @@ interface DOMMatrixReadOnly {
[NewObject] Float64Array toFloat64Array();
[Exposed=Window] stringifier;
[Default] toJSON();
[Default] object toJSON();
};
[Constructor(optional (DOMString or sequence<unrestricted double>) init),