function testContentLoadEventWithDisplayNone() {
  var webview = document.createElement('webview');
  webview.style.display = 'none';
  webview.addEventListener('contentload', function(e) {
    embedder.test.succeed();
  });
  webview.setAttribute('src', 'data:text/html,trigger navigation');
  document.body.appendChild(webview);
}
// loaded even if the <webview> is set to display:none.
loaded even if the  is set to display:none.
loaded even if the is set to display : none .
function testContentLoadEventWithDisplayNone() {
  var webview = document.createElement('webview');
  webview.style.display = 'none';
  webview.addEventListener('contentload', function(e) {
    embedder.test.succeed();
  });
  webview.setAttribute('src', 'data:text/html,trigger navigation');
  document.body.appendChild(webview);
}
function testContentLoadEventWithDisplayNone ( ) { var webview = document . createElement ( 'webview' ) ; webview . style . display = 'none' ; webview . addEventListener ( 'contentload' , function ( e ) { embedder . test . succeed ( ) ; } ) ; webview . setAttribute ( 'src' , 'data:text/html,trigger navigation' ) ; document . body . appendChild ( webview ) ; }
loaded even if the <webview> is set to display:none.
loaded even if the <webview > is set to display : none .