commit | 782bc5876068cd1cf97b630ef0208f5c2226f77c | [log] [tgz] |
---|---|---|
author | ager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Jan 05 12:02:17 2009 |
committer | ager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Jan 05 12:02:17 2009 |
tree | 828a5a3b234cec88f9e55581de80a5436918ae9e | |
parent | 3855a09a7d5a03b53a86ee668ac5f95fc53d9884 [diff] |
Ensure that constructor functions are created in the context of the corresponding DOMWindow. This is important for instance for XMLHttpRequests, so that they are created with the right document. If the XMLHttpRequest function is created in the context of the caller, URI resolution will be broken for the request. Review URL: http://codereview.chromium.org/17053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7542 0039d316-1c4b-4281-b951-d872f2087c98