javascript - Blank window when launching Chrome Packaged app -


when launch chrome packaged app sounds doesn't loads, blank (empty) window. have checked console sure there not javascript errors.

i'm using function on background.js script

    chrome.app.runtime.onlaunched.addlistener(function() {      chrome.app.window.create('index.html', {      'width': 1024,      'height': 768,      });     }); 

it's strange because sound of app starts window remains empty. application made using sencha animator.

something in index.html must causing error.

  1. try 1 of chrome-app-samples.
  2. try editing index.html trivial, , adding content until find error.
  3. check viewing errors in both background page , launched page. can right click app window , inspect element see it's inspector. can use chrome://extensions see inspector view pages.

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -