function testLoadAbortEmptyResponse() {
  var webview = document.createElement('webview');
  webview.addEventListener('loadabort', function(e) {
    embedder.test.assertEq(-324, e.code);
    embedder.test.assertEq('ERR_EMPTY_RESPONSE', e.reason);
    embedder.test.succeed();
  });
  webview.setAttribute('src', embedder.closeSocketURL);
  document.body.appendChild(webview);
}
// appropriate fields when an empty response is returned.
appropriate fields when an empty response is returned.
appropriate fields when an empty response is returned .
function testLoadAbortEmptyResponse() {
  var webview = document.createElement('webview');
  webview.addEventListener('loadabort', function(e) {
    embedder.test.assertEq(-324, e.code);
    embedder.test.assertEq('ERR_EMPTY_RESPONSE', e.reason);
    embedder.test.succeed();
  });
  webview.setAttribute('src', embedder.closeSocketURL);
  document.body.appendChild(webview);
}
function testLoadAbortEmptyResponse ( ) { var webview = document . createElement ( 'webview' ) ; webview . addEventListener ( 'loadabort' , function ( e ) { embedder . test . assertEq ( - 324 , e . code ) ; embedder . test . assertEq ( 'ERR_EMPTY_RESPONSE' , e . reason ) ; embedder . test . succeed ( ) ; } ) ; webview . setAttribute ( 'src' , embedder . closeSocketURL ) ; document . body . appendChild ( webview ) ; }
appropriate fields when an empty response is returned.
appropriate fields when an empty response is returned .