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

Issue 2271593002: Convert OffscreenCanvas-getContext tests to testharness. (Closed)

Created:
4 years, 4 months ago by sivag
Modified:
4 years, 3 months ago
Reviewers:
Srirama, fs, Justin Novosad
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert OffscreenCanvas-getContext tests to testharness. This patch uses testharness.js asserts to test OffscreenCanvas-getContext & OffscreenCanvas-getContext-in-worker tests. Removes the expectation files. BUG=639732 Committed: https://crrev.com/e837ab605085aa68e5212f5f6d6c6e20c605791c Cr-Commit-Position: refs/heads/master@{#414511}

Patch Set 1 #

Total comments: 25

Patch Set 2 : Changed test as per the comments. #

Total comments: 1

Messages

Total messages: 18 (6 generated)
sivag
ptal..
4 years, 4 months ago (2016-08-23 06:21:24 UTC) #4
Srirama
https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html File third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html (right): https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html#newcode6 third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html:6: self.onmessage = function(e) { you can remove 'e'. https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html#newcode7 ...
4 years, 4 months ago (2016-08-23 06:34:25 UTC) #5
fs
https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html File third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html (right): https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html#newcode12 third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html:12: if (!(ctx1 instanceof OffscreenCanvasRenderingContext2D)) { On 2016/08/23 at 06:34:24, ...
4 years, 4 months ago (2016-08-23 08:50:58 UTC) #6
Justin Novosad
https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html File third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html (right): https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html#newcode33 third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext.html:33: // TODO: change the below part of the test ...
4 years, 4 months ago (2016-08-23 15:53:00 UTC) #7
sivag
ptal.. https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html File third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html (right): https://codereview.chromium.org/2271593002/diff/1/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html#newcode6 third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.html:6: self.onmessage = function(e) { On 2016/08/23 06:34:24, Srirama ...
4 years, 3 months ago (2016-08-25 07:39:02 UTC) #8
fs
lgtm https://codereview.chromium.org/2271593002/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.js File third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.js (right): https://codereview.chromium.org/2271593002/diff/20001/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.js#newcode1 third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext-in-worker.js:1: importScripts("../../resources/testharness.js"); Could possibly put this file in a ...
4 years, 3 months ago (2016-08-25 08:14:59 UTC) #9
Srirama
LGTM with Justin having the final say.
4 years, 3 months ago (2016-08-25 08:40:17 UTC) #10
sivag
@junov, ptal..
4 years, 3 months ago (2016-08-25 14:29:55 UTC) #11
Justin Novosad
On 2016/08/25 14:29:55, sivag wrote: > @junov, ptal.. lgtm
4 years, 3 months ago (2016-08-25 14:56:50 UTC) #12
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/2271593002/20001
4 years, 3 months ago (2016-08-25 18:14:47 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-25 19:39:39 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 19:44:20 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e837ab605085aa68e5212f5f6d6c6e20c605791c
Cr-Commit-Position: refs/heads/master@{#414511}

Powered by Google App Engine
This is Rietveld 408576698