firefox-devtools / firefox-devtools/profiler

Replace 3rd party libraries with proxied/CORS HTTP API requests

Open
#650 0 comments 0 reactions 0 assignees View on GitHub
code maintenance
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

Captured concern from the firefox-dev thread, to only have 1st party trusted scripts in the page at all times.

We need to review how feasible a server component is for perf.html (possibly while moving to a Mozilla-supported hosting infrastructure). CORS would be a possible fallback but still leak the user's IP.

* [x] #645 bit.ly CORS
* [x] GA CORS (aka Measurement Protocol)
* [ ] Proxy all HTTP APIs to not call 3rd party services directly

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-673)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing perf.html's existing third-party HTTP API calls and the hosting constraints described in the issue. The work is complete when those APIs are handled through a server-side proxy rather than called directly from the page, with the feasibility and hosting approach resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.