+CONSOLE ERROR: The provided value '2' is not a valid value of type 'TextTrackMode'.
Nils Barth (inactive)
2015/02/26 17:21:54
Test bug:
line 52 sets the mode to 2
newTrack.mode
Test bug:
line 52 sets the mode to 2
newTrack.mode = 2;
It should have the enum value:
run("newTrack.mode = 'showing'");
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit...
Could you fix this *FIRST* in a separate CL to eliminate this noise?
Thanks!
Could you also add a check to track-mode.html that setting a numeric value '2'
doesn't work?
Something like this:
consoleWrite("<b>*** Set to numeric value (no longer supported),
should return default</b>");
var value = "2";
run("textTrack.mode = " + value);
testExpected("textTrack.mode", "showing");
testExpected("video.textTracks[0].mode", "showing");
consoleWrite("");
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit...
Issue 955413002: Log in Binding code for invalid enum type.
(Closed)
Created 5 years, 10 months ago by Paritosh Kumar
Modified 5 years, 9 months ago
Reviewers: haraken, Nils Barth (inactive), jsbell, pfeldman, yurys, aandrey, paulirish
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 12