function testContentLoadEvent() {
  var webview = document.createElement('webview');
  webview.addEventListener('contentload', function(e) {
    embedder.test.succeed();
  });
  webview.setAttribute('src', 'data:text/html,trigger navigation');
  document.body.appendChild(webview);
}
// do not fire the 'contentload' event.
do not fire the 'contentload' event.
do not fire the ' contentload ' event .
function testContentLoadEvent() {
  var webview = document.createElement('webview');
  webview.addEventListener('contentload', function(e) {
    embedder.test.succeed();
  });
  webview.setAttribute('src', 'data:text/html,trigger navigation');
  document.body.appendChild(webview);
}
function testContentLoadEvent ( ) { var webview = document . createElement ( 'webview' ) ; webview . addEventListener ( 'contentload' , function ( e ) { embedder . test . succeed ( ) ; } ) ; webview . setAttribute ( 'src' , 'data:text/html,trigger navigation' ) ; document . body . appendChild ( webview ) ; }
do not fire the 'contentload' event.
do not fire the ' contentload ' event .