Re: [2dcontext-tests] 2DContext: Set up tests for new signature of imageData functions (#5180)

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

# Chrome (unstable channel) #
Testing web-platform-tests at revision 7f3069cabf7fb7c4fab2a7c037b73a740b6f8d44
Using browser at version 59.0.3043.0 dev
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>4 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5180/2dcontext/pixel-manipulation/2d.imageData.create2.double.html">/2dcontext/pixel-manipulation/2d.imageData.create2.double.html</a></summary>


|                       Subtest                       | Results |                                               Messages                                              |
|-----------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------|
|                                                     | OK      |                                                                                                     |
| `createImageData(w, h) double is converted to long` | FAIL    | `assert_equals: imgdata1.width === 10 (got 11[number], expected 10[number]) expected 10 but got 11` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5180/2dcontext/pixel-manipulation/2d.imageData.create2.zero.html">/2dcontext/pixel-manipulation/2d.imageData.create2.zero.html</a></summary>


|                             Subtest                             | Results |                                         Messages                                         |
|-----------------------------------------------------------------|---------|------------------------------------------------------------------------------------------|
|                                                                 | OK      |                                                                                          |
| `createImageData(sw, sh) throws INDEX_SIZE_ERR if size is zero` | FAIL    | `assert_throws: function "function () { ctx.createImageData(0.99, 10); }" did not throw` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5180/2dcontext/pixel-manipulation/2d.imageData.get.double.html">/2dcontext/pixel-manipulation/2d.imageData.get.double.html</a></summary>


|                       Subtest                       | Results |                                               Messages                                              |
|-----------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------|
|                                                     | OK      |                                                                                                     |
| `createImageData(w, h) double is converted to long` | FAIL    | `assert_equals: imgdata1.width === 10 (got 11[number], expected 10[number]) expected 10 but got 11` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5180/2dcontext/pixel-manipulation/2d.imageData.get.zero.html">/2dcontext/pixel-manipulation/2d.imageData.get.zero.html</a></summary>


|                        Subtest                         | Results |                                          Messages                                          |
|--------------------------------------------------------|---------|--------------------------------------------------------------------------------------------|
|                                                        | OK      |                                                                                            |
| `getImageData() throws INDEX_SIZE_ERR if size is zero` | FAIL    | `assert_throws: function "function () { ctx.getImageData(1, 1, 0.1, 10); }" did not throw` |

</details>
</details>

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

Received on Monday, 20 March 2017 20:57:49 UTC