From acf212ecff2d335239c4889953665d2148a63d80 Mon Sep 17 00:00:00 2001 From: Gordon Klaus Date: Thu, 16 Apr 2015 04:56:00 -0400 Subject: [PATCH] Bug 1155140 - Removed mentions of deleted parameters from test helper documentation. r=mt --- dom/media/tests/mochitest/mediaStreamPlayback.js | 4 ---- dom/media/tests/mochitest/pc.js | 6 ------ 2 files changed, 10 deletions(-) diff --git a/dom/media/tests/mochitest/mediaStreamPlayback.js b/dom/media/tests/mochitest/mediaStreamPlayback.js index b6bfe6fd8be..93eaefa963a 100644 --- a/dom/media/tests/mochitest/mediaStreamPlayback.js +++ b/dom/media/tests/mochitest/mediaStreamPlayback.js @@ -32,10 +32,6 @@ MediaStreamPlayback.prototype = { * * @param {Boolean} isResume specifies if this media element is being resumed * from a previous run - * @param {Function} onSuccess the success callback if the media playback - * start and stop cycle completes successfully - * @param {Function} onError the error callback if the media playback - * start and stop cycle fails */ playMedia : function(isResume) { return this.startMedia(isResume) diff --git a/dom/media/tests/mochitest/pc.js b/dom/media/tests/mochitest/pc.js index 137139f7b3a..0c7bcf85eba 100644 --- a/dom/media/tests/mochitest/pc.js +++ b/dom/media/tests/mochitest/pc.js @@ -198,9 +198,6 @@ function timerGuard(p, time, message) { /** * Closes the peer connection if it is active - * - * @param {Function} onSuccess - * Callback to execute when the peer connection has been closed successfully */ PeerConnectionTest.prototype.closePC = function() { info("Closing peer connections"); @@ -989,9 +986,6 @@ PeerConnectionWrapper.prototype = { /** * Creates an offer and automatically handles the failure case. - * - * @param {function} onSuccess - * Callback to execute if the offer was created successfully */ createOffer : function() { return this._pc.createOffer(this.offerOptions).then(offer => {