author Ryo Kato <>
Sun, 03 Apr 2016 16:20:20 +0900
changeset 292524 afdcc508d7644bbe87de12f4435cd67538e225c8
parent 156201 05e66d941de21f4edbb22801c740878474d23b72
child 306187 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1255682 - Remove unnecessary t.step_func() from a chrome test r=hiro In promise chains, we don't have to use t.step_func. However, when there are callbacks in promise chains, assertions in the callbacks need wrapped in either t.step or t.step_func. If we use t.step_func, a variable scope might be divided. This can be a problem when an assertion uses local-scope variable (e.g. the callback in MutationObserver uses an assertion which take `changedAnimation`). Therefore, t.step is helpful in this case. (There no t.step_func we should remove in web-platform tests.) MozReview-Commit-ID: IiSizgCQjpG

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

DIRS += ['expat', 'xml', 'htmlparser', 'html']