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

Issue 1867303002: Convert 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 track tests from video-test.js to testharness.js based Cleaning up text-track*, track-active* 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/88c6b18fb999f84fef076e8789f0845b3e81c7b0 Cr-Commit-Position: refs/heads/master@{#386650}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix test failure #

Total comments: 6

Patch Set 3 : address comments #

Total comments: 4

Patch Set 4 : add async GC functionality #

Total comments: 2

Patch Set 5 : Simplify GC invocation as per comments #

Messages

Total messages: 23 (9 generated)
Srirama
PTAL https://codereview.chromium.org/1867303002/diff/1/third_party/WebKit/LayoutTests/media/track/track-active-cues.html File third_party/WebKit/LayoutTests/media/track/track-active-cues.html (left): https://codereview.chromium.org/1867303002/diff/1/third_party/WebKit/LayoutTests/media/track/track-active-cues.html#oldcode40 third_party/WebKit/LayoutTests/media/track/track-active-cues.html:40: waitForEventsAndCall([[video, 'canplaythrough'], [trackElement, 'load'], [trackElement, 'cuechange']], clearSrc); I ...
4 years, 8 months ago (2016-04-08 11:58:36 UTC) #4
Srirama
https://codereview.chromium.org/1867303002/diff/1/third_party/WebKit/LayoutTests/media/track/track-active-cues.html File third_party/WebKit/LayoutTests/media/track/track-active-cues.html (left): https://codereview.chromium.org/1867303002/diff/1/third_party/WebKit/LayoutTests/media/track/track-active-cues.html#oldcode40 third_party/WebKit/LayoutTests/media/track/track-active-cues.html:40: waitForEventsAndCall([[video, 'canplaythrough'], [trackElement, 'load'], [trackElement, 'cuechange']], clearSrc); On 2016/04/08 ...
4 years, 8 months ago (2016-04-08 13:43:00 UTC) #5
Srirama
https://codereview.chromium.org/1867303002/diff/1/third_party/WebKit/LayoutTests/media/track/track-active-cues.html File third_party/WebKit/LayoutTests/media/track/track-active-cues.html (left): https://codereview.chromium.org/1867303002/diff/1/third_party/WebKit/LayoutTests/media/track/track-active-cues.html#oldcode40 third_party/WebKit/LayoutTests/media/track/track-active-cues.html:40: waitForEventsAndCall([[video, 'canplaythrough'], [trackElement, 'load'], [trackElement, 'cuechange']], clearSrc); On 2016/04/08 ...
4 years, 8 months ago (2016-04-09 09:07:33 UTC) #6
philipj_slow
https://codereview.chromium.org/1867303002/diff/40001/third_party/WebKit/LayoutTests/media/track/track-active-cues.html File third_party/WebKit/LayoutTests/media/track/track-active-cues.html (right): https://codereview.chromium.org/1867303002/diff/40001/third_party/WebKit/LayoutTests/media/track/track-active-cues.html#newcode7 third_party/WebKit/LayoutTests/media/track/track-active-cues.html:7: var eventCount = 0; Can you put this the ...
4 years, 8 months ago (2016-04-11 11:50:03 UTC) #9
Srirama
https://codereview.chromium.org/1867303002/diff/40001/third_party/WebKit/LayoutTests/media/track/track-active-cues.html File third_party/WebKit/LayoutTests/media/track/track-active-cues.html (right): https://codereview.chromium.org/1867303002/diff/40001/third_party/WebKit/LayoutTests/media/track/track-active-cues.html#newcode7 third_party/WebKit/LayoutTests/media/track/track-active-cues.html:7: var eventCount = 0; On 2016/04/11 11:50:03, philipj wrote: ...
4 years, 8 months ago (2016-04-11 12:06:56 UTC) #10
mlamouri (slow - plz ping)
lgtm. I'm just concerned that the current GC simulation (when running outside of a layout ...
4 years, 8 months ago (2016-04-11 13:12:33 UTC) #11
philipj_slow
https://codereview.chromium.org/1867303002/diff/60001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html File third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html (right): https://codereview.chromium.org/1867303002/diff/60001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html#newcode12 third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html:12: var str = new String('1234'); On 2016/04/11 13:12:32, Mounir ...
4 years, 8 months ago (2016-04-11 14:39:22 UTC) #12
Srirama
https://codereview.chromium.org/1867303002/diff/60001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html File third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html (right): https://codereview.chromium.org/1867303002/diff/60001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html#newcode12 third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html:12: var str = new String('1234'); On 2016/04/11 14:39:22, philipj ...
4 years, 8 months ago (2016-04-12 05:52:53 UTC) #13
philipj_slow
https://codereview.chromium.org/1867303002/diff/80001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html File third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html (right): https://codereview.chromium.org/1867303002/diff/80001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html#newcode23 third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html:23: function forceAsyncGC() { I'd say just include resources/gc.js, and ...
4 years, 8 months ago (2016-04-12 08:43:34 UTC) #14
Srirama
https://codereview.chromium.org/1867303002/diff/80001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html File third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html (right): https://codereview.chromium.org/1867303002/diff/80001/third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html#newcode23 third_party/WebKit/LayoutTests/media/track/text-track-cue-is-reachable.html:23: function forceAsyncGC() { On 2016/04/12 08:43:34, philipj wrote: > ...
4 years, 8 months ago (2016-04-12 09:54:57 UTC) #15
philipj_slow
lgtm
4 years, 8 months ago (2016-04-12 09:56:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867303002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867303002/100001
4 years, 8 months ago (2016-04-12 10:10:09 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-04-12 11:11:06 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 11:12:32 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/88c6b18fb999f84fef076e8789f0845b3e81c7b0
Cr-Commit-Position: refs/heads/master@{#386650}

Powered by Google App Engine
This is Rietveld 408576698