New issue
Advanced search Search tips

Issue 697869 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

WebVTT settings parser parses line: as an integer

Project Member Reported by zcorpan@gmail.com, Mar 2 2017

Issue description

https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp?l=974

This does not match the current spec. The IDL type is "double" (in Chromium and spec) for .line but the settings parser still parses into an integer.

Spec:
http://w3c.github.io/webvtt/#parse-the-webvtt-cue-settings

web-platform-tests:
/webvtt/parsing/file-parsing/tests/settings-line.html
in https://github.com/w3c/web-platform-tests/pull/5032

Fail	settings, line	assert_equals: Failed with cue 7 expected 4294967296 but got 2147483648

(Gecko passes except for the "line:5." test: https://bugzilla.mozilla.org/show_bug.cgi?id=1343794 )
 

Comment 1 by f...@opera.com, Mar 2 2017

Cc: -f...@opera.com
Owner: f...@opera.com
Status: Assigned (was: Untriaged)

Comment 3 by f...@opera.com, Mar 3 2017

Status: Fixed (was: Assigned)

Sign in to add a comment