Backed out changeset 8db1c2fd27c9 (bug 1347829) for web platform tests failures
authorIris Hsiao <ihsiao@mozilla.com>
Mon, 20 Mar 2017 16:06:43 +0800
changeset 348398 cb4e80abb488f37ec67c4760a128ae177697667b
parent 348397 1ac14d8a4ca44dddbea065a24b61410dd298ce8d
child 348399 2eb2f588b2d6a7fe818aa4f8453ffd63754d93e5
child 348421 8d967436d696d1f8e3fb33cf7e3d32a72457ffa6
push id39146
push userihsiao@mozilla.com
push dateMon, 20 Mar 2017 08:06:50 +0000
treeherderautoland@cb4e80abb488 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1347829
milestone55.0a1
backs out8db1c2fd27c9a774ae12f216cadf1f8efd641b15
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 8db1c2fd27c9 (bug 1347829) for web platform tests failures
dom/media/webvtt/vtt.jsm
--- a/dom/media/webvtt/vtt.jsm
+++ b/dom/media/webvtt/vtt.jsm
@@ -399,17 +399,17 @@ Cu.import('resource://gre/modules/Servic
           if (tagStack.length &&
               tagStack[tagStack.length - 1] === t.substr(2).replace(">", "")) {
             tagStack.pop();
             current = current.parentNode;
           }
           // Otherwise just ignore the end tag.
           continue;
         }
-        var ts = collectTimeStamp(t.substr(1, t.length - 1));
+        var ts = collectTimeStamp(t.substr(1, t.length - 2));
         var node;
         if (ts) {
           // Timestamps are lead nodes as well.
           node = window.document.createProcessingInstruction("timestamp", normalizedTimeStamp(ts));
           current.appendChild(node);
           continue;
         }
         var m = t.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);