| Index: third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-css-string.worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-css-string.worker.js b/third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-css-string.worker.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2dd3eea1ce4507e0b32f21005b84269dfef883a9
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-css-string.worker.js
|
| @@ -0,0 +1,18 @@
|
| +// https://drafts.fxtf.org/geometry/#DOMMatrix
|
| +
|
| +importScripts("/resources/testharness.js");
|
| +
|
| +['DOMMatrix', 'DOMMatrixReadOnly'].forEach(constr => {
|
| + test(() => {
|
| + assert_true(constr in self, `${constr} should exist`);
|
| + assert_throws(new TypeError(), () => new self[constr]('matrix(1,0,0,1,0,0)') );
|
| + }, `${constr} constructor with string argument in worker`);
|
| +});
|
| +
|
| +test(() => {
|
| + assert_false('setMatrixValue' in DOMMatrix.prototype, 'on prototype');
|
| + const matrix = new DOMMatrix();
|
| + assert_false('setMatrixValue' in matrix, 'on instance');
|
| +}, 'DOMMatrix setMatrixValue in worker');
|
| +
|
| +done();
|
|
|