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

Issue 2679193002: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)

Created:
3 years, 10 months ago by zakerinasab
Modified:
3 years, 10 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, shans, rjwright, aboxhall, aboxhall+watch_chromium.org, blink-reviews-animation_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, nektarios, dmazzoni, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, darktears, blink-reviews, je_julie, Eric Willigers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. This change replaces js-test.js assertions with testharness.js assertions. The expectation files are removed as they are not needed anymore. To simplify review and landing, each change corrects at most 10 tests. BUG=639732 Review-Url: https://codereview.chromium.org/2679193002 Cr-Commit-Position: refs/heads/master@{#450718} Committed: https://chromium.googlesource.com/chromium/src/+/047fc28e61cb62e44c07a5b89c86a44ae30f9b46

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -557 lines) Patch
M third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html View 1 1 chunk +27 lines, -32 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated-expected.txt View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-accessibility-test.html View 1 2 chunks +62 lines, -54 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-accessibility-test-expected.txt View 1 chunk +0 lines, -52 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-clear-test.html View 1 chunk +84 lines, -87 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-clear-test-expected.txt View 1 chunk +0 lines, -31 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-fill-rule-test.html View 1 chunk +38 lines, -45 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-fill-rule-test-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-path2d-test.html View 1 chunk +27 lines, -30 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-path2d-test-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-path2d-transform-test.html View 3 chunks +6 lines, -29 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-path2d-transform-test-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-transform-test.html View 3 chunks +6 lines, -29 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-transform-test-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Justin Novosad
https://codereview.chromium.org/2679193002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html (right): https://codereview.chromium.org/2679193002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html#newcode29 third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html:29: createImageBitmap(img).then(t.step_func(function(image) { I don't think step_func is needed here. ...
3 years, 10 months ago (2017-02-09 20:37:19 UTC) #3
zakerinasab
Comments addressed. New change list uploaded. https://codereview.chromium.org/2679193002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html File third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html (right): https://codereview.chromium.org/2679193002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html#newcode29 third_party/WebKit/LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html:29: createImageBitmap(img).then(t.step_func(function(image) { On ...
3 years, 10 months ago (2017-02-13 17:06:10 UTC) #4
Justin Novosad
lgtm
3 years, 10 months ago (2017-02-14 21:16:32 UTC) #5
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/2679193002/20001
3 years, 10 months ago (2017-02-15 14:53:37 UTC) #7
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 16:06:08 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/047fc28e61cb62e44c07a5b89c86...

Powered by Google App Engine
This is Rietveld 408576698