Bug 1278748 - part1 : cue's attribute can be set multiple times. r=rillian

MozReview-Commit-ID: 8jWQmRojviV

--HG--
extra : rebase_source : 9a385cc52116f7bdb2c8fe103f4cf6f14959a784
This commit is contained in:
Alastor Wu 2016-07-12 10:57:07 +08:00
parent 9d86d0a443
commit 358097b137
2 changed files with 1 additions and 8 deletions

View File

@ -96,9 +96,8 @@ this.EXPORTED_SYMBOLS = ["WebVTT"];
}
Settings.prototype = {
// Only accept the first assignment to any key.
set: function(k, v) {
if (!this.get(k) && v !== "") {
if (v !== "") {
this.values[k] = v;
}
},

View File

@ -3,18 +3,12 @@
[WebVTT parser tests, settings-vertical.vtt]
expected: FAIL
[WebVTT parser tests, settings-size.vtt]
expected: FAIL
[WebVTT parser tests, settings-position.vtt]
expected: FAIL
[WebVTT parser tests, settings-line.vtt]
expected: FAIL
[WebVTT parser tests, settings-align.vtt]
expected: FAIL
[WebVTT parser tests, signature-space-no-newline.vtt]
expected: FAIL