Fix obviously broken SVG parsing test
While running LayoutTests, this test timed out. I was curious, looked into it, and realized that the test was completely broken: 1) there was an extra argument getting passed to testType() resulting in assert function being garbage. This caused 1000s of failures which caused test to run slowly. 2) Some other arguments being passed in were also wrong. My fix is not perfect, but it results in a saner outcome: it runs in fraction of a second, and triggers fewer failures. Running LayoutTests on my local machine was impossible, so I have not generated new test expectations. BUG=697646 Review-Url: https://codereview.chromium.org/2721243004 Cr-Commit-Position: refs/heads/master@{#456127}
Showing
This diff is collapsed.
Please register or sign in to comment