Object.hasOwnProperty() should return true for accessors / variables / functions
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
In the attached test case, Object.hasOwnProperty() is returning false for everything in Royale (JS), but returns true in Flex for accessors / variables / functions (but not for non-existent names).
Royale: [TestObjectHasOwnProperty.mxml.txt](https://github.com/apache/royale-asjs/files/5714115/TestObjectHasOwnProperty.mxml.txt)
Flex: [TestObjectHasOwnPropertyFlex.mxml.txt](https://github.com/apache/royale-asjs/files/5714116/TestObjectHasOwnPropertyFlex.mxml.txt)
For ``this`` or other objects.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attached TestObjectHasOwnProperty.mxml.txt case and compare its results with TestObjectHasOwnPropertyFlex.mxml.txt. Verify behavior for this and other objects, including accessors, variables, functions, and nonexistent names. Done means Royale returns true for the existing members and false for nonexistent names, matching the Flex case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100