_realm(dp), "parent window");
    }, "Constructor in parent window with bad NewTarget from parent window that's a bound child window function");

    test(function() {
      var badNewTarget = child.Function.prototype.bind.call(new Function());
      badNewTarget.prototype = 7;

      var dp = Reflect.construct(child.DOMParser, [], badNewTarget);
      assert_equals(Object.getPrototypeOf(dp), DOMParser.prototype);
      assert_equals(object_realm(dp), "child window");
    }, "Constructor in child window wit