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 291276 6a17a3d359fffd1408c068bf03812df8677c29bd
parent 291275 90e78a1577940d6ac66c38380cb3e728eba6ccee
child 291277 c6faa92b435d084736b2856cf9fbb0cb50abfdfd
push id30131
push userkwierso@gmail.com
push dateFri, 01 Apr 2016 22:43:45 +0000
treeherdermozilla-central@c40c0b2f3b4c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvporof
bugs1258361
milestone48.0a1
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 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 ]) {