Bug 972846 - There's a redundant teardown call in the last testParamsTab function in browser_net_complex-params.js, r=me
authorVictor Porof <vporof@mozilla.com>
Fri, 14 Feb 2014 14:21:37 -0500
changeset 169376 34e1187b5711b438a004c1456510bdfcc241a7b4
parent 169375 efedd01c7fbc4310a263d1427e850eabdd71c2bf
child 169377 7a3ccf996b85be96a5a195c63ec5695c8b33a70d
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersme
bugs972846
milestone30.0a1
Bug 972846 - There's a redundant teardown call in the last testParamsTab function in browser_net_complex-params.js, r=me
browser/devtools/netmonitor/test/browser_net_complex-params.js
--- a/browser/devtools/netmonitor/test/browser_net_complex-params.js
+++ b/browser/devtools/netmonitor/test/browser_net_complex-params.js
@@ -133,16 +133,14 @@ function test() {
         aQueryStringParamValue,
         "The first query string param value was incorrect.");
 
       return NetMonitorView.editor("#request-post-data-textarea").then((aEditor) => {
         is(aEditor.getText(), aRequestPayload,
           "The text shown in the source editor is incorrect.");
         is(aEditor.getMode(), Editor.modes[aEditorMode],
           "The mode active in the source editor is incorrect.");
-
-        teardown(aMonitor).then(finish);
       });
     }
 
     aDebuggee.performRequests();
   });
 }