If I run this javascript:
var a,b=Element.prototype; for(a in b)b[a];
Firefox gives me this error:
TypeError: Value does no
You might want to try using Object.getOwnPropertyDescriptor() in your loop instead of accessing each property directly using the key on the prototype: http://codepen.io/seraphzz/pen/aJgcr
Object.getOwnPropertyDescriptor()