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

Issue 1856383002: Convert css cue track tests from video-test.js to testharness.js based (Closed)

Created:
4 years, 8 months ago by Srirama
Modified:
4 years, 8 months ago
CC:
blink-reviews, chromium-reviews, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, philipj_slow, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert css cue track tests from video-test.js to testharness.js based Cleaning up css cue tests in media/track to use testharness.js instead of video-test.js. This will enable to upstream these tests to web-platform-tests. BUG=588956 Committed: https://crrev.com/d7207b6cd046d757ebd38ef490d51d355dde2dde Cr-Commit-Position: refs/heads/master@{#385779}

Patch Set 1 : #

Total comments: 19

Patch Set 2 : Address review comments #

Messages

Total messages: 25 (11 generated)
Srirama
PTAL
4 years, 8 months ago (2016-04-05 12:52:22 UTC) #5
mlamouri (slow - plz ping)
https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html (left): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html#oldcode4 third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html:4: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Why are you removing ...
4 years, 8 months ago (2016-04-06 09:22:58 UTC) #7
Srirama
https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html (left): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html#oldcode4 third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html:4: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> On 2016/04/06 09:22:58, Mounir ...
4 years, 8 months ago (2016-04-06 10:21:24 UTC) #8
philipj_slow
https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html (right): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html#newcode21 third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html:21: video.onseeked = t.step_func_done(function(t) { On 2016/04/06 10:21:23, Srirama wrote: ...
4 years, 8 months ago (2016-04-06 12:12:55 UTC) #9
philipj_slow
LGTM % nits, but please wait for Mounir's second pass. https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html (right): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html#newcode20 ...
4 years, 8 months ago (2016-04-06 12:17:46 UTC) #10
mlamouri (slow - plz ping)
lgtm https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html (right): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html#newcode21 third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html:21: video.onseeked = t.step_func_done(function(t) { On 2016/04/06 at 12:12:55, ...
4 years, 8 months ago (2016-04-07 13:37:17 UTC) #12
philipj_slow
https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html (right): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html#newcode32 third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow.html:32: }); On 2016/04/07 13:37:17, Mounir Lamouri wrote: > On ...
4 years, 8 months ago (2016-04-07 13:40:32 UTC) #13
Srirama
https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html (right): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html#newcode20 third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html:20: assert_equals(getComputedStyle(cueNode).color, "rgb(255, 0, 0)"); On 2016/04/06 12:17:46, philipj wrote: ...
4 years, 8 months ago (2016-04-07 13:46:18 UTC) #14
philipj_slow
https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html File third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html (right): https://codereview.chromium.org/1856383002/diff/20001/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html#newcode20 third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2.html:20: assert_equals(getComputedStyle(cueNode).color, "rgb(255, 0, 0)"); On 2016/04/07 13:46:18, Srirama wrote: ...
4 years, 8 months ago (2016-04-07 14:39:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1856383002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1856383002/60001
4 years, 8 months ago (2016-04-07 14:41:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/118271)
4 years, 8 months ago (2016-04-07 14:59:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1856383002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1856383002/60001
4 years, 8 months ago (2016-04-07 16:24:59 UTC) #22
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/d7207b6cd046d757ebd38ef490d51d355dde2dde Cr-Commit-Position: refs/heads/master@{#385779}
4 years, 8 months ago (2016-04-07 16:32:43 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 16:33:42 UTC) #25
Message was sent while issue was closed.
Failed to apply patch for
third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt:
While running git rm
third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt;
  fatal: pathspec
'third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt'
did not match any files

Patch:  D   
third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt
Index:
third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt
diff --git
a/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt
b/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt
deleted file mode 100644
index
b0b0f9c10345c5312935b24a4967615f246ac264..0000000000000000000000000000000000000000
---
a/third_party/WebKit/LayoutTests/media/track/css-cue-for-video-in-shadow-2-expected.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Test that the cue is styled when video and style is in the same shadow tree.
-EVENT(canplaythrough)
-EVENT(seeked)
-EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
-EXPECTED (getComputedStyle(cueNode).color == 'rgb(0, 128, 0)') OK
-EXPECTED (getComputedStyle(cueNode).color == 'rgb(255, 0, 0)') OK
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698