2 TEST(video.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'curren
tTime' property on 'HTMLMediaElement': The value provided is infinite.") OK
3 TEST(video.currentTime = Infinity) THROWS("TypeError: Failed to set the 'current
Time' property on 'HTMLMediaElement': The value provided is infinite.") OK
4 TEST(video.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime'
property on 'HTMLMediaElement': The value provided is not a number.") OK
2 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK
5 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK
3 EXPECTED (video.currentTime.toFixed(1) == '3.1') OK
6 EXPECTED (video.currentTime.toFixed(1) == '3.1') OK
Issue 217053009: Validate finiteness of HTMLMediaElement properties.
(Closed)
Created 6 years, 8 months ago by sandersd (OOO until July 31)
Modified 6 years, 8 months ago
Reviewers: acolwell GONE FROM CHROMIUM, Nils Barth (inactive), philipj_slow
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 7