Skip to content

Implement SaveData JavaScript API #1

@da2x

Description

@da2x

Implement the following when dom.netinfo.enabled is flipped to true in Firefox beta

if ('connection' in navigator && navigator.connection.saveData === undefined)
{
  navigator.connection.saveData = true;
  navigator.connection.dispatchEvent(new Event('change'));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions