DescriptionAdd support for type checking of floating point attributes
Just do the same thing for value passed to setter(if (!std::isfinite) ...)
as for method arguments.
Add examples in SourceBuffer for checking.
Followup to:
Add support for type checking of floating point arguments as [TypeChecking=Unrestricted]
https://codereview.chromium.org/259773008/
This does *not* add TypeChecking throughout SourceBuffer, only enough for testing; Fredrik is doing full type checking in:
Apply TypeChecking to MediaSource IDLs
https://codereview.chromium.org/266453005/
R=haraken
BUG=354298
TEST=http/tests/media/media-source/mediasource-timestamp-offset.html
TEST=http/tests/media/media-source/mediasource-appendwindow.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173064
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove nop [TypeChecking=Unrestricted] #
Messages
Total messages: 12 (0 generated)
|