Re: [2dcontext-tests] Fix 2d.drawImage.* and 2d.pattern.image.* tests under 2dcontext to match the spec (#5060)

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

# Firefox (nightly channel) #
Testing web-platform-tests at revision 8c91da87060d3819db9cd7ddc0bb9153e24d67d5
Using browser at version BuildID 20170306110339; SourceStamp 966464a68a2cb3ca1125808e34abb5c1d34e3797
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>10 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/drawing-images-to-the-canvas/2d.drawImage.cached.html">/2dcontext/drawing-images-to-the-canvas/2d.drawImage.cached.html</a></summary>


|              Subtest               | Results | Messages |
|------------------------------------|---------|----------|
|                                    | OK      |          |
| `Canvas test: 2d.drawImage.cached` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html">/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.emptysrc.html</a></summary>


|                     Subtest                     | Results |                                          Messages                                         |
|-------------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                                 | OK      |                                                                                           |
| `Canvas test: 2d.drawImage.incomplete.emptysrc` | FAIL    | `assert_approx_equals: Red channel of the pixel at (50, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html">/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.immediate.html</a></summary>


|                     Subtest                      | Results | Messages |
|--------------------------------------------------|---------|----------|
|                                                  | OK      |          |
| `Canvas test: 2d.drawImage.incomplete.immediate` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html">/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.reload.html</a></summary>


|                    Subtest                    | Results |                                          Messages                                         |
|-----------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                               | OK      |                                                                                           |
| `Canvas test: 2d.drawImage.incomplete.reload` | FAIL    | `assert_approx_equals: Red channel of the pixel at (50, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html">/2dcontext/drawing-images-to-the-canvas/2d.drawImage.incomplete.removedsrc.html</a></summary>


|                      Subtest                      | Results |                                          Messages                                         |
|---------------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                                   | OK      |                                                                                           |
| `Canvas test: 2d.drawImage.incomplete.removedsrc` | FAIL    | `assert_approx_equals: Red channel of the pixel at (50, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/fill-and-stroke-styles/2d.pattern.image.cached.html">/2dcontext/fill-and-stroke-styles/2d.pattern.image.cached.html</a></summary>


|                Subtest                 | Results | Messages |
|----------------------------------------|---------|----------|
|                                        | OK      |          |
| `Canvas test: 2d.pattern.image.cached` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.emptysrc.html">/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.emptysrc.html</a></summary>


|                       Subtest                       | Results |                                   Messages                                  |
|-----------------------------------------------------|---------|-----------------------------------------------------------------------------|
|                                                     | OK      |                                                                             |
| `Canvas test: 2d.pattern.image.incomplete.emptysrc` | FAIL    | `An attempt was made to use an object that is not, or is no longer, usable` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.immediate.html">/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.immediate.html</a></summary>


|                       Subtest                        | Results |                                                                                 Messages                                                                                 |
|------------------------------------------------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                      | OK      |                                                                                                                                                                          |
| `Canvas test: 2d.pattern.image.incomplete.immediate` | FAIL    | `assert_equals: ctx.createPattern(img, 'repeat') === null (got [object CanvasPattern][object], expected [object]) expected null but got object "[object CanvasPattern]"` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.reload.html">/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.reload.html</a></summary>


|                      Subtest                      | Results |                                  Messages                                  |
|---------------------------------------------------|---------|----------------------------------------------------------------------------|
|                                                   | OK      |                                                                            |
| `Canvas test: 2d.pattern.image.incomplete.reload` | FAIL    | `assert_equals: Red channel of the pixel at (1, 1) expected 0 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5060/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.removedsrc.html">/2dcontext/fill-and-stroke-styles/2d.pattern.image.incomplete.removedsrc.html</a></summary>


|                        Subtest                        | Results |                                   Messages                                  |
|-------------------------------------------------------|---------|-----------------------------------------------------------------------------|
|                                                       | OK      |                                                                             |
| `Canvas test: 2d.pattern.image.incomplete.removedsrc` | FAIL    | `An attempt was made to use an object that is not, or is no longer, usable` |

</details>
</details>

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

Received on Tuesday, 7 March 2017 09:05:14 UTC