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

Issue 212953004: Have SourceBuffer throw TypeError for non-finite doubles. (Closed)

Created:
6 years, 9 months ago by sof
Modified:
6 years, 8 months ago
CC:
blink-reviews, feature-media-reviews_chromium.org, philipj_slow, eric.carlson_apple.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Have SourceBuffer throw TypeError for non-finite doubles. Switch to throwing TypeError instead of TypeMismatchError when encountering non-finite doubles, following what WebIDL requires http://heycam.github.io/webidl/#es-double R=acolwell@chromium.org BUG=353245 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170098

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -15 lines) Patch
M LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html View 2 chunks +4 lines, -4 lines 2 comments Download
M LayoutTests/http/tests/media/media-source/mediasource-timestamp-offset.html View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/modules/mediasource/SourceBuffer.cpp View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
sof
Please take a look.
6 years, 9 months ago (2014-03-26 16:05:19 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm % nit https://codereview.chromium.org/212953004/diff/1/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html File LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html (right): https://codereview.chromium.org/212953004/diff/1/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html#newcode35 LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html:35: assert_throws({name: "TypeError"}, nit: Why can't we ...
6 years, 9 months ago (2014-03-26 16:41:35 UTC) #2
sof
https://codereview.chromium.org/212953004/diff/1/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html File LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html (right): https://codereview.chromium.org/212953004/diff/1/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html#newcode35 LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html:35: assert_throws({name: "TypeError"}, On 2014/03/26 16:41:36, acolwell wrote: > nit: ...
6 years, 9 months ago (2014-03-26 16:43:37 UTC) #3
acolwell GONE FROM CHROMIUM
On 2014/03/26 16:43:37, sof wrote: > https://codereview.chromium.org/212953004/diff/1/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html > File LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html > (right): > > https://codereview.chromium.org/212953004/diff/1/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html#newcode35 ...
6 years, 9 months ago (2014-03-26 16:45:24 UTC) #4
sof
On 2014/03/26 16:45:24, acolwell wrote: > On 2014/03/26 16:43:37, sof wrote: > > > https://codereview.chromium.org/212953004/diff/1/LayoutTests/http/tests/media/media-source/mediasource-appendwindow.html ...
6 years, 9 months ago (2014-03-26 16:50:52 UTC) #5
acolwell GONE FROM CHROMIUM
On 2014/03/26 16:50:52, sof wrote: > On 2014/03/26 16:45:24, acolwell wrote: > > On 2014/03/26 ...
6 years, 9 months ago (2014-03-26 17:14:32 UTC) #6
acolwell GONE FROM CHROMIUM
The CQ bit was checked by acolwell@chromium.org
6 years, 9 months ago (2014-03-26 17:14:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/212953004/1
6 years, 9 months ago (2014-03-26 17:14:40 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 18:17:33 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 18:17:33 UTC) #10
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-26 18:32:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/212953004/1
6 years, 9 months ago (2014-03-26 18:32:22 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 19:34:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 19:34:36 UTC) #14
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-26 19:59:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/212953004/1
6 years, 9 months ago (2014-03-26 19:59:15 UTC) #16
commit-bot: I haz the power
Change committed as 170098
6 years, 9 months ago (2014-03-26 20:59:11 UTC) #17
sof
6 years, 8 months ago (2014-03-29 19:22:39 UTC) #18
Message was sent while issue was closed.
On 2014/03/26 17:14:32, acolwell wrote:
> On 2014/03/26 16:50:52, sof wrote:
...
> > 
> > assert_throws() supports what is documented to handle -- DOM exception
> testing,
> > with an extension mechanism via 'name' like here.
> > 
> > But better, more convenient testharness.js support for native
> errors/exceptions
> > would of course be worthwhile to work on.
> 
> Ok. Thanks for the info. lgtm as is then.

Filed a feature request for simpler TypeError testing,
https://github.com/w3c/testharness.js/issues/62

Powered by Google App Engine
This is Rietveld 408576698