-
Notifications
You must be signed in to change notification settings - Fork 903
Open
Description
Current Documentation Problem
Rhino's feature documentation is incomplete and outdated. It only covers a small subset of ECMAScript features, while test262.properties shows we test and support hundreds of features across multiple categories.
The Real Scope
Our test262.properties file (7,500+ lines) tests:
- Built-in Objects: Array, String, Object, Map, Set, Promise, etc. with all their methods
- Language Features: async/await, arrow functions, destructuring, generators, etc.
- Annex B Features: Legacy browser compatibility features
- Internationalization: Intl.DateTimeFormat, Intl.NumberFormat, etc.
- RegExp Features: All regex capabilities and flags
Currently, none of this comprehensive testing is reflected in our documentation.
Examples from test262.properties
built-ins/Array 2816/3077 (91.52%)
built-ins/String 1154/1212 (95.21%)
built-ins/Object 3289/3410 (96.45%)
built-ins/Promise 256/639 (40.06%)
language/expressions/arrow-function 192/343 (55.98%)
annexB/built-ins 58/241 (24.07%)
intl402/DateTimeFormat 234/456 (51.32%)
Impact
Developers cannot see:
- Which specific Array methods work (map, filter, reduce, etc.)
- Which String methods are supported
- Detailed language feature support
- Internationalization capabilities
- Legacy compatibility status
Proposed Solution
Create an automated system that:
- Parses ALL entries from test262.properties
- Automatically categorizes features by type
- Generates comprehensive documentation showing every tested feature
- Updates automatically when test results change
This would provide complete transparency about Rhino's capabilities, not just selected ES features.
Metadata
Metadata
Assignees
Labels
No labels