-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add npm command for running a network audit
'npm run network-audit' produces a JSON file, network-audit-results.json, which contains the URL requests and 307's in the current build. it exits with non-zero status if any of the URLs in the audit are not whitelisted
- Loading branch information
1 parent
f43308a
commit 544d984
Showing
5 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = [ | ||
'https://update.googleapis.com/service/update2', // allowed because it 307's to go-updater.brave.com. should never actually connect to googleapis.com. | ||
'https://no-thanks.invalid/', // fake gaia URL | ||
'https://go-updater.brave.com/', | ||
'https://safebrowsing.brave.com/', | ||
'https://brave-core-ext.s3.brave.com/', | ||
'https://laptop-updates.brave.com/', | ||
'https://ledger.mercury.basicattentiontoken.org/', | ||
'https://balance.mercury.basicattentiontoken.org/', | ||
'https://publishers.basicattentiontoken.org/', | ||
'https://updates.bravesoftware.com/', // remove this once updates are moved to the prod environment | ||
'https://pdfjs.robwu.nl/logpdfjs' // allowed because it gets canceled in tracking protection | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters