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/213157435)

# Firefox (nightly channel) #
Testing web-platform-tests at revision 7f3069cabf7fb7c4fab2a7c037b73a740b6f8d44
Using browser at version BuildID 20170319110229; SourceStamp e1576dd8bd9d3a4ca418cf347133b8a4957ddeca
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` | PASS    |          |

</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` | PASS    |          |

</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-287895557

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