Skip to content

Page titles should reflect usage: crypto.getRandomValues instead of Crypto: getRandomValues() #8977

Open
@jakearchibald

Description

@jakearchibald

A big step forward was made in #8351, but I'd like to propose this rule to page naming:

  1. If the item is available on the global, use the name. Eg:
  2. If the item is typically reached via properties reachable from the global, use that property chain, omitting the global.
  3. If the item is an instance method/property, use the constructor name with the first set of caps lower-cased + the property name.
  4. If the item is a static method/property, use the constructor name + the property name.
  5. Otherwise, just use the name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsMDN:ProjectAnything related to larger core projects on MDNneeds decisionThe task needs consensus through discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions