I am making a Chrome app that has the user open a new page when the user clicks on the app in the top-right corner. I am trying to have Chrome open a new page when the app loads.
Here is my manifest.json file:
{
  "name": "My App That Opens in a New Page",
  "version": "1.0",
  "manifest_version": 2,
  "icons": { "128": "mediumIcon.png" },
  "description": "A practice text editor that opens in a new tab or window.",
  "browser_action": {
    "default_icon": "smallIcon.png",
    "default_popup": "load.html"
  }
}
Subsequently, in load.html, I have tried this HTML to open a new page per the instructions at http://developer.chrome.com/extensions/overview.html.
<!DOCTYPE html><html><head>
  <script type='text/javascript'>window.open('editor.html');</script>
</head><body></body></html>
However, editor.html is not opening when I click on the icon for my app in Chrome. Why not? Doesn't window.open open new windows in javascript? Does it behave differently for javascript embedded in the browser?