Re: [xhr-tests] Replace usage of setTimeout with step_timeout in XMLHttpRequest (#4967)

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

# Firefox (nightly channel) #
Testing web-platform-tests at revision 75d10aa6535e10f195abcab9ab9ca71adaac0f61
Using browser at version BuildID 20170221110300; SourceStamp d84beb192e57e26846c82d3df3599381f4663792
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>7 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/4967/XMLHttpRequest/xmlhttprequest-timeout-aborted.html">/XMLHttpRequest/xmlhttprequest-timeout-aborted.html</a></summary>


|                                Subtest                                 | Results | Messages |
|------------------------------------------------------------------------|---------|----------|
|                                                                        | OK      |          |
| `Timeout test: No events should fire for an unsent, unaborted request` | PASS    |          |
| `Timeout test: time to abort is -1, timeout set at 2000`               | PASS    |          |
| `Timeout test: time to abort is 5000, timeout set at 2000`             | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4967/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html">/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html</a></summary>


|                          Subtest                           | Results | Messages |
|------------------------------------------------------------|---------|----------|
|                                                            | OK      |          |
| `Timeout test: time to abort is 0, timeout set at 2000`    | PASS    |          |
| `Timeout test: time to abort is 1000, timeout set at 2000` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4967/XMLHttpRequest/xmlhttprequest-timeout-overrides.html">/XMLHttpRequest/xmlhttprequest-timeout-overrides.html</a></summary>


|                                                 Subtest                                                 | Results | Messages |
|---------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                         | OK      |          |
| `Timeout test: timeout disabled after initially set, original timeout at 5000, reset at 2000 to 0`      | PASS    |          |
| `Timeout test: timeout overrides load after a delay, original timeout at 5000, reset at 1000 to 2000`   | PASS    |          |
| `Timeout test: timeout enabled after initially disabled, original timeout at 0, reset at 2000 to 50000` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4967/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html">/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html</a></summary>


|                                                        Subtest                                                        | Results | Messages |
|-----------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                       | OK      |          |
| `Timeout test: timeout set to expiring value after load fires, original timeout at 5000, reset at 4000 to 1000`       | PASS    |          |
| `Timeout test: timeout set to expired value before load fires, original timeout at 5000, reset at 2000 to 1100`       | PASS    |          |
| `Timeout test: timeout set to non-expiring value after timeout fires, original timeout at 1000, reset at 2000 to 500` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4967/XMLHttpRequest/xmlhttprequest-timeout-simple.html">/XMLHttpRequest/xmlhttprequest-timeout-simple.html</a></summary>


|                                      Subtest                                       | Results | Messages |
|------------------------------------------------------------------------------------|---------|----------|
|                                                                                    | OK      |          |
| `Timeout test: no time out scheduled, load fires normally, timeout scheduled at 0` | PASS    |          |
| `Timeout test: load fires normally, timeout scheduled at 5000`                     | PASS    |          |
| `Timeout test: timeout hit before load, timeout scheduled at 2000`                 | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4967/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html">/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html</a></summary>


|                                                       Subtest                                                       | Results | Messages |
|---------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                     | OK      |          |
| `Timeout test: Synchronous XHR must not allow a timeout to be set - setting timeout must throw`                     | PASS    |          |
| `Timeout test: Synchronous XHR must not allow a timeout to be set - calling open() after timeout is set must throw` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4967/XMLHttpRequest/xmlhttprequest-timeout-twice.html">/XMLHttpRequest/xmlhttprequest-timeout-twice.html</a></summary>


|                                                       Subtest                                                       | Results | Messages |
|---------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                     | OK      |          |
| `Timeout test: load fires normally with no timeout set, twice, original timeout at 0, reset at 2000 to 0`           | PASS    |          |
| `Timeout test: load fires normally with same timeout set twice, original timeout at 5000, reset at 2000 to 5000`    | PASS    |          |
| `Timeout test: timeout fires normally with same timeout set twice, original timeout at 2000, reset at 1000 to 2000` | PASS    |          |

</details>
</details>

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

Received on Wednesday, 22 February 2017 18:08:20 UTC