FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: port test_general testInstanceOf to CTS by bavulapati · Pull Request #74 · nodejs/node-api-cts · GitHub

feat: port test_general testInstanceOf to CTS - #74

Open
bavulapati wants to merge 2 commits into
nodejs:mainfrom
bavulapati:feat/port-test-general-instance-of
Open

feat: port test_general testInstanceOf to CTS#74
bavulapati wants to merge 2 commits into
nodejs:mainfrom
bavulapati:feat/port-test-general-instance-of

Conversation

Copy link
Copy Markdown
Contributor

Ports testInstanceOf.js and adds the doInstanceOf binding: napi_instanceof must agree with the instanceof operator, including when a constructor overrides Symbol.hasInstance.

Upstream guards the whole file on Symbol.hasInstance existing; dropped, since the CTS targets engines where it is guaranteed.

Stacked on #72 - review that first.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Need Triage

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL