Bug 548523 - Disable test_preload_actions.html case 9 until bug 568402 is fixed. a=test-fix
☠☠ backed out by 1d4f04d244bc ☠ ☠
authorChris Pearce <chris@pearce.org.nz>
Wed, 18 Aug 2010 10:49:14 +1200
changeset 50754 137f0ce0e0ca8cf1cb97c9994821fb702738672d
parent 50753 f88258e1ddbe9a12024d403dd62a6d1142af7829
child 50755 73de7cbbf3111c68227b8b81698d31b18cbff127
child 50762 1d4f04d244bc8ebd6e6127ac2faada29249dae36
push idunknown
push userunknown
push dateunknown
reviewerstest-fix
bugs548523, 568402
milestone2.0b5pre
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 548523 - Disable test_preload_actions.html case 9 until bug 568402 is fixed. a=test-fix
content/media/test/test_preload_actions.html
--- a/content/media/test/test_preload_actions.html
+++ b/content/media/test/test_preload_actions.html
@@ -296,18 +296,20 @@ var tests = [
       v.preload = "none";
       v.addEventListener("loadstart", function(e){v.preload = "metadata";}, false);
       v.addEventListener("loadedmetadata", function(e){v._gotLoadedMetaData = true;}, false);
       v.addEventListener("loadeddata", this.loadeddata, false);
       v.src = test.name;
       document.body.appendChild(v); // Causes implicit load.
     },
   },
-  {
+  /*{
     // 9. Change preload value from metadata to auto should cause entire media to be loaded.
+    // For some reason we don't always receive the canplaythrough event, particuarly on this test.
+    // We've disabled this test until bug 568402 is fixed.
     canplaythrough:
     function(e) {
       var v = e.target;
       if (v._finished)
         return;
       is(v._gotLoadStart, true, "(9) Must get loadstart.");
       is(v._gotLoadedMetaData, true, "(9) Must get loadedmetadata.");
       v._finished = true;
@@ -322,17 +324,17 @@ var tests = [
       v.preload = "metadata";
       v.addEventListener("loadstart", function(e){v._gotLoadStart = true;}, false);
       v.addEventListener("loadedmetadata", function(e){v._gotLoadedMetaData = true;}, false);
       v.addEventListener("loadeddata", function(){v.preload = "auto"}, false);
       v.addEventListener("canplaythrough", this.canplaythrough, false);
       v.src = test.name;
       document.body.appendChild(v); // Causes implicit load.
     },
-  },
+  },*/
   {
     // 10. Change preload value from none to auto should cause entire media to be loaded.
     canplaythrough:
     function(e) {
       var v = e.target;
       is(v._gotLoadedMetaData, true, "(10) Must get loadedmetadata.");
       v._finished = true;
       maybeFinish(10);