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

Issue 854863002: VTTCue: Add TypeChecking=Unrestricted (Closed)

Created:
5 years, 11 months ago by fs
Modified:
5 years, 11 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, nessy, arv+blink, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, Inactive, vcarbune.chromium
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

VTTCue: Add TypeChecking=Unrestricted Enables proper checking of the startTime and endTime parameters to the constructor. Fix one test (media/track/track-cue-negative-timestamp.html) which previously tested the wrong thing, and drop one subtest of media/track/track-add-remove-cue.html since it's pretty useless. BUG=448000 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188621

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix test. #

Patch Set 3 : Drop unnecessary test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -24 lines) Patch
A LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html View 1 1 chunk +25 lines, -0 lines 0 comments Download
M LayoutTests/media/track/track-add-remove-cue.html View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M LayoutTests/media/track/track-add-remove-cue-expected.txt View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M LayoutTests/media/track/track-cue-negative-timestamp.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/media/track/track-cue-negative-timestamp-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/track/vtt/VTTCue.idl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
fs
5 years, 11 months ago (2015-01-15 18:11:28 UTC) #2
philipj_slow
lgtm % nits https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html File LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html (right): https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html#newcode10 LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html:10: assert_throws(new TypeError, function() { new VTTCue('tomorrow', ...
5 years, 11 months ago (2015-01-19 08:49:36 UTC) #3
fs
https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html File LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html (right): https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html#newcode10 LayoutTests/media/track/opera/interfaces/VTTCue/constructor.html:10: assert_throws(new TypeError, function() { new VTTCue('tomorrow', 'christmas', 'foo'); }); ...
5 years, 11 months ago (2015-01-19 10:18:16 UTC) #4
philipj_slow
https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/track-add-remove-cue.html File LayoutTests/media/track/track-add-remove-cue.html (right): https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/track-add-remove-cue.html#newcode68 LayoutTests/media/track/track-add-remove-cue.html:68: testException("oldStyleCue = new VTTCue('sausage-cue', 33, 3.4, 'Sausage?')", '"TypeError: Failed ...
5 years, 11 months ago (2015-01-19 10:31:10 UTC) #5
fs
https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/track-add-remove-cue.html File LayoutTests/media/track/track-add-remove-cue.html (right): https://codereview.chromium.org/854863002/diff/1/LayoutTests/media/track/track-add-remove-cue.html#newcode68 LayoutTests/media/track/track-add-remove-cue.html:68: testException("oldStyleCue = new VTTCue('sausage-cue', 33, 3.4, 'Sausage?')", '"TypeError: Failed ...
5 years, 11 months ago (2015-01-19 11:42:44 UTC) #6
philipj_slow
Still LGTM.
5 years, 11 months ago (2015-01-19 12:06:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854863002/40001
5 years, 11 months ago (2015-01-19 12:25:50 UTC) #9
commit-bot: I haz the power
5 years, 11 months ago (2015-01-19 12:54:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188621

Powered by Google App Engine
This is Rietveld 408576698