Backed out changeset 7373932c9e56 (bug 1276831)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 14 Jun 2016 14:33:33 +0200
changeset 301746 803228efe10858012ab159a694d913de136bc9e2
parent 301745 76cffbe704e27cf82cf062aa2ef5f385966224ed
child 301747 017c7d55f22fc67346a9ef2ec45bd33ae88d8c46
push id78437
push userarchaeopteryx@coole-files.de
push dateTue, 14 Jun 2016 12:36:05 +0000
treeherdermozilla-inbound@017c7d55f22f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1276831
milestone50.0a1
backs out7373932c9e5638f5456d88599d8c8548f254c401
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 7373932c9e56 (bug 1276831)
dom/media/test/test_texttrackcue.html
--- a/dom/media/test/test_texttrackcue.html
+++ b/dom/media/test/test_texttrackcue.html
@@ -87,37 +87,34 @@ SpecialPowers.pushPrefEnv({"set": [["med
         video.removeEventListener("pause", pauseOnExit, false);
         video.play();
       });
 
       var exceptionHappened;
       function checkPercentageValue(prop, initialVal) {
         ok(prop in cue, prop + " should be a property on VTTCue.");
         cue[prop] = initialVal;
-        is(cue[prop], initialVal, "Cue's " + prop + " should initially be " + initialVal);
+        is(cue[prop], initialVal, "Cue's " + prop + " should now be " + initialVal);
         [ 101, -1 ].forEach(function(val) {
           exceptionHappened = false;
           try {
             cue[prop] = val;
           } catch(e) {
             exceptionHappened = true;
             is(e.name, "IndexSizeError", "Should have thrown IndexSizeError.");
           }
           ok(exceptionHappened, "Exception should have happened.");
         });
       }
 
       checkPercentageValue("size", 100.0);
       cue.size = 50.5;
       is(cue.size, 50.5, "Cue's size should be 50.5.")
 
-      // Check cue.position
-      checkPercentageValue("position", "auto");
-      cue.position = 50.5;
-      is(cue.position, 50.5, "Cue's position value should now be 50.5.");
+      checkPercentageValue("position", 50.0);
 
       ok(cue.snapToLines, "Cue's snapToLines should be set by set.");
       cue.snapToLines = false;
       ok(!cue.snapToLines, "Cue's snapToLines should not be set.");
 
       function checkEnumValue(prop, initialVal, acceptedValues) {
         ok(prop in cue, prop + " should be a property on VTTCue.");
         is(cue[prop], initialVal, "Cue's " + prop + " should be " + initialVal);