• Xida Chen's avatar
    Make getPutImageDataPairTest.html pass · cc213072
    Xida Chen authored
    There are two reasons for this CL:
    1. This layout test times out on virtual/gpu/ test suite.
    2. The layout test is uses testharness, but it has an expected file.
    
    The reason for #1 is that when the test creates a canvas, it uses the
    canvas's default width and height which is 300*150, and call getImageData
    and putImageData on the entire canvas with the same color. We really don't
    need that, this CL sets the width and height to be 5 and should test the
    same thing.
    
    The reason for #2 is that this layout test has several small tests, the
    name for each small tests are the same, and testharness apparently
    doesn't like that.
    
    This CL removes a line in the expectation file, and some -expected.txt
    
    Bug: 709009
    Change-Id: I14935f4bf84a8cabb5a9aa56dc502b5d02768b77
    Reviewed-on: https://chromium-review.googlesource.com/568079Reviewed-by: default avatarMohammad Reza Zakerinasab <zakerinasab@chromium.org>
    Commit-Queue: Xida Chen <xidachen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#486002}
    cc213072
getPutImageDataPairTest.html 1.9 KB