Re: [html-tests] Replace usage of setTimeout with step_timeout in html/browsers (#4975)

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

# Firefox (nightly channel) #
Testing web-platform-tests at revision 673fe52966a9f4feaf4b4bbbc3bb21832c0a4caa
Using browser at version BuildID 20170221110300; SourceStamp d84beb192e57e26846c82d3df3599381f4663792
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>16 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/browsing-the-web/unloading-documents/001.html">/html/browsers/browsing-the-web/unloading-documents/001.html</a></summary>


|          Subtest          | Results |            Messages           |
|---------------------------|---------|-------------------------------|
|                           | OK      |                               |
| `document.open in unload` | FAIL    | `step_timeout is not defined` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/browsing-the-web/unloading-documents/002.html">/html/browsers/browsing-the-web/unloading-documents/002.html</a></summary>


|          Subtest          | Results |            Messages           |
|---------------------------|---------|-------------------------------|
|                           | OK      |                               |
| `document.open in unload` | FAIL    | `step_timeout is not defined` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/browsing-the-web/unloading-documents/003.html">/html/browsers/browsing-the-web/unloading-documents/003.html</a></summary>


|                  Subtest                  | Results |            Messages           |
|-------------------------------------------|---------|-------------------------------|
|                                           | OK      |                               |
| `document.open in beforeunload with link` | FAIL    | `step_timeout is not defined` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/browsing-the-web/unloading-documents/004.html">/html/browsers/browsing-the-web/unloading-documents/004.html</a></summary>


|                   Subtest                   | Results |            Messages           |
|---------------------------------------------|---------|-------------------------------|
|                                             | OK      |                               |
| `document.open in beforeunload with button` | FAIL    | `step_timeout is not defined` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/browsing-the-web/unloading-documents/005.html">/html/browsers/browsing-the-web/unloading-documents/005.html</a></summary>


|                Subtest                | Results | Messages |
|---------------------------------------|---------|----------|
|                                       | OK      |          |
| `document.open in pagehide in iframe` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/001.html">/html/browsers/history/the-history-interface/001.html</a></summary>


|                                                       Subtest                                                       | Results |                                                                                                                                                                                                        Messages                                                                                                                                                                                                       |
|---------------------------------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                     | OK      |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.length should update when loading pages in an iframe`                                                      | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.length should update when setting location.hash`                                                           | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.pushState must exist`                                                                                      | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.pushState must exist within iframes`                                                                       | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `initial history.state should be null`                                                                              | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.length should update when pushing a state`                                                                 | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.state should update after a state is pushed`                                                               | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.length should not decrease after going back`                                                               | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `traversing history must traverse pushed states`                                                                    | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `traversing history must also traverse hash changes`                                                                | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must not be allowed to create invalid URLs`                                                              | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must not be allowed to create cross-origin URLs`                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must not be allowed to create cross-origin URLs (about:blank)`                                           | FAIL    | `assert_throws: function "function () { history.pushState('','','about:blank'); }" threw object "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html :: tests4/</< :: line 91"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18`     |
| `pushState must not be allowed to create cross-origin URLs (data:URI)`                                              | FAIL    | `assert_throws: function "function () { history.pushState('','','data:text/html,'); }" threw object "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://web-platform.test:8000/html/browsers/history/the-history-interface/001.html :: tests4/</< :: line 94"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18` |
| `security errors are expected to be thrown in the context of the document that owns the history object`             | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `location.hash must be allowed to change (part 1)`                                                                  | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `location.hash must be allowed to change (part 2)`                                                                  | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must not alter location.hash when no URL is provided`                                                    | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must remove all history after the current state`                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must be able to set location.hash`                                                                       | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must remove any tasks queued by the history traversal task source`                                       | FAIL    | `assert_equals: expected "test4" but got "test3"`                                                                                                                                                                                                                                                                                                                                                                     |
| `pushState must not fire hashchange events`                                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must be able to set location.pathname`                                                                   | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must be able to set absolute URLs to the same host`                                                      | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must not be able to use a function as data`                                                              | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must not be able to use a DOM node as data`                                                              | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must not be able to use an error object as data`                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `security errors are expected to be thrown in the context of the document that owns the history object (2)`         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `pushState must be able to make structured clones of complex objects`                                               | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.state should also reference a clone of the original object`                                                | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.state should be a clone of the original object, not a reference to it`                                     | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `popstate event should fire when navigation occurs`                                                                 | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `popstate event should pass the state data`                                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `state data should cope with circular object references`                                                            | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `state data should be a clone of the original object, not a reference to it`                                        | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.state should also reference a clone of the original object (2)`                                            | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.state should be a clone of the original object, not a reference to it (2)`                                 | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `history.state should be a separate clone of the object, not a reference to the object passed to the event handler` | FAIL    | `assert_false: expected false got true`                                                                                                                                                                                                                                                                                                                                                                               |
| `pushState should not actually load the new URL`                                                                    | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `reloading a pushed state should actually load the new URL`                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                       |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/002.html">/html/browsers/history/the-history-interface/002.html</a></summary>


|                                                       Subtest                                                       | Results |                                                                                                                                                                                                         Messages                                                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                                     | OK      |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.length should update when loading pages in an iframe`                                                      | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.length should update when setting location.hash`                                                           | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.replaceState must exist`                                                                                   | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.replaceState must exist within iframes`                                                                    | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `initial history.state should be null`                                                                              | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.length should not update when replacing a state with no URL`                                               | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.state should update after a state is pushed`                                                               | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `hash should not change when replaceState is called without a URL`                                                  | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.length should not update when replacing a state with a URL`                                                | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `hash should change when replaceState is called with a URL`                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must replace the existing state and not add an extra one`                                             | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must replace the existing state without altering the forward history`                                 | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must not be allowed to create invalid URLs`                                                           | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must not be allowed to create cross-origin URLs`                                                      | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must not be allowed to create cross-origin URLs (about:blank)`                                        | FAIL    | `assert_throws: function "function () { history.replaceState('','','about:blank'); }" threw object "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html :: tests4/</< :: line 96"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18`     |
| `replaceState must not be allowed to create cross-origin URLs (data:URI)`                                           | FAIL    | `assert_throws: function "function () { history.replaceState('','','data:text/html,'); }" threw object "[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://web-platform.test:8000/html/browsers/history/the-history-interface/002.html :: tests4/</< :: line 99"  data: no]" that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18` |
| `security errors are expected to be thrown in the context of the document that owns the history object`             | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must be able to set location.pathname`                                                                | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must be able to set absolute URLs to the same host`                                                   | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must not remove any tasks queued by the history traversal task source`                                | FAIL    | `assert_equals: expected "test3" but got "test5"`                                                                                                                                                                                                                                                                                                                                                                        |
| `.go must queue a task with the history traversal task source (run asynchronously)`                                 | FAIL    | `assert_equals: expected "test5" but got ""`                                                                                                                                                                                                                                                                                                                                                                             |
| `replaceState must not fire hashchange events`                                                                      | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must not be able to use a function as data`                                                           | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must not be able to use a DOM node as data`                                                           | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must not be able to use an error object as data`                                                      | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `security errors are expected to be thrown in the context of the document that owns the history object (2)`         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `replaceState must be able to make structured clones of complex objects`                                            | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.state should also reference a clone of the original object`                                                | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.state should be a clone of the original object, not a reference to it`                                     | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `popstate event should fire when navigation occurs`                                                                 | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `popstate event should pass the state data`                                                                         | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `state data should cope with circular object references`                                                            | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `state data should be a clone of the original object, not a reference to it`                                        | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.state should also reference a clone of the original object (2)`                                            | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.state should be a clone of the original object, not a reference to it (2)`                                 | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `history.state should be a separate clone of the object, not a reference to the object passed to the event handler` | FAIL    | `assert_false: expected false got true`                                                                                                                                                                                                                                                                                                                                                                                  |
| `replaceState should not actually load the new URL`                                                                 | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `reloading a replaced state should actually load the new URL`                                                       | PASS    |                                                                                                                                                                                                                                                                                                                                                                                                                          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/004.html">/html/browsers/history/the-history-interface/004.html</a></summary>


|                                         Subtest                                          | Results |                                      Messages                                     |
|------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------|
|                                                                                          | OK      |                                                                                   |
| `.go commands should be queued until the thread has ended`                               | FAIL    | `assert_equals: the browser navigated synchronously expected "baz" but got "foo"` |
| `browser needs to support hashchange events for this testcase`                           | PASS    |                                                                                   |
| `queued .go commands should all be executed when the queue is processed`                 | PASS    |                                                                                   |
| `history position should be calculated when executing, not when calling the .go command` | PASS    |                                                                                   |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/005.html">/html/browsers/history/the-history-interface/005.html</a></summary>


|                                   Subtest                                   | Results | Messages |
|-----------------------------------------------------------------------------|---------|----------|
|                                                                             | OK      |          |
| `history.pushState support is needed for this testcase`                     | PASS    |          |
| `<body onpopstate="..."> should register a listener for the popstate event` | PASS    |          |
| `window.onpopstate should register a listener for the popstate event`       | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/006.html">/html/browsers/history/the-history-interface/006.html</a></summary>


|                                   Subtest                                    | Results | Messages |
|------------------------------------------------------------------------------|---------|----------|
|                                                                              | OK      |          |
| `history.state should initially be null`                                     | PASS    |          |
| `popstate event should not fire before onload fires`                         | PASS    |          |
| `history.state should still be null onload`                                  | PASS    |          |
| `popstate event should not fire after onload fires`                          | PASS    |          |
| `history.state should still be null after onload`                            | PASS    |          |
| `writing to history.state should be silently ignored and not throw an error` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/007.html">/html/browsers/history/the-history-interface/007.html</a></summary>


|                                  Subtest                                   | Results | Messages |
|----------------------------------------------------------------------------|---------|----------|
|                                                                            | OK      |          |
| `history.state should initially be null`                                   | PASS    |          |
| `history.pushState support is needed for this testcase`                    | PASS    |          |
| `history.state should reflect pushed state`                                | PASS    |          |
| `popstate event should fire before onload fires`                           | PASS    |          |
| `the correct state should be restored when navigating during initial load` | PASS    |          |
| `history.state should reflect the navigated state onload`                  | PASS    |          |
| `popstate event should not fire after onload fires`                        | PASS    |          |
| `history.state should reflect the navigated state after onload`            | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/009.html">/html/browsers/history/the-history-interface/009.html</a></summary>


|                      Subtest                      | Results | Messages |
|---------------------------------------------------|---------|----------|
|                                                   | OK      |          |
| `HTTP Referer should use the pushed state`        | PASS    |          |
| `document.referrer should use the pushed state`   | PASS    |          |
| `HTTP Referer should use the replaced state`      | PASS    |          |
| `document.referrer should use the replaced state` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/011.html">/html/browsers/history/the-history-interface/011.html</a></summary>


|                            Subtest                             | Results | Messages |
|----------------------------------------------------------------|---------|----------|
|                                                                | OK      |          |
| `pushState should be able to set the location state`           | PASS    |          |
| `pushed location should be reflected immediately`              | PASS    |          |
| `pushed location should be retained after the page has loaded` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/history/the-history-interface/012.html">/html/browsers/history/the-history-interface/012.html</a></summary>


|                             Subtest                              | Results | Messages |
|------------------------------------------------------------------|---------|----------|
|                                                                  | OK      |          |
| `replaceState should be able to set the location state`          | PASS    |          |
| `replaced location should be reflected immediately`              | PASS    |          |
| `replaced location should be retained after the page has loaded` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/offline/application-cache-api/api_status_idle.html">/html/browsers/offline/application-cache-api/api_status_idle.html</a></summary>


|      Subtest       | Results | Messages |
|--------------------|---------|----------|
|                    | OK      |          |
| `idle status test` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/4975/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-02.html">/html/browsers/the-window-object/accessing-other-browsing-contexts/indexed-browsing-contexts-02.html</a></summary>


|                Subtest                | Results |                                                Messages                                               |
|---------------------------------------|---------|-------------------------------------------------------------------------------------------------------|
|                                       | OK      |                                                                                                       |
| `Accessing child browsing contexts 1` | PASS    |                                                                                                       |
| `Accessing child browsing contexts 2` | PASS    |                                                                                                       |
| `Accessing child browsing contexts 3` | FAIL    | `assert_equals: The top browsing context should have 3 child browsing contexts. expected 3 but got 2` |

</details>
</details>

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

Received on Wednesday, 22 February 2017 18:26:10 UTC