Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Issue 2721243004: Fix obviously broken SVG parsing test (Closed)

Created:
3 years, 9 months ago by atotic
Modified:
3 years, 9 months ago
Reviewers:
Stephen Chennney
CC:
blink-reviews, chromium-reviews, fs
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/d3d4d93c503aa6b59908bb7bda912bd22a7fd1fa

Patch Set 1 #

Patch Set 2 : git cl web #

Unified diffs Side-by-side diffs Delta from patch set Stats (+927 lines, -4896 lines) Patch
M third_party/WebKit/LayoutTests/svg/parser/whitespace-integer.html View 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/parser/whitespace-integer-expected.txt View 1 1 chunk +924 lines, -4892 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
atotic
3 years, 9 months ago (2017-03-03 02:38:32 UTC) #5
Stephen Chennney
The change looks good in that it gets us coverage at least as good as ...
3 years, 9 months ago (2017-03-03 15:14:42 UTC) #6
atotic
On 2017/03/03 at 15:14:42, schenney wrote: > The change looks good in that it gets ...
3 years, 9 months ago (2017-03-03 17:26:03 UTC) #8
atotic
On 2017/03/03 at 17:26:03, atotic wrote: > On 2017/03/03 at 15:14:42, schenney wrote: > > ...
3 years, 9 months ago (2017-03-07 00:04:32 UTC) #9
Stephen Chennney
On 2017/03/07 00:04:32, atotic wrote: > On 2017/03/03 at 17:26:03, atotic wrote: > > On ...
3 years, 9 months ago (2017-03-07 14:49:32 UTC) #10
atotic
ptal, rebaselined the test
3 years, 9 months ago (2017-03-08 22:48:08 UTC) #11
Stephen Chennney
lgtm
3 years, 9 months ago (2017-03-10 18:06:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721243004/20001
3 years, 9 months ago (2017-03-10 18:06:35 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 19:16:47 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d3d4d93c503aa6b59908bb7bda91...

Powered by Google App Engine
This is Rietveld 408576698