Bug 1258361 - Wait for second streaming response to display. r=vporof
☠☠ backed out by da47ad4a7668 ☠ ☠
authorJ. Ryan Stinnett <jryans@gmail.com>
Mon, 21 Mar 2016 08:56:00 -0500
changeset 289881 792ec1f6bbbf0ef816f0d6d395557928027f82a2
parent 289880 5e3ef0ac174e1053b2854e0d51ae6ac4a7cf88b1
child 289882 f18cffdb22774061ccacd733ea401ac2d2364760
push id74027
push userkwierso@gmail.com
push dateTue, 22 Mar 2016 23:57:42 +0000
treeherdermozilla-inbound@eb528d042c85 [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 ]) {