Bug 919265 - Part 1: Fix TextTrackCue() crashtests to use VTTCue(). r=bz
authorRick Eyre <rick.eyre@hotmail.com>
Mon, 23 Sep 2013 13:59:49 -0400
changeset 162619 fd0ad8462ba78ddbe6e915404cdceb8f79d1db8a
parent 162618 d10ded33e5221599f8c1c14d3945524ecb965025
child 162620 07e358bb9954fb6ab0f7a6ba66223e0aeb16ae2b
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs919265
milestone27.0a1
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
Bug 919265 - Part 1: Fix TextTrackCue() crashtests to use VTTCue(). r=bz
content/media/test/crashtests/882549.html
content/media/test/crashtests/894104.html
--- a/content/media/test/crashtests/882549.html
+++ b/content/media/test/crashtests/882549.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
     <head>
         <script>
-            var o0 = new TextTrackCue(0.000, 1.000, 'Bug882549');
-            var o1 = o0.getCueAsHTML(0);
+            var o0 = new VTTCue(0.000, 1.000, 'Bug882549');
+            var o1 = o0.getCueAsHTML();
         </script>
     </head>
     <body>
     </body>
 </html>
 <script>
 </script>
--- a/content/media/test/crashtests/894104.html
+++ b/content/media/test/crashtests/894104.html
@@ -3,18 +3,18 @@
 <head>
 <meta charset="UTF-8">
 <script>
 
 function boom()
 {
   var frame = document.getElementById("f");
   var frameWin = frame.contentWindow;
-  frameWin.TextTrackCue;
+  frameWin.VTTCue;
   document.body.removeChild(frame);
-  frameWin.TextTrackCue(0, 1, "Bug 894104").getCueAsHTML();
+  frameWin.VTTCue(0, 1, "Bug 894104").getCueAsHTML();
 }
 
 </script>
 </head>
 
 <body onload="boom();"><iframe id="f" src="data:text/html,1"></iframe></body>
 </html>