Re: [2dcontext-tests] Replace usage of setTimeout with step_timeout in 2dcontext (#4968)

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

# Chrome (unstable channel) #
Testing web-platform-tests at revision 08f2c65f24aa61fca2c5a9bea23415fc5e014206
Using browser at version 58.0.3013.3 dev
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>30 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-images-to-the-canvas/2d.drawImage.animated.apng.html">/2dcontext/drawing-images-to-the-canvas/2d.drawImage.animated.apng.html</a></summary>


|                               Subtest                               | Results | Messages |
|---------------------------------------------------------------------|---------|----------|
|                                                                     | OK      |          |
| `drawImage() of an APNG with no poster frame draws the first frame` | PASS    |          |

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


|                        Subtest                         | Results | Messages |
|--------------------------------------------------------|---------|----------|
|                                                        | OK      |          |
| `drawImage() of an animated GIF draws the first frame` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.center.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.center.html</a></summary>


|                                  Subtest                                  | Results | Messages |
|---------------------------------------------------------------------------|---------|----------|
|                                                                           | OK      |          |
| `textAlign center is the center of the em squares (not the bounding box)` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.end.ltr.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.end.ltr.html</a></summary>


|                  Subtest                   | Results | Messages |
|--------------------------------------------|---------|----------|
|                                            | OK      |          |
| `textAlign end with ltr is the right edge` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.end.rtl.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.end.rtl.html</a></summary>


|                  Subtest                  | Results | Messages |
|-------------------------------------------|---------|----------|
|                                           | OK      |          |
| `textAlign end with rtl is the left edge` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.left.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.left.html</a></summary>


|                                  Subtest                                   | Results | Messages |
|----------------------------------------------------------------------------|---------|----------|
|                                                                            | OK      |          |
| `textAlign left is the left of the first em square (not the bounding box)` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.right.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.right.html</a></summary>


|                                   Subtest                                   | Results | Messages |
|-----------------------------------------------------------------------------|---------|----------|
|                                                                             | OK      |          |
| `textAlign right is the right of the last em square (not the bounding box)` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.start.ltr.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.start.ltr.html</a></summary>


|                   Subtest                   | Results | Messages |
|---------------------------------------------|---------|----------|
|                                             | OK      |          |
| `textAlign start with ltr is the left edge` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.start.rtl.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.align.start.rtl.html</a></summary>


|                   Subtest                    | Results | Messages |
|----------------------------------------------|---------|----------|
|                                              | OK      |          |
| `textAlign start with rtl is the right edge` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.baseline.alphabetic.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.baseline.alphabetic.html</a></summary>


|                     Subtest                     | Results | Messages |
|-------------------------------------------------|---------|----------|
|                                                 | OK      |          |
| `Canvas test: 2d.text.draw.baseline.alphabetic` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.bound.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.bound.html</a></summary>


|                                Subtest                                | Results | Messages |
|-----------------------------------------------------------------------|---------|----------|
|                                                                       | OK      |          |
| `fillText handles maxWidth based on line size, not bounding box size` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.fontface.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fill.maxWidth.fontface.html</a></summary>


|               Subtest                | Results | Messages |
|--------------------------------------|---------|----------|
|                                      | OK      |          |
| `fillText works on @font-face fonts` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fontface.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fontface.html</a></summary>


|               Subtest                | Results | Messages |
|--------------------------------------|---------|----------|
|                                      | OK      |          |
| `Canvas test: 2d.text.draw.fontface` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fontface.notinpage.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fontface.notinpage.html</a></summary>


|                               Subtest                                | Results |                                         Messages                                        |
|----------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------|
|                                                                      | OK      |                                                                                         |
| `@font-face fonts should work even if they are not used in the page` | FAIL    | `assert_approx_equals: Red channel of the pixel at (5, 5) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fontface.repeat.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.fontface.repeat.html</a></summary>


|                                                    Subtest                                                     | Results | Messages |
|----------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                | OK      |          |
| `Draw with the font immediately, then wait a bit until and draw again. (This crashes some version of WebKit.)` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.space.basic.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.space.basic.html</a></summary>


|                     Subtest                      | Results | Messages |
|--------------------------------------------------|---------|----------|
|                                                  | OK      |          |
| `U+0020 is rendered the correct size (1em wide)` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.draw.space.collapse.nonspace.html">/2dcontext/drawing-text-to-the-canvas/2d.text.draw.space.collapse.nonspace.html</a></summary>


|                             Subtest                              | Results | Messages |
|------------------------------------------------------------------|---------|----------|
|                                                                  | OK      |          |
| `Non-space characters are not converted to U+0020 and collapsed` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.measure.width.basic.html">/2dcontext/drawing-text-to-the-canvas/2d.text.measure.width.basic.html</a></summary>


|                  Subtest                   | Results | Messages |
|--------------------------------------------|---------|----------|
|                                            | OK      |          |
| `Canvas test: 2d.text.measure.width.basic` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/drawing-text-to-the-canvas/2d.text.measure.width.empty.html">/2dcontext/drawing-text-to-the-canvas/2d.text.measure.width.empty.html</a></summary>


|              Subtest              | Results | Messages |
|-----------------------------------|---------|----------|
|                                   | OK      |          |
| `The empty string has zero width` | PASS    |          |

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


|                          Subtest                           | Results | Messages |
|------------------------------------------------------------|---------|----------|
|                                                            | OK      |          |
| `createPattern() of an animated GIF draws the first frame` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.baseline.bottom.html">/2dcontext/text-styles/2d.text.draw.baseline.bottom.html</a></summary>


|                                   Subtest                                   | Results |                                          Messages                                         |
|-----------------------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                                                             | OK      |                                                                                           |
| `textBaseline bottom is the bottom of the em square (not the bounding box)` | FAIL    | `assert_approx_equals: Red channel of the pixel at (25, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.baseline.hanging.html">/2dcontext/text-styles/2d.text.draw.baseline.hanging.html</a></summary>


|                   Subtest                    | Results |                                         Messages                                        |
|----------------------------------------------|---------|-----------------------------------------------------------------------------------------|
|                                              | OK      |                                                                                         |
| `Canvas test: 2d.text.draw.baseline.hanging` | FAIL    | `assert_approx_equals: Red channel of the pixel at (5, 5) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.baseline.ideographic.html">/2dcontext/text-styles/2d.text.draw.baseline.ideographic.html</a></summary>


|                     Subtest                      | Results |                                         Messages                                        |
|--------------------------------------------------|---------|-----------------------------------------------------------------------------------------|
|                                                  | OK      |                                                                                         |
| `Canvas test: 2d.text.draw.baseline.ideographic` | FAIL    | `assert_approx_equals: Red channel of the pixel at (5, 5) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.baseline.middle.html">/2dcontext/text-styles/2d.text.draw.baseline.middle.html</a></summary>


|                                   Subtest                                   | Results |                                         Messages                                        |
|-----------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------|
|                                                                             | OK      |                                                                                         |
| `textBaseline middle is the middle of the em square (not the bounding box)` | FAIL    | `assert_approx_equals: Red channel of the pixel at (5, 5) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.baseline.top.html">/2dcontext/text-styles/2d.text.draw.baseline.top.html</a></summary>


|                                Subtest                                | Results |                                         Messages                                        |
|-----------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------|
|                                                                       | OK      |                                                                                         |
| `textBaseline top is the top of the em square (not the bounding box)` | FAIL    | `assert_approx_equals: Red channel of the pixel at (5, 5) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.space.collapse.end.html">/2dcontext/text-styles/2d.text.draw.space.collapse.end.html</a></summary>


|                             Subtest                             | Results |                                          Messages                                         |
|-----------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                                                 | OK      |                                                                                           |
| `Space characters at the end of a line are collapsed (per CSS)` | FAIL    | `assert_approx_equals: Red channel of the pixel at (75, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.space.collapse.other.html">/2dcontext/text-styles/2d.text.draw.space.collapse.other.html</a></summary>


|                               Subtest                               | Results |                                          Messages                                         |
|---------------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                                                     | OK      |                                                                                           |
| `Space characters are converted to U+0020, and collapsed (per CSS)` | FAIL    | `assert_approx_equals: Red channel of the pixel at (25, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.space.collapse.space.html">/2dcontext/text-styles/2d.text.draw.space.collapse.space.html</a></summary>


|                               Subtest                               | Results |                                          Messages                                         |
|---------------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                                                     | OK      |                                                                                           |
| `Space characters are converted to U+0020, and collapsed (per CSS)` | FAIL    | `assert_approx_equals: Red channel of the pixel at (25, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.draw.space.collapse.start.html">/2dcontext/text-styles/2d.text.draw.space.collapse.start.html</a></summary>


|                              Subtest                              | Results |                                          Messages                                         |
|-------------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------|
|                                                                   | OK      |                                                                                           |
| `Space characters at the start of a line are collapsed (per CSS)` | FAIL    | `assert_approx_equals: Red channel of the pixel at (25, 25) expected 0 +/- 2 but got 255` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4968/2dcontext/text-styles/2d.text.measure.width.space.html">/2dcontext/text-styles/2d.text.measure.width.space.html</a></summary>


|                              Subtest                               | Results |                                                         Messages                                                        |
|--------------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------------------------------------|
|                                                                    | OK      |                                                                                                                         |
| `Space characters are converted to U+0020 and collapsed (per CSS)` | FAIL    | `assert_equals: ctx.measureText('A  B').width === 150 (got 200[number], expected 150[number]) expected 150 but got 200` |

</details>
</details>

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

Received on Wednesday, 22 February 2017 17:56:52 UTC