anchor.diff:    hooks = applyHooksTransformer(_ieHooksTransformer, hooks);
     hooks = applyHooksTransformer(_operaHooksTransformer, hooks);
     hooks = applyHooksTransformer(_safariHooksTransformer, hooks);
  +
  +  hooks = applyHooksTransformer(_fixDocumentHooksTransformer, hooks);
   
     // TODO(sra): Update ShadowDOM polyfil to use
     // [dartNativeDispatchHooksTransformer] and remove this hook.
  
positive.code:   }
  
    function prototypeForTagIE(tag) {
      if (tag == "Document") return null;  // Do not pre-patch Document.
      var constructor = window[tag];
      if (constructor == null) return null;
      return constructor.prototype;
  
negative.code:     var tag = getTag(o);
      var newTag = quickMap[tag];
      if (newTag) return newTag;
      // Patches for types which report themselves as Objects.
      if (tag == "Object") {
        if (window.DataView && (o instanceof window.DataView)) return "DataView";
  