Re: [geometry-1-tests] Test passing undefined to DOMMatrix/DOMMatrixReadOnly constructors (#5719)

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/226398534)

# Firefox (nightly channel) #
Testing web-platform-tests at revision 3dd504051cc84d938b3f541244761d347face2b5
Using browser at version BuildID 20170427100655; SourceStamp 0b77ed3f26c5335503bc16e85b8c067382e7bb1e
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>1 test ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5719/css/geometry-1/DOMMatrix-001.html">/css/geometry-1/DOMMatrix-001.html</a></summary>


|                                 Subtest                                 | Results |                                                                                                             Messages                                                                                                            |
|-------------------------------------------------------------------------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                         | OK      |                                                                                                                                                                                                                                 |
| `new DOMMatrix()`                                                       | FAIL    | `assert_equals: Expected value for isIdentity is true expected (boolean) true but got (undefined) undefined`                                                                                                                    |
| `new DOMMatrix(undefined)`                                              | FAIL    | `An invalid or illegal string was specified`                                                                                                                                                                                    |
| `new DOMMatrix(new DOMMatrix())`                                        | FAIL    | `assert_equals: Expected value for isIdentity is true expected (boolean) true but got (undefined) undefined`                                                                                                                    |
| `new DOMMatrix(float32Array) 16 elements`                               | FAIL    | `Index or size is negative or greater than the allowed amount`                                                                                                                                                                  |
| `new DOMMatrix(float32Array) 6 elements`                                | FAIL    | `Index or size is negative or greater than the allowed amount`                                                                                                                                                                  |
| `new DOMMatrix(float64Array) 16 elements`                               | FAIL    | `assert_equals: Expected value for is2D is false expected false but got true`                                                                                                                                                   |
| `new DOMMatrix((float64Array) 6 elements`                               | FAIL    | `Index or size is negative or greater than the allowed amount`                                                                                                                                                                  |
| `new DOMMatrix(sequence) 16 elements`                                   | FAIL    | `assert_equals: Expected value for is2D is false expected false but got true`                                                                                                                                                   |
| `new DOMMatrix(sequence) 6 elements`                                    | FAIL    | `assert_equals: Expected value for is2D is false expected false but got true`                                                                                                                                                   |
| `new DOMMatrix("scale(2) translateX(5px) translateY(5px)")`             | FAIL    | `An invalid or illegal string was specified`                                                                                                                                                                                    |
| `new DOMMatrix("scale(2 2) translateX(5) translateY(5)")`               | FAIL    | `An invalid or illegal string was specified`                                                                                                                                                                                    |
| `new DOMMatrix("scale(2, 2), translateX(5)  ,translateY(5)")`           | FAIL    | `An invalid or illegal string was specified`                                                                                                                                                                                    |
| `new DOMMatrix("translateX    (5px)")`                                  | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("scale(2)translateX(5px)")`                              | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5em)")`                                      | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5ex)")`                                      | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5ch)")`                                      | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5rem)")`                                     | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5vw)")`                                      | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5vh)")`                                      | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5vmin)")`                                    | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5vmax)")`                                    | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix("translateX(5%)")`                                       | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix(sequence)`                                               | FAIL    | `assert_equals: Expected value for is2D is false expected false but got true`                                                                                                                                                   |
| `new DOMMatrix(matrix)`                                                 | FAIL    | `assert_equals: Expected value for is2D is false expected false but got true`                                                                                                                                                   |
| `new DOMMatrix("scale(2, 2), translateX(5px) translateY(5px)")`         | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrix(sequence) 17 elements`                                   | FAIL    | `assert_throws: function "function() { new self[constr](sequence); }" threw object "IndexSizeError: Index or size is negative or greater than the allowed amount" ("IndexSizeError") expected object "TypeError" ("TypeError")` |
| `new DOMMatrix(sequence) 15 elements`                                   | FAIL    | `assert_throws: function "function() { new self[constr](sequence); }" threw object "IndexSizeError: Index or size is negative or greater than the allowed amount" ("IndexSizeError") expected object "TypeError" ("TypeError")` |
| `new DOMMatrix(sequence) 5 elements`                                    | FAIL    | `assert_throws: function "function() { new self[constr](sequence); }" threw object "IndexSizeError: Index or size is negative or greater than the allowed amount" ("IndexSizeError") expected object "TypeError" ("TypeError")` |
| `new DOMMatrix(sequence) 0 elements`                                    | FAIL    | `assert_throws: function "function() { new self[constr](sequence); }" threw object "IndexSizeError: Index or size is negative or greater than the allowed amount" ("IndexSizeError") expected object "TypeError" ("TypeError")` |
| `new DOMMatrixReadOnly()`                                               | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(undefined)`                                      | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(new DOMMatrixReadOnly())`                        | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(float32Array) 16 elements`                       | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(float32Array) 6 elements`                        | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(float64Array) 16 elements`                       | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly((float64Array) 6 elements`                       | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(sequence) 16 elements`                           | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(sequence) 6 elements`                            | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px)")`     | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly("scale(2 2) translateX(5) translateY(5)")`       | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly("scale(2, 2), translateX(5)  ,translateY(5)")`   | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly("translateX    (5px)")`                          | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("scale(2)translateX(5px)")`                      | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5em)")`                              | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5ex)")`                              | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5ch)")`                              | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5rem)")`                             | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5vw)")`                              | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5vh)")`                              | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5vmin)")`                            | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5vmax)")`                            | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly("translateX(5%)")`                               | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly(sequence)`                                       | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly(matrix)`                                         | FAIL    | `Illegal constructor.`                                                                                                                                                                                                          |
| `new DOMMatrixReadOnly("scale(2, 2), translateX(5px) translateY(5px)")` | FAIL    | `assert_throws: function "function() { new self[constr](string); }" threw object "TypeError: Illegal constructor." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12`                  |
| `new DOMMatrixReadOnly(sequence) 17 elements`                           | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrixReadOnly(sequence) 15 elements`                           | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrixReadOnly(sequence) 5 elements`                            | PASS    |                                                                                                                                                                                                                                 |
| `new DOMMatrixReadOnly(sequence) 0 elements`                            | PASS    |                                                                                                                                                                                                                                 |

</details>
</details>

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5719#issuecomment-297718491

Received on Thursday, 27 April 2017 13:49:08 UTC