Bug 1276832 - part3 : modify test. r=rillian
authorAlastor Wu <alwu@mozilla.com>
Tue, 14 Jun 2016 11:47:45 +0100
changeset 301720 dfa4e924a16c5dccf25a77f98fbac54d73f80fda
parent 301719 c3f20d18028cbeab418161eeed38b3eb94e16311
child 301721 ef957b0217bba6f19a986bb4082a1b5e09cce086
push id78423
push useralwu@mozilla.com
push dateTue, 14 Jun 2016 10:49:16 +0000
treeherdermozilla-inbound@dfa4e924a16c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian
bugs1276832
milestone50.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 1276832 - part3 : modify test. r=rillian MozReview-Commit-ID: 6dmwFneZR2B
dom/media/test/test_texttrackcue.html
--- a/dom/media/test/test_texttrackcue.html
+++ b/dom/media/test/test_texttrackcue.html
@@ -145,18 +145,18 @@ SpecialPowers.pushPrefEnv({"set": [["med
       is(cue.positionAlign, "line-left", "Cue's position align should be line-left.");
       cue.positionAlign = "auto";
       is(cue.positionAlign, "auto", "Cue's position align should be auto.");
       cue.positionAlign = "line-right";
       is(cue.positionAlign, "line-right", "Cue's position align should be line-right.");
 
       // Check cue.line
       is(cue.line, "auto", "Cue's line value should initially be auto.");
-      cue.line = 12410
-      is(cue.line, 12410, "Cue's line value should now be 12410.");
+      cue.line = 0.5;
+      is(cue.line, 0.5, "Cue's line value should now be 0.5.");
       cue.line = "auto";
       is(cue.line, "auto", "Cue's line value should now be auto.");
 
       // Check that we can create and add new VTTCues
       var vttCue = new VTTCue(3.999, 4, "foo");
       is(vttCue.track, null, "Cue's track should be null.");
       trackElement.track.addCue(vttCue);
       is(cue.track, trackElement.track, "Cue's track should be defined.");