title: Phonegap - Local file gets opened in the main view instead of within an iframe
body: <p>I'm developing an Android app with PhoneGap 2.0, which opens locally stored Html's in an iframe. The problem is that whenever I try to load any Html, it will be displayed, but the app breaks (no more Javascript is executed). This is what I get in the logcat:</p>
  
  <pre><code>09-12 12:14:43.374: D/CordovaWebView(19771): &gt;&gt;&gt; loadUrlNow()
  09-12 12:14:43.394: D/CordovaLog(19771): JSCallback Error: Request failed.
  09-12 12:14:43.394: D/CordovaLog(19771): file:///android_asset/www/js/lib/cordova-2.0.0.js: Line 3698 : JSCallback Error: Request failed.
  09-12 12:14:43.394: I/Web Console(19771): JSCallback Error: Request failed. at file:///android_asset/www/js/lib/cordova-2.0.0.js:3698
  09-12 12:14:43.414: D/DroidGap(19771): onMessage(onPageStarted,file:///storage/sdcard0/file.html)
  09-12 12:14:43.584: D/chromium(19771): Unknown chromium error: -6
  09-12 12:14:43.704: D/Cordova(19771): onPageFinished(file:///storage/sdcard0/file.html)
  09-12 12:14:43.704: D/CordovaWebView(19771): &gt;&gt;&gt; loadUrlNow()
  09-12 12:14:43.714: D/DroidGap(19771): onMessage(onNativeReady,null)
  09-12 12:14:43.714: D/DroidGap(19771): onMessage(onPageFinished,file:///storage/sdcard0/file.html)
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>What is actually happening, is that the whole app html is replaced by the file's one. That's why the Javascript wasn't executing... there was no Javascript. This said, does anyone know how to avoid this behavior?</p>