Backed out changeset decfff8497ce (bug 1221855) for adding a broken test a=backout
authorWes Kocher <wkocher@mozilla.com>
Thu, 12 Nov 2015 13:51:56 -0800
changeset 296711 e4629e309487
parent 296710 26f64ca8f630
child 296712 51f0f13e7985
child 296713 5de02a7e82f3
child 296716 3832930e549c
push id5301
push userkwierso@gmail.com
push date2015-11-12 21:52 +0000
treeherdermozilla-beta@e4629e309487 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1221855
milestone43.0
backs outdecfff8497ce
Backed out changeset decfff8497ce (bug 1221855) for adding a broken test a=backout
dom/media/webaudio/test/mochitest.ini
dom/media/webaudio/test/test_WebAudioMemoryReporting.html
--- a/dom/media/webaudio/test/mochitest.ini
+++ b/dom/media/webaudio/test/mochitest.ini
@@ -176,10 +176,8 @@ skip-if = (toolkit == 'gonk' && !debug) 
 skip-if = os == 'win' && debug #Bug 1202564
 [test_waveShaperGain.html]
 [test_waveShaperNoCurve.html]
 skip-if = os == 'win' && debug #Bug 1202565
 [test_waveShaperPassThrough.html]
 skip-if = os == 'win' && debug #Bug 1196084
 [test_waveShaperInvalidLengthCurve.html]
 skip-if = os == 'win' && debug #Bug 1202567 
-[test_WebAudioMemoryReporting.html]
-skip-if = debug # assertion failures: bug 1222202
deleted file mode 100644
--- a/dom/media/webaudio/test/test_WebAudioMemoryReporting.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-  <title>Web Audio memory reporting</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<script class="testbody" type="text/javascript">
-
-SimpleTest.waitForExplicitFinish();
-
-var ac = new AudioContext();
-var sp = ac.createScriptProcessor(4096, 1, 1);
-sp.connect(ac.destination);
-
-var nodeTypes = ["ScriptProcessorNode", "AudioDestinationNode"];
-var objectTypes = ["dom-nodes", "engine-objects", "stream-objects"];
-
-var usages = {};
-
-for (var i = 0; i < nodeTypes.length; ++i) {
-  for (var j = 0; j < objectTypes.length; ++j) {
-    usages["explicit/webaudio/audio-node/" +
-           nodeTypes[i] + "/" + objectTypes[j]] = 0;
-  }
-}
-
-var handleReport = function(aProcess, aPath, aKind, aUnits, aAmount, aDesc) {
-  if (aPath in usages) {
-    usages[aPath] += aAmount;
-  }
-}
-
-var finished = function () {
-  ok(true, "Yay didn't crash!");
-  for (var resource in usages) {
-    ok(usages[resource] > 0, "Non-zero usage for " + resource);
-  };
-  SimpleTest.finish();
-}
-
-SpecialPowers.Cc["@mozilla.org/memory-reporter-manager;1"].
-  getService(SpecialPowers.Ci.nsIMemoryReporterManager).
-  getReports(handleReport, null, finished, null, /* anonymized = */ false);
-
-</script>
-</html>