• Xiaocheng Hu's avatar
    Add mechanism to allow layout test text dump with Element.innerText · 4d66facc
    Xiaocheng Hu authored
    Now that we have spec-conformant implementation of Element.innerText,
    we should change layout test text dump to use it. To avoid an extra-
    large patch rebaselining 10k+ at once, which is vulnerable to test
    flakes, we will rebaseline progressively in a per-directory manner.
    
    This patch adds mechanism that chooses which text dump implementation
    to use based on the the test path. Actual rebaseline will be done in
    follow up patches.
    
    Bug: 887148
    Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
    Change-Id: I0fe248b20c6a924549aae424990374b18f070027
    Reviewed-on: https://chromium-review.googlesource.com/1234874Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
    Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
    Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#593821}
    4d66facc
web_document.h 5.79 KB