function testChromeExtensionURL() {
  var localResource = chrome.runtime.getURL('guest_with_inline_script.html');
  var webview = document.createElement('webview');
  // foobar is a privileged partition according to the manifest file.
  webview.partition = 'foobar';
  webview.addEventListener('loadabort', function(e) {
    embedder.test.fail();
  });
  webview.addEventListener('loadstop', function(e) {
    embedder.test.succeed();
  });
  webview.setAttribute('src', localResource);
  document.body.appendChild(webview);
}
// accessible resource from a partition that is privileged.
accessible resource from a partition that is privileged.
accessible resource from a partition that is privileged .
function testChromeExtensionURL() {
  var localResource = chrome.runtime.getURL('guest_with_inline_script.html');
  var webview = document.createElement('webview');
  webview.partition = 'foobar';
  webview.addEventListener('loadabort', function(e) {
    embedder.test.fail();
  });
  webview.addEventListener('loadstop', function(e) {
    embedder.test.succeed();
  });
  webview.setAttribute('src', localResource);
  document.body.appendChild(webview);
}
function testChromeExtensionURL ( ) { var localResource = chrome . runtime . getURL ( 'guest_with_inline_script.html' ) ; var webview = document . createElement ( 'webview' ) ; webview . partition = 'foobar' ; webview . addEventListener ( 'loadabort' , function ( e ) { embedder . test . fail ( ) ; } ) ; webview . addEventListener ( 'loadstop' , function ( e ) { embedder . test . succeed ( ) ; } ) ; webview . setAttribute ( 'src' , localResource ) ; document . body . appendChild ( webview ) ; }
accessible resource from a partition that is privileged.
accessible resource from a partition that is privileged .
// foobar is a privileged partition according to the manifest file.