Skip to content

Feature documentation is incomplete - only shows subset of capabilities, not all test262 results #2088

@anivar

Description

@anivar

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:

  1. Parses ALL entries from test262.properties
  2. Automatically categorizes features by type
  3. Generates comprehensive documentation showing every tested feature
  4. Updates automatically when test results change

This would provide complete transparency about Rhino's capabilities, not just selected ES features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions