title: Invoking getter when window.Element.prototype.className called
body: <p>I'm trying to invoke a getter on each call to Element.className.
  I've come out with that:</p>
  
  <pre><code>Object.defineProperty(window.Element.prototype, "className", {
  
          get(value){
              console.log(value);
              debugger;
          },
          set(value){
              console.log(value);
              debugger;
          }
  
      });
  </code></pre>
  
  <p>but for some reason it doesn't work.
  when i'm calling somenode.className i'm not invoking the getter.
  any ideas?</p>