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

Removing assert/special casing of javascript proxy queryObjectInterface #5533

Merged

Conversation

MSLaguana
Copy link
Contributor

JavaScript Proxies don't support any COM interfaces; but neither does RecyclableObject, and that doesn't assert. The default handling should be correct in this case.

Fixes OS:16539184

@MSLaguana MSLaguana requested a review from curtisman July 26, 2018 17:10
@@ -147,7 +147,6 @@ namespace Js

// proxy does not support IDispatch stuff.
virtual Var GetNamespaceParent(Js::Var aChild) { AssertMsg(false, "Shouldn't call this implementation."); return nullptr; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we remove this one as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That seems reasonable, since RecyclableObject has the same return nullptr behavior, and nothing else overrides it.

@MSLaguana MSLaguana force-pushed the removeProxyComSpecialCase branch from 9c10927 to 230070b Compare July 26, 2018 20:09
@chakrabot chakrabot merged commit 230070b into chakra-core:release/1.10 Jul 26, 2018
chakrabot pushed a commit that referenced this pull request Jul 26, 2018
… proxy queryObjectInterface

Merge pull request #5533 from MSLaguana:removeProxyComSpecialCase

JavaScript Proxies don't support any COM interfaces; but neither does RecyclableObject, and that doesn't assert. The default handling should be correct in this case.

Fixes OS:16539184
chakrabot pushed a commit that referenced this pull request Jul 26, 2018
… of javascript proxy queryObjectInterface

Merge pull request #5533 from MSLaguana:removeProxyComSpecialCase

JavaScript Proxies don't support any COM interfaces; but neither does RecyclableObject, and that doesn't assert. The default handling should be correct in this case.

Fixes OS:16539184
@MSLaguana MSLaguana deleted the removeProxyComSpecialCase branch July 26, 2018 23:05
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.

3 participants