[tor-commits] [meek/webextension] Add MDN documentation link for onBeforeSendHeaders.
dcf at torproject.org
dcf at torproject.org
Tue Feb 19 08:11:44 UTC 2019
commit 2b42ef051e92ed245cb1c8dc4f4409f0df9599d0
Author: David Fifield <david at bamsoftware.com>
Date: Mon Feb 18 15:39:57 2019 -0700
Add MDN documentation link for onBeforeSendHeaders.
---
webextension/background.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/webextension/background.js b/webextension/background.js
index 2bd0d11..664e758 100644
--- a/webextension/background.js
+++ b/webextension/background.js
@@ -180,6 +180,7 @@ async function roundtrip(request) {
try {
// Set our listener that overrides the headers for this request.
+ // https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders
browser.webRequest.onBeforeSendHeaders.addListener(
headersFn,
{"urls": ["http://*/*", "https://*/*"]},
More information about the tor-commits
mailing list