author | Philip Jägenstedt <philip@foolip.org> |
Tue, 05 Mar 2019 11:09:13 +0000 | |
changeset 464164 | ede03586f13bbbf90907a5bac491223b2a2da91d |
parent 464163 | 9ca222b6a7402afe2503961671ac4114a9ba8edc |
child 464165 | 9ef5380f4ea9d2ea29b690df8d3b536ae01f3a1f |
push id | 112453 |
push user | james@hoppipolla.co.uk |
push date | Fri, 15 Mar 2019 18:18:45 +0000 |
treeherder | mozilla-inbound@95f1a7ff5760 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1527478, 15350 |
milestone | 67.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/testing/web-platform/tests/fetch/stale-while-revalidate/stale-css.tentative.html +++ b/testing/web-platform/tests/fetch/stale-while-revalidate/stale-css.tentative.html @@ -7,17 +7,17 @@ https://github.com/whatwg/fetch/pull/853 <title>Tests Stale While Revalidate works for css</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <body> <script> async_test(t => { window.onload = t.step_func(() => { - step_timeout(() => { + t.step_timeout(() => { assert_equals(window.getComputedStyle(document.body).getPropertyValue('background-color'), "rgb(0, 128, 0)"); var link2 = document.createElement("link"); link2.onload = t.step_func(() => { assert_equals(window.getComputedStyle(document.body).getPropertyValue('background-color'), "rgb(0, 128, 0)"); var checkResult = () => { // We poll because we don't know when the revalidation will occur. fetch("stale-css.py?query").then(t.step_func((response) => { var count = response.headers.get("Count");
--- a/testing/web-platform/tests/fetch/stale-while-revalidate/stale-image.tentative.html +++ b/testing/web-platform/tests/fetch/stale-while-revalidate/stale-image.tentative.html @@ -13,17 +13,17 @@ Use a child document to load the second an image loaded into the same document will skip cache-control headers. See: https://html.spec.whatwg.org/#the-list-of-available-images --> <iframe id="child" srcdoc=""></iframe> <script> async_test(t => { window.onload = t.step_func(() => { - step_timeout(() => { + t.step_timeout(() => { assert_equals(document.getElementById("firstimage").width, 16, "Width is 16"); var childDocument = document.getElementById('child').contentDocument; var img2 = childDocument.createElement("img"); img2.onload = t.step_func(() => { assert_equals(img2.width, 16, "image dimension"); var checkResult = () => { // We poll because we don't know when the revalidation will occur. fetch("stale-image.py?query").then(t.step_func((response) => {