title: Debugging in Android Webkit: unhelpful exception
body: <p>I'm debugging a web app on an Android phone running webkit (browser listed as "Webkit 3.1"). I'm using <a href="http://people.apache.org/~pmuellr/weinre/docs/latest/" rel="nofollow">weinre</a> to view the console, where I'm logging debug information. </p>
  
  <p>The log messages from Android webkit are very different than in other browsers -- instead of being the normal output, most read: </p>
  
  <pre><code>[ Exception: TypeError: Result of expression 'Object.getOwnPropertyNames' [undefined] is not a function. ] 
  </code></pre>
  
  <p>I'm not sure how to interpret this message, or how to proceed debugging. </p>