Skip to content

Commit

Permalink
Fetch: use t.step_timeout() instead of bare step_timeout() (#15350)
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Feb 12, 2019
1 parent bac4db3 commit 8686e3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fetch/stale-while-revalidate/stale-css.tentative.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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(() => {
Expand Down
2 changes: 1 addition & 1 deletion fetch/stale-while-revalidate/stale-image.tentative.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

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");
Expand Down

0 comments on commit 8686e3e

Please sign in to comment.