mapbox / mapbox/mapbox-gl-js

CSP-directives documentation update request

Open
#6,892 3 comments 0 reactions 1 assignee View on GitHub

@mourner is already working on this.

Since Jul 9, 2021.

docs :scroll:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Capturing that https://www.mapbox.com/mapbox-gl-js/api/#csp-directives should be updated.

The `child-src` directive is recommended, but it is deprecated and yields a warning when used in chrome and firefox. The replacement for it is `worker-src`, which is not yet supported by safari and yields an error for safari.

cc @mapbox/docs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.