Skip to content

throwIfAborted not supported in older browsers #7136

@magnusdr

Description

@magnusdr

maplibre-gl-js version: 5.18.0

browser: Just tested on Google Chrome 87. Caniuse.com states it's not supported before Google Chrome 100

Steps to Trigger Behavior

  1. Visit any of the examples on maplibre.org in a browser older than Google Chrome 100
  2. Open console, see an error like .signal.throwIfAborted is not a function (ajax.ts:186)

Seems to originate from here:

abortController.signal.throwIfAborted();

Expected Behavior

Support for older browsers. As of today, caniuse.com reports that around 5% of browsers do not support throwIfAborted

Actual Behavior

Not compatible with older browsers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions