Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raven.uninstall also restores builtin methods #449

Merged
merged 1 commit into from
Jan 6, 2016

Conversation

benvinegar
Copy link
Contributor

No description provided.

@@ -613,7 +620,7 @@ Raven.prototype = {
if (prop in xhr && Object.prototype.toString.call(xhr[prop]) === '[object Function]') {
fill(xhr, prop, function (orig) {
return self.wrap(orig);
});
}, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to also restore the XMLHttpRequest.prototype.open that was replaced.

benvinegar added a commit that referenced this pull request Jan 6, 2016
Raven.uninstall also restores builtin methods
@benvinegar benvinegar merged commit 1068a0c into master Jan 6, 2016
@benvinegar benvinegar deleted the uninstall-builtins branch January 21, 2016 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants