Remove dns permission for Chromium, since the asynchronous API is useless in synchronous webRequest.
This commit is contained in:
parent
59a16b9166
commit
6884feb004
4
build.sh
4
build.sh
|
@ -180,8 +180,8 @@ fi
|
||||||
grep -A2000 '"version":' "$MANIFEST_OUT") | \
|
grep -A2000 '"version":' "$MANIFEST_OUT") | \
|
||||||
# auto-update URL for the Edge version on the Microsoft Store
|
# auto-update URL for the Edge version on the Microsoft Store
|
||||||
sed -e '/"name":/a\' -e ' "update_url": "'$EDGE_UPDATE_URL'",' | \
|
sed -e '/"name":/a\' -e ' "update_url": "'$EDGE_UPDATE_URL'",' | \
|
||||||
# skip embeddingDocument.js
|
# skip embeddingDocument.js and dns permission
|
||||||
grep -v 'content/embeddingDocument.js' | \
|
grep -Pv 'content/embeddingDocument.js|"dns",' | \
|
||||||
# add "debugger" permission for patchWorkers.js
|
# add "debugger" permission for patchWorkers.js
|
||||||
sed -re 's/( *)"webRequestBlocking",/&\n\1'"$EXTRA_PERMS"'/' | \
|
sed -re 's/( *)"webRequestBlocking",/&\n\1'"$EXTRA_PERMS"'/' | \
|
||||||
# add origin fallback for content scripts
|
# add origin fallback for content scripts
|
||||||
|
|
Loading…
Reference in New Issue