mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1804687 - Allow https://example.com as a Firefox Profiler base_url. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D164231
This commit is contained in:
parent
255408cc51
commit
0a5a3ee289
@ -256,7 +256,7 @@ export function validateProfilerWebChannelUrl(targetUrl) {
|
||||
// the official frontend URL for testing.
|
||||
if (
|
||||
// Allow a test URL.
|
||||
targetUrl === "http://example.com" ||
|
||||
/^https?:\/\/example\.com$/.test(targetUrl) ||
|
||||
// Allows the following:
|
||||
// "http://localhost:4242"
|
||||
// "http://localhost:4242/"
|
||||
|
Loading…
Reference in New Issue
Block a user