title: IE9: hasOwnProperty trick does not work?
body: <p>It's well documented that native DOM elements in IE do not contain the hasOwnProperty() method. There are a couple of solutions to this; the most elegant of which involves accessing the hasOwnProperty() method directly in Object.prototype, like so:</p>
  
  <pre><code>Object.prototype.hasOwnProperty.call(element, name);
  </code></pre>
  
  <p>It seems to me that this no longer works in IE9. Can someone explain? Here's a <a href="http://jsfiddle.net/fHRZs/" rel="nofollow">fiddle</a> illustrating this. </p>
  
  <p>Using IE9 in Standards mode with Compatibility Mode turned off, the alert displays:</p>
  
  <pre><code>sessionStorage is supported: false
  localStorage is supported: false
  </code></pre>
  
  <p>However, after turning the Compatibility or Quirks Mode on (or using the Developer Tools to render the page using the IE8 and IE7 engines) the alert displays:</p>
  
  <pre><code>sessionStorage is supported: true
  localStorage is supported: true
  </code></pre>
  
  <p>Is there something else at work here, or is this workaround for hasOwnProperty no longer usable?</p>