Bug 1258361 - Wait for second streaming response to display. r=vporof
authorJ. Ryan Stinnett <jryans@gmail.com>
Mon, 21 Mar 2016 08:56:00 -0500
changeset 291335 6a17a3d359fffd1408c068bf03812df8677c29bd
parent 291334 90e78a1577940d6ac66c38380cb3e728eba6ccee
child 291336 c6faa92b435d084736b2856cf9fbb0cb50abfdfd
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvporof
bugs1258361
milestone48.0a1
Bug 1258361 - Wait for second streaming response to display. r=vporof MozReview-Commit-ID: LV9O4BOThw0
devtools/client/netmonitor/test/browser_net_streaming-response.js
--- a/devtools/client/netmonitor/test/browser_net_streaming-response.js
+++ b/devtools/client/netmonitor/test/browser_net_streaming-response.js
@@ -43,16 +43,17 @@ function test() {
 
     yield panelWin.once(panelWin.EVENTS.RESPONSE_BODY_DISPLAYED);
     let editor = yield NetMonitorView.editor("#response-content-textarea");
 
     testEditorContent(editor, REQUESTS[0]); // the hls-m3u8 part
 
     RequestsMenu.selectedIndex = 1;
     yield panelWin.once(panelWin.EVENTS.TAB_UPDATED);
+    yield panelWin.once(panelWin.EVENTS.RESPONSE_BODY_DISPLAYED);
 
     testEditorContent(editor, REQUESTS[1]); // the mpeg-dash part
 
     yield teardown(monitor);
     finish();
   });
 
   function testEditorContent(editor, [ fmt, textRe, mode ]) {