Skip to content

Add window.clientInformation #2379

@domenic

Description

@domenic

See https://bugs.chromium.org/p/chromium/issues/detail?id=692832. Apparently this is an alias for navigator in Chrome, Edge, and Safari. It has high use counter values (0.3%), although presumably a lot of that is just code that enumerates the properties of window. Some example uses in GitHub code search.

I think this will mostly involve adding a sentence at https://html.spec.whatwg.org/#the-navigator-object saying e.g.

The clientInformation attribute of the Window interface must return the same value as the navigator attribute.

and also updating the IDL at https://html.spec.whatwg.org/#window

Marking this as a "good first bug". Another thing that first-time contributors could help with here is writing tests and submitting them to web-platform-tests; it should be a pretty simple test file, e.g. at https://github.com/w3c/web-platform-tests/tree/master/html/webappapis/system-state-and-capabilities/the-navigator-object which just contains a single assert_equals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    addition/proposalNew features or enhancementscompatStandard is not web compatible or proprietary feature needs standardizinggood first issueIdeal for someone new to a WHATWG standard or software project

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions